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
As a: developer
I want: The bedrock-cli to be made available via NPM
So that:
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)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:
Acceptance Criteria:
bin
to the package.json that points to either a wepback compiled version ofbedrock.js
or if compiled withtsc
, point to theindex.js
mapping tosrc/index.js
Describe alternatives you've considered:
Additional context:
Does this require updates to documentation?: yes