Connector per Mobilizon ti permette di visualizzare i prossimi eventi di Mobilizon sul tuo sito WordPress. https://mobilizon.it
Go to file
Daniel Waxweiler 2b9cde92ac npm audit fix 2021-11-10 21:36:12 +01:00
.github/workflows Update codeql-analysis.yml 2021-10-26 20:39:14 +02:00
assets release version 0.6.0 2021-06-02 11:02:59 +02:00
source/connector-mobilizon add missing changelog entry 2021-11-09 22:11:49 +01:00
.eslintrc.json use webpack directly and npm scripts more in general 2021-11-09 22:10:35 +01:00
.gitignore ignore .idea folder 2021-08-15 21:26:37 +02:00
LICENSE.md create LICENSE.md 2021-07-31 16:01:23 +02:00
README.md use webpack directly and npm scripts more in general 2021-11-09 22:10:35 +01:00
composer.json first commit 2021-01-08 14:08:40 +01:00
composer.lock updated dependencies 2021-03-10 16:14:37 +01:00
gulpfile.js use webpack directly and npm scripts more in general 2021-11-09 22:10:35 +01:00
icon.afdesign add plugin icon 2021-04-20 21:19:18 +02:00
package-lock.json npm audit fix 2021-11-10 21:36:12 +01:00
package.json update dependencies graphql, luxon 2021-11-09 22:23:48 +01:00
webpack.config.js use webpack directly and npm scripts more in general 2021-11-09 22:10:35 +01: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.

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. Use a new version number and copy over the new section into readme.txt.
  2. Update package.json with the same version number.
  3. Update the package-lock.json: npm i --package-lock-only
  4. Build: npm run build-prod
  5. Determine minimum PHP version for code and update package.json if needed: ./vendor/bin/phpcompatinfo analyser:run ./source
  6. Make sure screenshots are up-to-date.
  7. Copy the built plugin into /trunk of SVN.
  8. Create a new tag of the new version: svn cp trunk tags/<version>
  9. Check the version number occurrences in both folders.
  10. Commit everything together to the release SVN: svn ci -m "release version <version>"
  11. Commit the new version in git with the same message.
  12. Tag the new version: git tag v<version>
  13. Push the new tag to the repository: git push --tags

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