-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Comparing changes
Open a pull request
base repository: npm/cli
base: libnpmversion-v4.0.0
head repository: npm/cli
compare: libnpmversion-v4.0.1
Commits on Oct 26, 2022
-
feat: sort and quote yarn lock keys according to yarn rules (#5751)
Co-authored-by: shalvah <diakon.ng@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3dd8d68 - Browse repository at this point
Copy the full SHA 3dd8d68View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5fadd0 - Browse repository at this point
Copy the full SHA b5fadd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32bdd68 - Browse repository at this point
Copy the full SHA 32bdd68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5625274 - Browse repository at this point
Copy the full SHA 5625274View commit details -
Configuration menu - View commit details
-
Copy full SHA for de6618e - Browse repository at this point
Copy the full SHA de6618eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca93f3e - Browse repository at this point
Copy the full SHA ca93f3eView commit details
Commits on Nov 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ce6745c - Browse repository at this point
Copy the full SHA ce6745cView commit details -
fix: use hosted-git-info to parse registry urls (#5758)
Previously this was using `new URL` which would fail on some urls that `hosted-git-info` is able to parse. But if we still get a url that can't be parsed, we now set it to be removed from the tree instead of erroring. Fixes: #5278
Configuration menu - View commit details
-
Copy full SHA for 0c5834e - Browse repository at this point
Copy the full SHA 0c5834eView commit details -
chore: rewrite
scripts/
with javascriptGoals of this rewrite: - Better portability of scripts to anywhere we can run `node` and no reliance on `make` or other tools - More code inside `scripts/` and less inside of CI workflows to allow for easier local testing - Reuse the same scripts for similar workflows (eg `publish` and `smoke-publish`) Future goals: - Allow testing of `scripts` Some highlights of the new scripts: `scripts/create-node-pr.js` - This now operates on cloned copy of the base repo that is pushed to our fork, so we no longer need to manually sync our fork. - Uses the published registry tarball for as much of the PR as possible, falling back to including local files from source. This will enable for easier migration to eventually only using the tarball contents. `scripts/publish.js` - Replaces `make publish` - Will publish all workspaces that need to be published, before publishing the CLI. - Makes running tests an optional part of the script, since CI now runs the tests. - Can optionally only pack the tarball, for use in CI to test installing the tarball. `scripts/util.js` - Shared utilities for spawning commands including helpers for `npm` and `gh`. - Common interface for running, parsing args, logging, and debugging of scripts.
Configuration menu - View commit details
-
Copy full SHA for 9709ae6 - Browse repository at this point
Copy the full SHA 9709ae6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2293fb2 - Browse repository at this point
Copy the full SHA 2293fb2View commit details -
chore: remove mdx from docs build
We will be updating to mdx@2 soon which is esm only, but built in to Gatsby. Due to the new documentation build process here and in `npm/documentation`, there is much less need for us to verify all our docs here. Therefore, it is best to remove this dependency now to avoid needing to update it here at the same time as the docs site.
Configuration menu - View commit details
-
Copy full SHA for f361796 - Browse repository at this point
Copy the full SHA f361796View commit details -
Configuration menu - View commit details
-
Copy full SHA for edbbc3a - Browse repository at this point
Copy the full SHA edbbc3aView commit details -
This moves all the dependencies of the `docs/` workspace to dev deps. I had originally moved them out of devDeps as part of #5309, but this seems to go against the grain of other tooling. We would have to special case both `audit` and `licensee` to run on a custom subset of our dependency tree. Maybe one day when all tools can be piped the output of an `npm query` this will be possible. It would be nice if we could only audit dependencies that are bundled as part of the CLI. But for now it's easier to move these to devDeps and then reinstall only the docs workspace after pruning during the publish step.
Configuration menu - View commit details
-
Copy full SHA for 29a3009 - Browse repository at this point
Copy the full SHA 29a3009View commit details -
Configuration menu - View commit details
-
Copy full SHA for c09abca - Browse repository at this point
Copy the full SHA c09abcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6df246f - Browse repository at this point
Copy the full SHA 6df246fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 706b3d3 - Browse repository at this point
Copy the full SHA 706b3d3View commit details -
chore: automatically remove ignored node_modules files
Previously it would report the errors and require rerunning the script. It's been safe enough that we know automatically remove the files. We then run the `git ls-files` command again to make sure they were all removed. Only if any are left do we error with a message requiring a manual fix.
Configuration menu - View commit details
-
Copy full SHA for c0fcd27 - Browse repository at this point
Copy the full SHA c0fcd27View commit details -
chore: remove install.sh script
The readme already points to the canonical url (https://www.npmjs.com/install.sh) which is sourced from https://github.com/npm/npm-install-script so this file does not need to live in this repo anymore.
Configuration menu - View commit details
-
Copy full SHA for a90ed81 - Browse repository at this point
Copy the full SHA a90ed81View commit details
Commits on Nov 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c88c53b - Browse repository at this point
Copy the full SHA c88c53bView commit details -
deps: remove opener, @npmcli/promise-spawn@6.0.1, @npmcli/run-script@…
…5.1.1, @npmcli/git@4.0.3, pacote@15.0.5, which@3.0.0
1Configuration menu - View commit details
-
Copy full SHA for ac25863 - Browse repository at this point
Copy the full SHA ac25863View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 41843ad - Browse repository at this point
Copy the full SHA 41843adView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 8fd614a - Browse repository at this point
Copy the full SHA 8fd614aView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 205e2fd - Browse repository at this point
Copy the full SHA 205e2fdView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for abfb28b - Browse repository at this point
Copy the full SHA abfb28bView commit details -
fix: don't set
stdioString
for any spawn/run-script callsThese libraries now return strings by default which is what we always want in the CLI for error reporting. Fixes #5766
1Configuration menu - View commit details
-
Copy full SHA for 1f5382d - Browse repository at this point
Copy the full SHA 1f5382dView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 2fef570 - Browse repository at this point
Copy the full SHA 2fef570View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 5730d17 - Browse repository at this point
Copy the full SHA 5730d17View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 66f9bcd - Browse repository at this point
Copy the full SHA 66f9bcdView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 024e612 - Browse repository at this point
Copy the full SHA 024e612View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 9972ed1 - Browse repository at this point
Copy the full SHA 9972ed1View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 6b6dfca - Browse repository at this point
Copy the full SHA 6b6dfcaView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for b89c19e - Browse repository at this point
Copy the full SHA b89c19eView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for b8292d8 - Browse repository at this point
Copy the full SHA b8292d8View commit details
There are no files selected for viewing