-
Notifications
You must be signed in to change notification settings - Fork 21
Agreements
acd edited this page May 30, 2023
·
8 revisions
- Use fixed version for (external packages) dependencies or devDependencies
- Use range version (^) for peerDependencies or when referencing Spark packages
Example:
"dependencies": {
"@radix-ui/some-component": "1.0.2",
"@spark-ui/button": "^1.13.0",
"@spark-ui/internal-utils": "^1.6.0",
},
"devDependencies": {
"svgo": "3.0.2",
},
"peerDependencies": {
"react": "^16.8 || ^17.0 || ^18.0",
"react-dom": "^16.8 || ^17.0 || ^18.0",
},
- Use range version (^)
- When an update is needed, run the dedicated script:
npx storybook@latest upgrade