@raspberrypifoundation/design-system-react v2.2.0
Design System React
Usage
Using npm:
npm install @raspberrypifoundation/design-system-react
npm run storybookUsing yarn:
yarn install @raspberrypifoundation/design-system-react
yarn storybookWorking with a local version of design-system-core
Sometimes you may want to work on design-system-core and design-system-react at the same time. You can do this by working with your local version of core using npm link.
- Navigate to your local
design-system-corerepo create a global symbolic link.
npm link- In
design-system-reactremove the node_modules folder and install the application.
rm -rf node_modules && npm i- Navigate to your local
design-system-reactrepo and tell the application to use the global symbolic link. You should notice "changed 1 package" in the response.
npm link @raspberrypifoundation/design-system-coreTroubleshooting
If you are experiencing issues and believe design-system-react is not using your local version of design-system-core, or if you are running into issues running npm link, try the following:
Check that
design-system-reactanddesign-system-coreare both using the samenodejsversion in.tool_versions. If they are not, update the node version(s) in.tool_versionslocally and retry the steps above. If this was the issues / thenodejsversions are not the same, consider creating a PR to bring them in-line.Ensure that you are running the
npm linkcommand in step 3 AFTER step 2. Doing these in the wrong order will not work.
Deployment
Create a new release:
- Update the changelog, package.json (then run npm i to update package-lock.json) and commit.
- Click 'Draft a new release'
- Type the version in the dropdown and click 'Create new tag'
- Add a title and some notes about what the release contains
- Click 'Publish release' (leave 'Set as latest release' checked) and a build will be kicked off
- Add new version to
package.jsonin your app
Using Docker
TODO
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
1 year ago
11 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
12 months ago
12 months ago
11 months ago
12 months ago
10 months ago
10 months ago
10 months ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago