Skip to content

incubateur-ademe/legal-pages

Repository files navigation

Monorepo for @incubateur-ademe/legal-pages-* packages and examples

This monorepo contains the following packages:

And the following examples:

withBeta version

All pages accept a includeBetaGouv prop that will add a mention of BetaGouv to the page to discharge them from the responsibility of some elements as well as ADEME.

It is recommended to use this prop only when the site url ends with .beta.gouv.fr.

Release process

Stable

yarn changeset
yarn changeset version
NODE_ENV=production yarn build
git add --all
git commit -am "chore(release): vX.Y.Z" # Replace X.Y.Z with the version number
yarn changeset publish
git push --follow-tags

Pre release

On a new branch, run the following commands:

yarn changeset pre enter
yarn changeset
yarn changeset version
NODE_ENV=production yarn build
git add --all
git commit -am "chore(release): vX.Y.Z" # Replace X.Y.Z with the version number
yarn changeset publish
git push --follow-tags
yarn changeset pre exit