-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storybook: link ui-components dependencies
`storybook-ui-components` package always depends on the latest version of `ui-components` package and during development Storybook has to apply all local changes. To achieve this, `storybook-ui-components` installs `ui-components` package as a linked dependency so it always has latest version. Before, it relied on "next" tag that didn't work as expected and it was a reason when local installs failed.
- Loading branch information
Showing
5 changed files
with
20 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
# ui | ||
Published assets for Cockroach Labs user interfaces | ||
|
||
Commands for local setup: | ||
|
||
`npm run init` - for initial run, will install top level dependencies, package level ones, run lerna link | ||
`npm start` - run in root of the project to run dev servers for all sub packages.<br/> | ||
## Development setup | ||
- Install all dependencies with Yarn (it resolves dependencies for nested workspaces and links them if necessary) | ||
- Run `build` command for all packages to have generated assets in place (needed for `icons` and `design-tokens` workspaces) | ||
```shell | ||
yarn install && yarn lerna run build | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters