Design system from the French state - React extended version
- Build local version of the lib "dsfr-plus"
npm run build
- Delete previous version of the lib "dsfr-plus" in "example-ts" project
rm -Rf example-ts/dist
- Copy local version of the lib "dsfr-plus" into the "example-ts project"
cp -R dist example-ts
- Run "example-ts" project
npm run example-ts
@dataesr/dsfr-plus requires the DSFR (@gouvfr/dsfr ≥ 1.15), which asks you to accept its terms of use once per project:
npm create @gouvfr/dsfr@latest # creates .dsfr.yml — commit it
npm install @dataesr/dsfr-plusDSFR-plus will now try to fit with the major version of de DSFR (passing from 0.6.8 direclty to 1.15.0)
The version number follows semver.
To push in prod, run npm run deploy -- [patch|minor|major]