Repository navigation
Two verbs, and registry routing as API primitives - #10
Merged
Merged
Conversation
install takes specs; install-manifest takes one JSON file or - for stdin and reads its dependencies map. --from is gone: one verb that took either specs or a file overloaded the argument shape. Microbe::scoped_registry and Microbe::auth set what an @scope:registry key and a credential key set; the .npmrc reader is a convenience over them.
install --from package.json looked up a package called --from and exited 1 on the 404. A manifest without a dependencies key now names the file plainly instead of calling it a packument.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
microbe install <specs> --dirandmicrobe install-manifest <file|-> --dirreplace the one verb with--from.Microbe::scoped_registryandMicrobe::authset what an@scope:registrykey and a credential key set; the.npmrcreader is a convenience over them. The npmrc test runs its assertions through both paths.--diris unchanged.The Sweep update (the new verb, the stdin form, every usage error exits 2) is a second commit held back until a push with the
workflowscope is possible.