commit | d71adc642412a96d1765614822307c5300c8d03c | [log] [tgz] |
---|---|---|
author | Dave Tu <dtu@google.com> | Tue Feb 19 20:48:39 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 19 20:48:39 2019 |
tree | 3984e1f1bfcd7ce1728f5fafd7c24149fd4515bf | |
parent | 2dae5a7c89506fefc5ad1c17e20b4008e11fa24a [diff] |
[chopsui] Update the chopsui-npm workflow and <chops-header>. * Update npm <chops-header> to newer version. * Optimize Karma config for running tests fast in CI. * Update dependencies to newest version and include webpack-*. * Remove Yarn config from package.json. * Use BSD-3-Clause license for all packages to match Chromium. * Update README.md to reflect the new bootstrap, demo, and deployment workflows. Bug: chromium:856274 Change-Id: Iab0b1f1461d5266f3321e7ffdc671444756453fe Reviewed-on: https://chromium-review.googlesource.com/c/1475942 Commit-Queue: Dave Tu <dtu@chromium.org> Reviewed-by: Tiffany Zhang <zhangtiff@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#20756} Cr-Mirrored-From: https://chromium.googlesource.com/infra/infra Cr-Mirrored-Commit: e5d4f28bd2662ca88e62ff5913d3ac5fc0292c63
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
. Each component has a separate demo URL, e.g. http://localhost:8080/demos/chops-header.htmlChopsUI 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
.