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%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2023-10-12 10:33:58 +02:00
src [TASK] Fix typo 2023-09-28 14:42:53 +02:00
.browserlistrc add browserlist configuration 2021-02-26 15:24:18 +00:00
.gitignore ignore vim files 2021-03-31 13:47:52 +02:00
.npmignore Build files are included in the node package 2021-02-11 14:55:17 +00:00
.prettierignore install and configure xo linter 2021-02-03 06:46:24 +01:00
.prettierrc config prettier to format nunjucks like html 2021-03-03 13:16:00 +00:00
CHANGELOG.md [TASK] Remove useless line in changelog 2023-10-12 10:33:58 +02:00
fractal.config.js beautify script 2021-08-18 06:50:58 +02:00
package-lock.json [TASK] Set version to 1.6.6 2023-10-12 10:31:29 +02:00
package.json [TASK] Set version to 1.6.6 2023-10-12 10:31:29 +02:00
postcss.config.js beautify script 2021-08-18 06:50:58 +02:00
README.md beautify 2021-03-31 15:40:14 +02:00
stylelint.config.js set stylelint max-empty-lines to 5 2021-08-18 10:56:34 +02:00
tailwind.config.js beautify script 2021-08-18 06:50:58 +02:00

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

  1. Update CHANGELOG.md and commit $ git commit -m "bump for version [new version]"
  2. Create a new version and generate a new tag $ npm version [new version]
  3. Push on all Git remotes $ git push GitHub && git push GitHub --tags && git push && git push --tags (adapt this command to your remotes)
  4. Deploy on gh-branches $ npm run deploy (you can do it twice to kill cache on gh-page).
  5. Publish on npmjs.com $ npm publish --tag latest