Skip to content

Commit a6d40b3

Browse files
build: release packages (#348)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 513ed8d commit a6d40b3

3 files changed

Lines changed: 16 additions & 15 deletions

File tree

.changeset/npm12-info-json-array.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

tools/e2e-cli/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# @verdaccio/e2e-cli
22

3+
## 2.10.2
4+
5+
### Patch Changes
6+
7+
- 513ed8d: fix: support npm 12 in e2e-cli
8+
9+
npm 12 wraps `npm info <pkg> --json` output in a single-element array instead of
10+
a bare object, which made the info, deprecate and install-multiple-deps tests read
11+
an `undefined` package name. Added a `normalizeInfo` helper that unwraps the array
12+
(backward-compatible with older npm).
13+
14+
Also pin `min-release-age=0` in the generated project `.npmrc` so npm 12's new
15+
release-age cooldown — if set in a developer's global `~/.npmrc` — no longer rejects
16+
the freshly published packages the tests install.
17+
318
## 2.10.1
419

520
### Patch Changes

tools/e2e-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@verdaccio/e2e-cli",
3-
"version": "2.10.1",
3+
"version": "2.10.2",
44
"type": "module",
55
"license": "MIT",
66
"description": "CLI tool to run Verdaccio e2e tests against any running registry",

0 commit comments

Comments
 (0)