mirror of
https://github.com/DSI-VD/joran-design-system.git
synced 2026-08-25 21:14:16 +00:00
Design system for publications.vd.ch | Read-only mirror of https://github.com/DSI-VD/joran-design-system — Canton de Vaud. Issues & pull requests at the source.
- CSS 80%
- JavaScript 20%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| .browserlistrc | ||
| .gitignore | ||
| .npmignore | ||
| .prettierignore | ||
| .prettierrc | ||
| CHANGELOG.md | ||
| fractal.config.js | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| stylelint.config.js | ||
| tailwind.config.js | ||
Joran Design System
Design system build for publications.vd.ch
Run locally
$ npm install
$ npm start
Deploy
To deploy the design system on https://dsi-vd.github.io/joran-design-system/, use the following commands:
$ npm install
$ npm run deploy
Changelog
All changes are documented in CHANGELOG.md file.
New version
Here's how to tag, build, publish and deploy a new version
- Update
CHANGELOG.mdand commit$ git commit -m "bump for version [new version]" - Create a new version and generate a new tag
$ npm version [new version] - Push on all Git remotes
$ git push GitHub && git push GitHub --tags && git push && git push --tags(adapt this command to your remotes) - Deploy on gh-branches
$ npm run deploy(you can do it twice to kill cache on gh-page). - Publish on npmjs.com
$ npm publish --tag latest