commit | 7a156ae972d50b47425928cfe57602ea096c4be3 | [log] [tgz] |
---|---|---|
author | Andrew Chang <andrewjc@google.com> | Tue Mar 02 22:40:10 2021 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Mar 02 22:41:03 2021 |
tree | 49570fc8a116ec4bd8911ba3e120c4807c552776 | |
parent | b43d6145432937d62c9a099a5114072f625495cd [diff] |
Update package.json to use `npx`. Also regenerated package-lock.json. Change-Id: Ib0c41a8b17801d580b49c0203bb79eee63064f28 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2729405 Reviewed-by: Tiffany Zhang <zhangtiff@chromium.org> Commit-Queue: Andrew Chang <andrewjc@google.com> Cr-Commit-Position: refs/heads/master@{#38985} GitOrigin-RevId: 7378414709b1e324d8bc6ecaa737be01a057dd94
This directory contains Web Components and JavaScript libraries 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
.