commit | 018b703e857ca3c4d7651da44d6b4ed0e7f84cb2 | [log] [tgz] |
---|---|---|
author | Weiwei Lin <weiweilin@google.com> | Sun Mar 08 22:58:05 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun Mar 08 22:58:05 2020 |
tree | 989eede1de34100c459cf947e947ac0af7852021 | |
parent | f6be31822b4e505b791c32fe6e0cbfaf018ffa86 [diff] |
[crdx] fix .d.ts files not published by lerna Change-Id: I59555820a3fb1dcd58153593823125927d7cfc74 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2089226 Reviewed-by: Tiffany Zhang <zhangtiff@chromium.org> Commit-Queue: Weiwei Lin <weiweilin@google.com> Auto-Submit: Weiwei Lin <weiweilin@google.com> Cr-Original-Commit-Position: refs/heads/master@{#29545} Cr-Mirrored-From: https://chromium.googlesource.com/infra/infra Cr-Mirrored-Commit: 7430e8ed25ec0652e58d6ceebac12bc182cfc56f
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
.