mirror of
https://github.com/dwaxweiler/connector-mobilizon
synced 2025-06-05 21:59:25 +02:00
e3f2e5b13398daf1e1d0d86838a6361c86e36f16
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
- Make sure
npmandcomposerare installed. - Run:
npm install - Run:
composer install
Development build
- Build:
npm run build-dev - Make sure to keep
changelog.txtup-to-date.
Release procedure
- Make sure
changelog.txtis up-to-date. - Create a new section with a new version number.
- Copy over the new section into
readme.txt. - Update
package.jsonwith the same version number. - Update the
package-lock.json:npm i --package-lock-only - Build:
npm run build-prod - Make sure screenshots are up-to-date.
- Copy the built plugin into
/trunkof SVN. - Create a new tag of the new version:
svn cp trunk tags/<version> - Check the version number occurrences in both folders.
- Make sure to handle exclamation and question marks in
svn status. - Commit everything together to the release SVN:
svn ci -m "release version <version>" - Commit the new version in git with the same message.
- Tag the new version:
git tag v<version> - Push the new tag to the repository:
git push --tags - Append
-nextto the version number inpackage.json. - Update the
package-lock.json:npm i --package-lock-only - 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.phpfile after creating new class:composer dump-autoload
Description
Connector per Mobilizon ti permette di visualizzare i prossimi eventi di Mobilizon sul tuo sito WordPress.
https://mobilizon.it
Readme
3.5 MiB
Languages
PHP
59.7%
JavaScript
40.3%