Backoffice moderation tool for MonComptePro
First, you need bun to be installed: https://bun.sh/
Then install dependencies with: bun install.
Run docker containers: docker compose up --wait
Then run the app: bun run scripts/dev.ts.
Then go to http://localhost:3000/.
Reset the local database with : bun run scripts/seed.ts.
Warning
This will delete all the data in the database. There is a lock in the scripts/seed.ts file to prevent production database seeding.
Run specific e2e test: bun run e2e:run test --spec="features/organizations/dinum.feature"
Hyyypertool now uses a custom changeset plugin for automated versioning and changelog generation, eliminating the need for @changesets/cli.
echo "✨ Ajout de la recherche avancée" > .release-it-changeset/$(date +%s)-feature.md
echo "🐛 Correction d'un problème d'affichage" > .release-it-changeset/$(date +%s)-bug.md
echo "💄 Simplification du parcours de connexion" > .release-it-changeset/$(date +%s)-ui.mdSee plugin documentation for more examples.
Note
Unlike @changesets/cli, this plugin uses plain markdown files without frontmatter.
Versioning is handled by @csmith/release-it-calver-plugin (CalVer format: yyyy.mm.minor).
The release process is automated via GitHub Actions:
- Go to the Hyyypertool Actions
- Click on 'Release it!'
- Run the workflow from the main branch
The release-it plugin will:
- ✅ Detect unreleased changesets in
.release-it-changeset/ - ✅ Generate changelog entries under "Changements" section
- ✅ Format changelog with Prettier
- ✅ Create git tags and releases
- ✅ Clean up consumed changeset files
Once the release is complete:
- Go to Hyyypertool Sandbox Scalingo
- Manually deploy the release branch (the branch name looks like:
release/year.month.number) - Repeat the same action in Hyyypertool production Scalingo
Finally, you need to make a summary note in the ProConnect general channel and pin the message.
If you need to bypass the automated process:
# Dry run to see what will happen
npx release-it --dry-run
# Perform manual release
npx release-itThe release process uses the @~/release-it-changeset-plugin which integrates with changesets. See the plugin documentation for detailed configuration options.
