[chopsui] v0.1.2

Bug: chromium:856274
Change-Id: I7cf1427ccf13358de40a1b3806f6a7e1ed3d03e8
Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/1493240
Auto-Submit: Dave Tu <dtu@chromium.org>
Reviewed-by: Tiffany Zhang <zhangtiff@chromium.org>
Commit-Queue: Tiffany Zhang <zhangtiff@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#20981}
Cr-Mirrored-From: https://chromium.googlesource.com/infra/infra
Cr-Mirrored-Commit: 1ae7ad5a86e3926de47df1483327071e84c86797
2 files changed
tree: 2ce1a443becce6c6b702889ce6e8d61eeda30f44
  1. demos/
  2. elements/
  3. .eslintrc.json
  4. .gitignore
  5. index.html
  6. karma.conf.js
  7. lerna.json
  8. package-lock.json
  9. package.json
  10. README.md
  11. webpack.config.js


This directory contains Web Components shared across Chrome Operations' application frontends.

Using chopsui components

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:

  1. Clone this repo with git clone.
  2. Install dependencies with npm run bootstrap.
  3. Run tests with npm test.
  4. Run demos with npm start. The demos will be at http://localhost:8080/.

Publishing packages

ChopsUI packages are published publicly on npm under the @chopsui organization. To be added to this org, please send your npm username to zhangtiff@.

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 publish, update the version number and run npx lerna publish.