Skip to content

fiscozen/design_system

Repository files navigation

DESIGN SYSTEM

Development

Node.js

In order to ensure the same version of Node.js runtime is used by the developers we encourage the usage of nvm. Windows users can look at nvm-windows.

In order to install the correct version of Node.js run

nvm install
nvm use

inside the project directory.

NPM client

We handle dependencies with pnpm. Please refer to its documentation in order to install it in the local development machine.

Dependency installation

Run pnpm install.

Running tasks

Our task runner of choice is nx. In order to run tasks you can, for example

npx nx run @fiscozen/storybook:storybook // run the "storybook" task on @fiscozen/storybook package
npx nx run-many -t build // executes the "build" task on all projects
npx run affected:test // execute the "test" task only on packages that are affected in this branch vs main, and on all dependent packages

Please refer to Nx documentation for full usage explanation.