commit | 65d43f3ea0adb2a31f955c42b10ca6992b1afe13 | [log] [tgz] |
---|---|---|
author | Mostafa Draz <mdraz@google.com> | Tue Sep 06 20:39:05 2022 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Sep 06 20:39:54 2022 |
tree | cee54ad0f9f368656fc9fdf92a817e33494b4d34 | |
parent | b49d4a012abfcfe5dc61957c8830a087dd6a9a4c [diff] |
[LUCI] Bump lerna versions to 0.3.4 to fix trusted types Change-Id: I671a24fd56b93abd5dc07ebda0fc97644213949e Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/3874071 Reviewed-by: Tiffany Zhang <zhangtiff@chromium.org> Commit-Queue: Mostafa Draz <mdraz@google.com> Cr-Commit-Position: refs/heads/main@{#51339} NOKEYCHECK=True GitOrigin-RevId: 7b3fd4c4b07c7e646b163debcd1462aff5a34efa
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:
package.json
"publishConfig": { "access": "public" }
origin/main
.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 --no-git-tag-version
.