-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(pkg): npm pkg get/set/remove #368
Comments
ruyadorno
added a commit
to ruyadorno/arborist
that referenced
this issue
Jun 22, 2021
Removes lib/update-root-package-json.js in favor of using @npmcli/package-json for reading and modifying package.json during reify. Relates to: npm/statusboard#368
ruyadorno
added a commit
to ruyadorno/cli
that referenced
this issue
Jun 22, 2021
Refactor set-script and init to use @npmcli/package-json as a uniformed way to update and save package.json files. Relates to: npm/statusboard#368
ruyadorno
added a commit
to ruyadorno/cli
that referenced
this issue
Jun 23, 2021
Refactor set-script and init to use @npmcli/package-json as a uniformed way to update and save package.json files. Fixes: npm#3234 Relates to: npm/statusboard#368
ruyadorno
added a commit
to ruyadorno/arborist
that referenced
this issue
Jun 23, 2021
Removes lib/update-root-package-json.js in favor of using @npmcli/package-json for reading and modifying package.json during reify. Relates to: npm/statusboard#368
ruyadorno
added a commit
to ruyadorno/cli
that referenced
this issue
Jun 23, 2021
Refactor set-script and init to use @npmcli/package-json as a uniformed way to update and save package.json files. Fixes: npm#3234 Relates to: npm/statusboard#368
wraithgar
pushed a commit
to ruyadorno/cli
that referenced
this issue
Jun 23, 2021
Refactor set-script and init to use @npmcli/package-json as a uniformed way to update and save package.json files. Fixes: npm#3234 Relates to: npm/statusboard#368 PR-URL: npm#3455 Credit: @ruyadorno Close: npm#3455 Reviewed-by: @nlf
isaacs
pushed a commit
to npm/arborist
that referenced
this issue
Jun 24, 2021
Removes lib/update-root-package-json.js in favor of using @npmcli/package-json for reading and modifying package.json during reify. Relates to: npm/statusboard#368 PR-URL: #295 Credit: @ruyadorno Close: #295 Reviewed-by: @wraithgar, @nlf
ruyadorno
added a commit
to npm/cli
that referenced
this issue
Jul 2, 2021
Implements `npm pkg get|set|delete` support. It enables retrieving and modifying values in a `package.json` file of any given project. Included are the implementation based on npm/rfcs#402 along with extensive tests and user documentation. Relates to: npm/rfcs#402 Fixes: npm/statusboard#368
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Statement
Developers want an easy & standarized way of getting & modifying the contents of
package.json
through the CLIExit Criteria
npm pkg get
is implementednpm pkg set
is implementednpm pkg remove
is implementednpm set-script
Links & Resources
npm set-script
RFC which should be deprecated by this work: https://github.com/npm/rfcs/blob/latest/implemented/0016-set-script-command.mdThe text was updated successfully, but these errors were encountered: