commit | 7144f8c5802d08b8ec39c1107e5ffb1ea6daa6bd | [log] [tgz] |
---|---|---|
author | Weiwei Lin <weiweilin@google.com> | Tue Aug 18 21:22:35 2020 |
committer | Anthony Polito <apolito@google.com> | Tue Aug 18 22:21:25 2020 |
tree | 77865c5d2991d6cbe38ab24d931e4724571fb4c6 | |
parent | 254449dcf944643fd2fcbde0798b81f67b872f39 [diff] |
Copybara Service Migration Initialization. GitOrigin-RevId: fb879cf924091377573630f83de3d4094383b02d
This directory contains Web Components shared across Chrome Operations' application frontends.
Find the name of the specific component and install it within the @chopsui
package scope. For example, to install chops-header
, run npm install @chopsui/chops-header
.
To set up project development:
git clone
.npm run bootstrap
.npm test
.npm start
. The demos will be at http://localhost:8080/.ChopsUI packages are published publicly on npm under the @chopsui organization.
Each component is published under a separate npm package. Packages are managed using Lerna. All packages are published together using a single version number kept in the lerna.json
file under the version
key.
To set up:
npm adduser
.To publish a new version:
origin/master
.npx lerna version --no-git-tag-version
. Lerna will prompt you to select a new version number, detect which packages have changed since the last version, and locally update the json files.npx lerna publish from-package
.