Connector per Mobilizon ti permette di visualizzare i prossimi eventi di Mobilizon sul tuo sito WordPress. https://mobilizon.it
Go to file
Daniel Waxweiler f0e955aa47 release version 1.1.0 2024-07-18 19:19:17 +02:00
.github/workflows remove Qodana Github action 2023-11-11 20:31:50 +01:00
.husky update dependencies 2024-07-18 19:03:41 +02:00
assets release version 1.0.0 2024-04-06 08:22:26 +02:00
source release version 1.1.0 2024-07-18 19:19:17 +02:00
tests move requests to backend (#18) 2024-04-05 23:26:11 +02:00
.eslintrc.json add Gutenberg events list block 2022-06-09 20:09:08 +02:00
.gitignore move requests to backend (#18) 2024-04-05 23:26:11 +02:00
.gulp.json update dev dependencies ava, eslint, eslint-plugin-ava and migrate to ES modules 2022-01-09 12:11:24 +01:00
.prettierignore add prettier 2021-12-09 19:46:19 +01:00
.prettierrc.json add prettier 2021-12-09 19:46:19 +01:00
LICENSE.md create LICENSE.md 2021-07-31 16:01:23 +02:00
README.md mention use of GraphQL API 2024-05-13 14:23:37 +02:00
babel.config.json Merge branch 'main' into block 2021-12-14 15:33:07 +01:00
composer.json move requests to backend (#18) 2024-04-05 23:26:11 +02:00
composer.lock move requests to backend (#18) 2024-04-05 23:26:11 +02:00
gulpfile.cjs move requests to backend (#18) 2024-04-05 23:26:11 +02:00
icon.afdesign add plugin icon 2021-04-20 21:19:18 +02:00
package-lock.json release version 1.1.0 2024-07-18 19:19:17 +02:00
package.json release version 1.1.0 2024-07-18 19:19:17 +02:00
phpunit.xml move requests to backend (#18) 2024-04-05 23:26:11 +02:00
qodana.yaml remove bootstrap from qodana.yaml 2023-03-29 22:47:59 +02:00
webpack.config.cjs move requests to backend (#18) 2024-04-05 23:26:11 +02:00

README.md

Connector for Mobilizon

Connector for Mobilizon allows you to display the upcoming events of Mobilizon, which is a federated event listing platform, on your WordPress website.

More details can be found in the WordPress Plugin Directory.

The current changelog can be found under source/changelog.txt.

This plugin uses Mobilizon's GraphQL API.

Development

Setup

  1. Make sure npm and composer are installed.
  2. Run: npm install
  3. Run: composer install

Development build

  1. Build: npm run build-dev
  2. Make sure to keep changelog.txt up-to-date.

Release procedure

  1. Make sure changelog.txt is up-to-date.
  2. Create a new section with a new version number.
  3. Copy over the new section into readme.txt.
  4. Update package.json with the same version number.
  5. Update the package-lock.json: npm i --package-lock-only
  6. Build: npm run build-prod
  7. Make sure screenshots are up-to-date.
  8. Copy the built plugin into /trunk of SVN.
  9. Create a new tag of the new version: svn cp trunk tags/<version>
  10. Check the version number occurrences in both folders.
  11. Make sure to handle exclamation and question marks in svn status.
  12. Commit everything together to the release SVN: svn ci -m "release version <version>"
  13. Commit the new version in git with the same message.
  14. Tag the new version: git tag v<version>
  15. Push the new tag to the repository: git push --tags
  16. Append -next to the version number in package.json.
  17. Update the package-lock.json: npm i --package-lock-only
  18. Commit: git commit -am "prepare next release"

Other commands

  • Run ESLint: npm run eslint
  • Run JavaScript code coverage with tests: npm run coverage
  • Run tests: npm test
  • Delete build folder: npm run clean
  • Update PHP dependencies: composer update
  • Check for direct PHP dependency updates: composer outdated --direct
  • Format code with prettier: npm run format
  • Generate vendor/autoload.php file after creating new class: composer dump-autoload