bedrock-cli icon indicating copy to clipboard operation
bedrock-cli copied to clipboard

NPM module for Bedrock-CLI

Open evanlouie opened this issue 5 years ago • 0 comments

As a: developer

I want: The bedrock-cli to be made available via NPM

So that:

  • I can more easily install the bedrock-cli locally and on agents which already have Node.js installed -- this will also make installation cleaner as you can run npm install -g bedrock-cli@<some>.<semver>.<version> and have it automatically added to the PATH (and not require to download a large binary containing the entire Node.js binary)
  • I can more easily publish new releases using yarn publish, which will automatically create a release tag, push it to npm, and give the ability to push that tag back up to github.

Describe the solution you'd like:

  • Publish an NPM module for bedrock-cli

Acceptance Criteria:

  • Find out how we can add an npm module to the microsoft NPM org
  • Add an bin to the package.json that points to either a wepback compiled version of bedrock.js or if compiled with tsc, point to the index.js mapping to src/index.js
  • Push a release

Describe alternatives you've considered:

Additional context:

Does this require updates to documentation?: yes

evanlouie avatar May 12 '20 19:05 evanlouie