Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: npm/cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: libnpmversion-v4.0.0
Choose a base ref
...
head repository: npm/cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: libnpmversion-v4.0.1
Choose a head ref

Commits on Oct 26, 2022

  1. feat: sort and quote yarn lock keys according to yarn rules (#5751)

    Co-authored-by: shalvah <diakon.ng@gmail.com>
    wraithgar and shalvah authored Oct 26, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3dd8d68 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b5fadd0 View commit details
  3. deps: npm-packlist@7.0.2 (#5754)

    nlf authored Oct 26, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    32bdd68 View commit details
  4. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5625274 View commit details
  5. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    de6618e View commit details
  6. chore: release 9.0.1

    github-actions[bot] authored and nlf committed Oct 26, 2022

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    ca93f3e View commit details

Commits on Nov 1, 2022

  1. docs: fixed some typos (#5763)

    fixed some typos
    bitdaw authored Nov 1, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ce6745c View commit details
  2. 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
    lukekarrys authored Nov 1, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0c5834e View commit details
  3. chore: rewrite scripts/ with javascript

    Goals 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.
    lukekarrys authored and wraithgar committed Nov 1, 2022

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    9709ae6 View commit details
  4. chore: @npmcli/template-oss@4.7.1

    lukekarrys authored and wraithgar committed Nov 1, 2022

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    2293fb2 View commit details
  5. 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.
    lukekarrys authored and wraithgar committed Nov 1, 2022

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    f361796 View commit details
  6. chore: licensee@9.0.0

    lukekarrys authored and wraithgar committed Nov 1, 2022

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    edbbc3a View commit details
  7. chore: move doc deps to dev

    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.
    lukekarrys authored and wraithgar committed Nov 1, 2022

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    29a3009 View commit details
  8. chore: @npmcli/temlate-oss@4.8.0

    lukekarrys authored and wraithgar committed Nov 1, 2022

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    c09abca View commit details
  9. Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    6df246f View commit details
  10. Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    706b3d3 View commit details
  11. 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.
    lukekarrys authored and wraithgar committed Nov 1, 2022

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    c0fcd27 View commit details
  12. 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.
    lukekarrys authored and wraithgar committed Nov 1, 2022

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    a90ed81 View commit details

Commits on Nov 2, 2022

  1. Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    c88c53b View commit details
  2. 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
    nlf authored and wraithgar committed Nov 2, 2022
    1

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    ac25863 View commit details
  3. 1

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    41843ad View commit details
  4. 1

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    8fd614a View commit details
  5. deps: pacote@15.0.6

    lukekarrys authored and wraithgar committed Nov 2, 2022
    1

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    205e2fd View commit details
  6. deps: @npmcli/run-script@6.0.0

    lukekarrys authored and wraithgar committed Nov 2, 2022
    1

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    abfb28b View commit details
  7. fix: don't set stdioString for any spawn/run-script calls

    These libraries now return strings by default which is what we always
    want in the CLI for error reporting.
    
    Fixes #5766
    lukekarrys authored and wraithgar committed Nov 2, 2022
    1

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    1f5382d View commit details
  8. deps: node-gyp@9.3.0

    wraithgar committed Nov 2, 2022
    1

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    2fef570 View commit details
  9. deps: tar@6.1.12

    wraithgar committed Nov 2, 2022
    1

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    5730d17 View commit details
  10. deps: nopt@7.0.0

    wraithgar committed Nov 2, 2022
    1

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    66f9bcd View commit details
  11. deps: abbrev@2.0.0

    wraithgar committed Nov 2, 2022
    1

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    024e612 View commit details
  12. 1

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    9972ed1 View commit details
  13. 1

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    6b6dfca View commit details
  14. deps: cli-table3@0.6.3

    wraithgar committed Nov 2, 2022
    1

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    b89c19e View commit details
  15. chore: release 9.1.0

    github-actions[bot] authored and wraithgar committed Nov 2, 2022
    1

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    b8292d8 View commit details
Showing with 16,470 additions and 9,707 deletions.
  1. +0 −6 .eslintrc.local.json
  2. +4 −2 .github/workflows/audit.yml
  3. +0 −38 .github/workflows/ci-libnpmaccess.yml
  4. +0 −38 .github/workflows/ci-libnpmdiff.yml
  5. +0 −38 .github/workflows/ci-libnpmexec.yml
  6. +0 −38 .github/workflows/ci-libnpmfund.yml
  7. +0 −38 .github/workflows/ci-libnpmhook.yml
  8. +0 −38 .github/workflows/ci-libnpmorg.yml
  9. +0 −38 .github/workflows/ci-libnpmpack.yml
  10. +0 −38 .github/workflows/ci-libnpmpublish.yml
  11. +0 −38 .github/workflows/ci-libnpmsearch.yml
  12. +0 −38 .github/workflows/ci-libnpmteam.yml
  13. +0 −38 .github/workflows/ci-libnpmversion.yml
  14. +0 −38 .github/workflows/ci-npmcli-arborist.yml
  15. +94 −0 .github/workflows/ci-npmcli-config.yml
  16. +0 −36 .github/workflows/ci-npmcli-docs.yml
  17. +20 −25 .github/workflows/ci-release.yml
  18. +0 −38 .github/workflows/ci-smoke-tests.yml
  19. +0 −38 .github/workflows/ci.yml
  20. +0 −96 .github/workflows/create-cli-deps-pr.yml
  21. +49 −0 .github/workflows/create-node-pr.yml
  22. +7 −6 .github/workflows/release.yml
  23. +1 −3 .gitignore
  24. +9 −8 .release-please-manifest.json
  25. +1 −0 AUTHORS
  26. +56 −0 CHANGELOG.md
  27. +13 −348 DEPENDENCIES.md
  28. +0 −37 Makefile
  29. +2 −0 bin/npx-cli.js
  30. +1 −4 docs/bin/build.js
  31. +1 −11 docs/lib/build.js
  32. +1 −1 docs/lib/content/using-npm/dependency-selectors.md
  33. +1 −1 docs/lib/content/using-npm/scope.md
  34. +9 −9 docs/package.json
  35. +14 −0 lib/arborist-cmd.js
  36. +0 −1 lib/commands/ci.js
  37. +0 −1 lib/commands/explore.js
  38. +1 −1 lib/commands/init.js
  39. +0 −1 lib/commands/install.js
  40. +0 −1 lib/commands/run-script.js
  41. +15 −0 lib/npm.js
  42. +3 −3 lib/utils/config/definitions.js
  43. +2 −10 lib/utils/open-url-prompt.js
  44. +7 −11 lib/utils/open-url.js
  45. +2 −1 node_modules/.gitignore
  46. +4 −4 node_modules/@npmcli/ci-detect/package.json
  47. +1 −0 node_modules/@npmcli/config
  48. +6 −6 node_modules/@npmcli/git/package.json
  49. +4 −4 node_modules/@npmcli/installed-package-contents/package.json
  50. 0 node_modules/@npmcli/{run-script → promise-spawn}/lib/escape.js
  51. +145 −25 node_modules/@npmcli/promise-spawn/lib/index.js
  52. +6 −5 node_modules/@npmcli/promise-spawn/package.json
  53. +4 −47 node_modules/@npmcli/run-script/lib/make-spawn-args.js
  54. +1 −1 node_modules/@npmcli/run-script/lib/run-script-pkg.js
  55. +5 −5 node_modules/@npmcli/run-script/package.json
  56. +50 −0 node_modules/abbrev/lib/index.js
  57. +33 −11 node_modules/abbrev/package.json
  58. +1 −1 node_modules/cli-table3/package.json
  59. +5 −2 node_modules/cli-table3/src/cell.js
  60. +96 −0 node_modules/fastest-levenshtein/bench.js
  61. +4 −0 node_modules/fastest-levenshtein/esm/mod.d.ts
  62. +1 −0 node_modules/fastest-levenshtein/esm/mod.d.ts.map
  63. +138 −0 node_modules/fastest-levenshtein/esm/mod.js
  64. +0 −2 node_modules/fastest-levenshtein/index.d.ts
  65. +0 −147 node_modules/fastest-levenshtein/index.js
  66. +3 −0 node_modules/fastest-levenshtein/mod.d.ts
  67. +142 −0 node_modules/fastest-levenshtein/mod.js
  68. +26 −17 node_modules/fastest-levenshtein/package.json
  69. +52 −61 node_modules/fastest-levenshtein/test.js
  70. +67 −0 node_modules/fastest-levenshtein/test.ts
  71. +3 −77 node_modules/hosted-git-info/lib/from-url.js
  72. +5 −0 node_modules/hosted-git-info/lib/index.js
  73. +78 −0 node_modules/hosted-git-info/lib/parse-url.js
  74. +4 −4 node_modules/hosted-git-info/package.json
  75. +31 −12 node_modules/node-gyp/addon.gypi
  76. +24 −0 node_modules/node-gyp/gyp/pylib/gyp/__init__.py
  77. +10 −3 node_modules/node-gyp/gyp/pylib/gyp/common.py
  78. +1 −1 node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py
  79. +230 −31 node_modules/node-gyp/gyp/pylib/gyp/generator/make.py
  80. +7 −4 node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py
  81. +4 −4 node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py
  82. +7 −14 node_modules/node-gyp/gyp/pylib/gyp/input.py
  83. +1 −1 node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py
  84. +41 −0 node_modules/node-gyp/gyp/pyproject.toml
  85. +0 −2 node_modules/node-gyp/gyp/requirements_dev.txt
  86. +0 −42 node_modules/node-gyp/gyp/setup.py
  87. +1 −0 node_modules/node-gyp/gyp/test_gyp.py
  88. +1 −1 node_modules/node-gyp/gyp/tools/pretty_gyp.py
  89. +2 −0 node_modules/node-gyp/lib/build.js
  90. +45 −4 node_modules/node-gyp/lib/configure.js
  91. +5 −0 node_modules/node-gyp/lib/find-visualstudio.js
  92. +46 −0 node_modules/node-gyp/node_modules/abbrev/LICENSE
  93. 0 node_modules/{ → node-gyp/node_modules}/abbrev/abbrev.js
  94. +21 −0 node_modules/node-gyp/node_modules/abbrev/package.json
  95. +41 −39 node_modules/node-gyp/node_modules/nopt/bin/nopt.js
  96. +222 −148 node_modules/node-gyp/node_modules/nopt/lib/nopt.js
  97. +27 −8 node_modules/node-gyp/node_modules/nopt/package.json
  98. +15 −0 node_modules/node-gyp/node_modules/which/LICENSE
  99. 0 node_modules/{ → node-gyp/node_modules}/which/bin/node-which
  100. +43 −0 node_modules/node-gyp/node_modules/which/package.json
  101. 0 node_modules/{ → node-gyp/node_modules}/which/which.js
  102. +2 −2 node_modules/node-gyp/package.json
  103. +1 −1 node_modules/node-gyp/test/test-find-node-directory.js
  104. +19 −1 node_modules/node-gyp/update-gyp.py
  105. +11 −10 node_modules/nopt/package.json
  106. +7 −2 node_modules/npm-packlist/lib/index.js
  107. +3 −3 node_modules/npm-packlist/package.json
  108. +0 −47 node_modules/opener/LICENSE.txt
  109. +0 −10 node_modules/opener/bin/opener-bin.js
  110. +0 −66 node_modules/opener/lib/opener.js
  111. +0 −20 node_modules/opener/package.json
  112. +0 −1 node_modules/pacote/lib/dir.js
  113. +1 −1 node_modules/pacote/lib/util/npm.js
  114. +7 −7 node_modules/pacote/package.json
  115. +16 −9 node_modules/tar/lib/create.js
  116. +16 −10 node_modules/tar/lib/extract.js
  117. +50 −34 node_modules/tar/lib/header.js
  118. +22 −17 node_modules/tar/lib/large-numbers.js
  119. +20 −13 node_modules/tar/lib/list.js
  120. +40 −24 node_modules/tar/lib/mkdir.js
  121. +8 −4 node_modules/tar/lib/mode-fix.js
  122. +3 −2 node_modules/tar/lib/normalize-unicode.js
  123. +54 −31 node_modules/tar/lib/pack.js
  124. +74 −46 node_modules/tar/lib/parse.js
  125. +26 −18 node_modules/tar/lib/path-reservations.js
  126. +15 −8 node_modules/tar/lib/pax.js
  127. +14 −7 node_modules/tar/lib/read-entry.js
  128. +50 −27 node_modules/tar/lib/replace.js
  129. +1 −1 node_modules/tar/lib/strip-absolute-path.js
  130. +73 −44 node_modules/tar/lib/unpack.js
  131. +8 −4 node_modules/tar/lib/update.js
  132. +7 −4 node_modules/tar/lib/warn-mixin.js
  133. +44 −23 node_modules/tar/lib/write-entry.js
  134. +42 −26 node_modules/tar/package.json
  135. +52 −0 node_modules/which/bin/which.js
  136. +110 −0 node_modules/which/lib/index.js
  137. +26 −19 node_modules/which/package.json
  138. +1,284 −1,295 package-lock.json
  139. +31 −32 package.json
  140. +2 −1 release-please-config.json
  141. +34 −41 scripts/bundle-and-gitignore-deps.js
  142. +124 −0 scripts/create-node-pr.js
  143. +15 −31 scripts/dependency-graph.js
  144. +3 −17 scripts/git-dirty.js
  145. +0 −175 scripts/install.sh
  146. +0 −3 scripts/publish-tag.js
  147. +111 −0 scripts/publish.js
  148. +20 −0 scripts/rebuild.js
  149. +0 −43 scripts/release.sh
  150. +11 −0 scripts/remove-files.js
  151. +25 −0 scripts/resetdeps.js
  152. +0 −17 scripts/resetdeps.sh
  153. +0 −5 scripts/template-oss/_step-test.yml
  154. +0 −13 scripts/template-oss/audit.yml
  155. +6 −12 scripts/template-oss/ci-release.yml
  156. +28 −0 scripts/template-oss/create-node-pr.yml
  157. +6 −9 scripts/template-oss/root.js
  158. +26 −0 scripts/update-authors.js
  159. +0 −9 scripts/update-authors.sh
  160. +199 −0 scripts/util.js
  161. +3 −3 smoke-tests/package.json
  162. +0 −27 smoke-tests/tap-snapshots/test/index.js.test.cjs
  163. +1 −1 smoke-tests/test/index.js
  164. +1 −0 tap-snapshots/test/lib/commands/config.js.test.cjs
  165. +2 −2 tap-snapshots/test/lib/docs.js.test.cjs
  166. +0 −2 test/bin/windows-shims.js
  167. +2 −2 test/fixtures/sandbox.js
  168. +11 −1 test/index.js
  169. +12 −2 test/lib/arborist-cmd.js
  170. +23 −20 test/lib/commands/edit.js
  171. +6 −0 test/lib/commands/explain.js
  172. +6 −0 test/lib/commands/install-ci-test.js
  173. +6 −0 test/lib/commands/install-test.js
  174. +75 −0 test/lib/commands/install.js
  175. +1 −0 test/lib/commands/ls.js
  176. +7 −11 test/lib/commands/restart.js
  177. +0 −9 test/lib/commands/run-script.js
  178. +1 −0 test/lib/commands/set.js
  179. +7 −9 test/lib/commands/start.js
  180. +7 −8 test/lib/commands/stop.js
  181. +7 −8 test/lib/commands/test.js
  182. +8 −2 test/lib/utils/config/definitions.js
  183. +9 −4 test/lib/utils/open-url-prompt.js
  184. +9 −4 test/lib/utils/open-url.js
  185. +23 −0 workspaces/arborist/CHANGELOG.md
  186. +0 −1 workspaces/arborist/lib/arborist/rebuild.js
  187. +20 −7 workspaces/arborist/lib/arborist/reify.js
  188. +41 −13 workspaces/arborist/lib/yarn-lock.js
  189. +6 −5 workspaces/arborist/package.json
  190. +7 −8 workspaces/arborist/tap-snapshots/test/arborist/rebuild.js.test.cjs
  191. +8 −8 workspaces/arborist/tap-snapshots/test/arborist/reify.js.test.cjs
  192. +2,564 −2,564 workspaces/arborist/tap-snapshots/test/shrinkwrap.js.test.cjs
  193. +2,785 −2,782 workspaces/arborist/tap-snapshots/test/yarn-lock.js.test.cjs
  194. +0 −1 workspaces/arborist/test/arborist/rebuild.js
  195. +78 −2 workspaces/arborist/test/arborist/reify.js
  196. +3 −0 workspaces/arborist/test/fixtures/yarn-stuff/yarn.lock
  197. +5 −5 workspaces/arborist/test/yarn-lock.js
  198. +17 −0 workspaces/config/.eslintrc.js
  199. +21 −0 workspaces/config/.gitignore
  200. +145 −0 workspaces/config/CHANGELOG.md
  201. 0 {node_modules/@npmcli → workspaces}/config/LICENSE
  202. +260 −0 workspaces/config/README.md
  203. 0 {node_modules/@npmcli → workspaces}/config/lib/env-replace.js
  204. 0 {node_modules/@npmcli → workspaces}/config/lib/errors.js
  205. 0 {node_modules/@npmcli → workspaces}/config/lib/index.js
  206. 0 {node_modules/@npmcli → workspaces}/config/lib/nerf-dart.js
  207. 0 {node_modules/@npmcli → workspaces}/config/lib/parse-field.js
  208. 0 {node_modules/@npmcli → workspaces}/config/lib/set-envs.js
  209. 0 {node_modules/@npmcli → workspaces}/config/lib/type-defs.js
  210. 0 {node_modules/@npmcli → workspaces}/config/lib/type-description.js
  211. 0 {node_modules/@npmcli → workspaces}/config/lib/umask.js
  212. +1 −0 workspaces/config/map.js
  213. +8 −7 {node_modules/@npmcli → workspaces}/config/package.json
  214. +43 −0 workspaces/config/scripts/example.js
  215. +240 −0 workspaces/config/tap-snapshots/test/index.js.test.cjs
  216. +449 −0 workspaces/config/tap-snapshots/test/type-description.js.test.cjs
  217. +13 −0 workspaces/config/test/env-replace.js
  218. +32 −0 workspaces/config/test/fixtures/cafile
  219. +143 −0 workspaces/config/test/fixtures/defaults.js
  220. +2,609 −0 workspaces/config/test/fixtures/definitions.js
  221. +33 −0 workspaces/config/test/fixtures/flatten.js
  222. +41 −0 workspaces/config/test/fixtures/shorthands.js
  223. +151 −0 workspaces/config/test/fixtures/types.js
  224. +1,295 −0 workspaces/config/test/index.js
  225. +44 −0 workspaces/config/test/nerf-dart.js
  226. +36 −0 workspaces/config/test/parse-field.js
  227. +212 −0 workspaces/config/test/set-envs.js
  228. +22 −0 workspaces/config/test/type-defs.js
  229. +14 −0 workspaces/config/test/type-description.js
  230. +2 −2 workspaces/libnpmaccess/package.json
  231. +12 −0 workspaces/libnpmdiff/CHANGELOG.md
  232. +4 −4 workspaces/libnpmdiff/package.json
  233. +19 −0 workspaces/libnpmexec/CHANGELOG.md
  234. +0 −1 workspaces/libnpmexec/lib/run-script.js
  235. +6 −6 workspaces/libnpmexec/package.json
  236. +12 −0 workspaces/libnpmfund/CHANGELOG.md
  237. +4 −4 workspaces/libnpmfund/package.json
  238. +2 −2 workspaces/libnpmhook/package.json
  239. +2 −2 workspaces/libnpmorg/package.json
  240. +17 −0 workspaces/libnpmpack/CHANGELOG.md
  241. +5 −5 workspaces/libnpmpack/package.json
  242. +9 −18 workspaces/libnpmpack/test/index.js
  243. +12 −0 workspaces/libnpmpublish/CHANGELOG.md
  244. +4 −4 workspaces/libnpmpublish/package.json
  245. +2 −2 workspaces/libnpmsearch/package.json
  246. +2 −2 workspaces/libnpmteam/package.json
  247. +10 −0 workspaces/libnpmversion/CHANGELOG.md
  248. +4 −4 workspaces/libnpmversion/package.json
6 changes: 0 additions & 6 deletions .eslintrc.local.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
{
"ignorePatterns": [
"docs/",
"workspaces/*"
],
"rules": {
"no-shadow": "off",
"no-console": "error"
},
"overrides": [{
"files": [
"scripts/**",
"bin/**",
"test/**"
],
"rules": {
6 changes: 4 additions & 2 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -30,5 +30,7 @@ jobs:
cache: npm
- name: Reset Deps
run: node . run resetdeps -- --package-lock
- name: Run Audit
run: node . audit -iwr -w workspaces
- name: Run Production Audit
run: node . audit --omit=dev
- name: Run Full Audit
run: node . audit --audit-level=none
38 changes: 0 additions & 38 deletions .github/workflows/ci-libnpmaccess.yml
Original file line number Diff line number Diff line change
@@ -18,39 +18,6 @@ on:
- cron: "0 9 * * 1"

jobs:
engines:
name: Engines - ${{ matrix.platform.name }} - ${{ matrix.node-version }}
if: github.repository_owner == 'npm'
strategy:
fail-fast: false
matrix:
platform:
- name: Linux
os: ubuntu-latest
shell: bash
node-version:
- 14.17.0
- 16.13.0
- 18.0.0
runs-on: ${{ matrix.platform.os }}
defaults:
run:
shell: ${{ matrix.platform.shell }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Git User
run: |
git config --global user.email "npm-cli+bot@github.com"
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Reset Deps
run: node . run resetdeps -- --engines-strict

lint:
name: Lint
if: github.repository_owner == 'npm'
@@ -118,11 +85,6 @@ jobs:
cache: npm
- name: Reset Deps
run: node . run resetdeps
- name: Link
if: matrix
run: node . link -f --ignore-scripts
- name: Rebuild cmark-gfm
run: node . rebuild cmark-gfm
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
38 changes: 0 additions & 38 deletions .github/workflows/ci-libnpmdiff.yml
Original file line number Diff line number Diff line change
@@ -18,39 +18,6 @@ on:
- cron: "0 9 * * 1"

jobs:
engines:
name: Engines - ${{ matrix.platform.name }} - ${{ matrix.node-version }}
if: github.repository_owner == 'npm'
strategy:
fail-fast: false
matrix:
platform:
- name: Linux
os: ubuntu-latest
shell: bash
node-version:
- 14.17.0
- 16.13.0
- 18.0.0
runs-on: ${{ matrix.platform.os }}
defaults:
run:
shell: ${{ matrix.platform.shell }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Git User
run: |
git config --global user.email "npm-cli+bot@github.com"
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Reset Deps
run: node . run resetdeps -- --engines-strict

lint:
name: Lint
if: github.repository_owner == 'npm'
@@ -118,11 +85,6 @@ jobs:
cache: npm
- name: Reset Deps
run: node . run resetdeps
- name: Link
if: matrix
run: node . link -f --ignore-scripts
- name: Rebuild cmark-gfm
run: node . rebuild cmark-gfm
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
38 changes: 0 additions & 38 deletions .github/workflows/ci-libnpmexec.yml
Original file line number Diff line number Diff line change
@@ -18,39 +18,6 @@ on:
- cron: "0 9 * * 1"

jobs:
engines:
name: Engines - ${{ matrix.platform.name }} - ${{ matrix.node-version }}
if: github.repository_owner == 'npm'
strategy:
fail-fast: false
matrix:
platform:
- name: Linux
os: ubuntu-latest
shell: bash
node-version:
- 14.17.0
- 16.13.0
- 18.0.0
runs-on: ${{ matrix.platform.os }}
defaults:
run:
shell: ${{ matrix.platform.shell }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Git User
run: |
git config --global user.email "npm-cli+bot@github.com"
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Reset Deps
run: node . run resetdeps -- --engines-strict

lint:
name: Lint
if: github.repository_owner == 'npm'
@@ -118,11 +85,6 @@ jobs:
cache: npm
- name: Reset Deps
run: node . run resetdeps
- name: Link
if: matrix
run: node . link -f --ignore-scripts
- name: Rebuild cmark-gfm
run: node . rebuild cmark-gfm
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
38 changes: 0 additions & 38 deletions .github/workflows/ci-libnpmfund.yml
Original file line number Diff line number Diff line change
@@ -18,39 +18,6 @@ on:
- cron: "0 9 * * 1"

jobs:
engines:
name: Engines - ${{ matrix.platform.name }} - ${{ matrix.node-version }}
if: github.repository_owner == 'npm'
strategy:
fail-fast: false
matrix:
platform:
- name: Linux
os: ubuntu-latest
shell: bash
node-version:
- 14.17.0
- 16.13.0
- 18.0.0
runs-on: ${{ matrix.platform.os }}
defaults:
run:
shell: ${{ matrix.platform.shell }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Git User
run: |
git config --global user.email "npm-cli+bot@github.com"
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Reset Deps
run: node . run resetdeps -- --engines-strict

lint:
name: Lint
if: github.repository_owner == 'npm'
@@ -118,11 +85,6 @@ jobs:
cache: npm
- name: Reset Deps
run: node . run resetdeps
- name: Link
if: matrix
run: node . link -f --ignore-scripts
- name: Rebuild cmark-gfm
run: node . rebuild cmark-gfm
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
38 changes: 0 additions & 38 deletions .github/workflows/ci-libnpmhook.yml
Original file line number Diff line number Diff line change
@@ -18,39 +18,6 @@ on:
- cron: "0 9 * * 1"

jobs:
engines:
name: Engines - ${{ matrix.platform.name }} - ${{ matrix.node-version }}
if: github.repository_owner == 'npm'
strategy:
fail-fast: false
matrix:
platform:
- name: Linux
os: ubuntu-latest
shell: bash
node-version:
- 14.17.0
- 16.13.0
- 18.0.0
runs-on: ${{ matrix.platform.os }}
defaults:
run:
shell: ${{ matrix.platform.shell }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Git User
run: |
git config --global user.email "npm-cli+bot@github.com"
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Reset Deps
run: node . run resetdeps -- --engines-strict

lint:
name: Lint
if: github.repository_owner == 'npm'
@@ -118,11 +85,6 @@ jobs:
cache: npm
- name: Reset Deps
run: node . run resetdeps
- name: Link
if: matrix
run: node . link -f --ignore-scripts
- name: Rebuild cmark-gfm
run: node . rebuild cmark-gfm
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
38 changes: 0 additions & 38 deletions .github/workflows/ci-libnpmorg.yml
Original file line number Diff line number Diff line change
@@ -18,39 +18,6 @@ on:
- cron: "0 9 * * 1"

jobs:
engines:
name: Engines - ${{ matrix.platform.name }} - ${{ matrix.node-version }}
if: github.repository_owner == 'npm'
strategy:
fail-fast: false
matrix:
platform:
- name: Linux
os: ubuntu-latest
shell: bash
node-version:
- 14.17.0
- 16.13.0
- 18.0.0
runs-on: ${{ matrix.platform.os }}
defaults:
run:
shell: ${{ matrix.platform.shell }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Git User
run: |
git config --global user.email "npm-cli+bot@github.com"
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Reset Deps
run: node . run resetdeps -- --engines-strict

lint:
name: Lint
if: github.repository_owner == 'npm'
@@ -118,11 +85,6 @@ jobs:
cache: npm
- name: Reset Deps
run: node . run resetdeps
- name: Link
if: matrix
run: node . link -f --ignore-scripts
- name: Rebuild cmark-gfm
run: node . rebuild cmark-gfm
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
38 changes: 0 additions & 38 deletions .github/workflows/ci-libnpmpack.yml
Original file line number Diff line number Diff line change
@@ -18,39 +18,6 @@ on:
- cron: "0 9 * * 1"

jobs:
engines:
name: Engines - ${{ matrix.platform.name }} - ${{ matrix.node-version }}
if: github.repository_owner == 'npm'
strategy:
fail-fast: false
matrix:
platform:
- name: Linux
os: ubuntu-latest
shell: bash
node-version:
- 14.17.0
- 16.13.0
- 18.0.0
runs-on: ${{ matrix.platform.os }}
defaults:
run:
shell: ${{ matrix.platform.shell }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Git User
run: |
git config --global user.email "npm-cli+bot@github.com"
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Reset Deps
run: node . run resetdeps -- --engines-strict

lint:
name: Lint
if: github.repository_owner == 'npm'
@@ -118,11 +85,6 @@ jobs:
cache: npm
- name: Reset Deps
run: node . run resetdeps
- name: Link
if: matrix
run: node . link -f --ignore-scripts
- name: Rebuild cmark-gfm
run: node . rebuild cmark-gfm
- name: Add Problem Matcher
run: echo "::add-matcher::.github/matchers/tap.json"
- name: Test
Loading