New issue
Advanced search Search tips

Issue 856274 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Register chopsui as an npm or yarn package

Project Member Reported by qyears...@chromium.org, Jun 25 2018

Issue description

Bower is deprecated, and in general in the future it appears that it's recommended to use package.json and tools like npm install to install third-party packages. Polymer 3 and lit-element are registered as npm packages, and it appears that the recommended way of installing packages for new projects is npm install or maybe yarn.

This seems to required:
 - add a package.json metadata file,
 - decide on an npm account to use for updating versions,
 - upload initial version
 - update the README with instructions on updating versions

https://docs.npmjs.com/getting-started/publishing-npm-packages
 
Owner: zhangtiff@chromium.org
Status: Assigned (was: Untriaged)
This is related to bug 852887; I just realized that this has already been started in https://chromium-review.googlesource.com/c/infra/infra/+/1108482, feel free to merge this bug or keep this as a separate bug.
Cc: zhangtiff@google.com
Cc: -zhangtiff@google.com -zhangtiff@chromium.org
Cc: zhangtiff@chromium.org
Project Member

Comment 5 by bugdroid1@chromium.org, Nov 26

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra/+/d39f093a0b94b969cd0fb512d0cc7b092e6e2b4e

commit d39f093a0b94b969cd0fb512d0cc7b092e6e2b4e
Author: Tiff Zhang <zhangtiff@google.com>
Date: Mon Nov 26 19:15:52 2018

ChopsUI: Initial directory setup for writing ChopsUI elements in lit-element.

Next steps:

- File a request to mirror this directory to a Git repo with Gsubstreed.
- Figure out how to demo and test lit-element components.
- Register ChopsUI components as NPM packages.

Bug: 856274
Change-Id: Ie30cad02e6a002ab2e15ee96ae6ab4ad83bed504
Reviewed-on: https://chromium-review.googlesource.com/c/1347301
Reviewed-by: Sean McCullough <seanmccullough@chromium.org>
Reviewed-by: Prasad Vuppalapu <prasadv@chromium.org>
Commit-Queue: Tiffany Zhang <zhangtiff@chromium.org>
Cr-Commit-Position: refs/heads/master@{#19155}
[add] https://crrev.com/d39f093a0b94b969cd0fb512d0cc7b092e6e2b4e/crdx/chopsui-npm/.eslintrc.json
[add] https://crrev.com/d39f093a0b94b969cd0fb512d0cc7b092e6e2b4e/crdx/chopsui-npm/lerna.json
[add] https://crrev.com/d39f093a0b94b969cd0fb512d0cc7b092e6e2b4e/crdx/chopsui-npm/package-lock.json
[add] https://crrev.com/d39f093a0b94b969cd0fb512d0cc7b092e6e2b4e/crdx/chopsui-npm/.gitignore
[add] https://crrev.com/d39f093a0b94b969cd0fb512d0cc7b092e6e2b4e/crdx/chopsui-npm/package.json

Sign in to add a comment