diff options
author | Gar <gar+gh@danger.computer> | 2021-08-26 16:49:52 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-08-26 16:52:27 +0300 |
commit | 145f70cc1b78dee4ffa53f557fa72d0948696839 (patch) | |
tree | 144b91ba46eb74aad377226e4bb143313986ed4a /tap-snapshots/test | |
parent | 957fa604035992285572f63c38545eea86bbb1ff (diff) |
read-package-json@4.0.1
* fix: Add gitHead in subdirectories too
* fix(man): don't resolve paths to man files
Diffstat (limited to 'tap-snapshots/test')
-rw-r--r-- | tap-snapshots/test/lib/publish.js.test.cjs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tap-snapshots/test/lib/publish.js.test.cjs b/tap-snapshots/test/lib/publish.js.test.cjs index 7a7502e02..2c26efacd 100644 --- a/tap-snapshots/test/lib/publish.js.test.cjs +++ b/tap-snapshots/test/lib/publish.js.test.cjs @@ -15,6 +15,7 @@ exports[`test/lib/publish.js TAP private workspaces colorless > should publish a Array [ Object { "_id": "@npmcli/b@1.0.0", + "gitHead": "718c3e56033b930c016b1f2022597e8af4af0f79", "name": "@npmcli/b", "readme": "ERROR: No README data found!", "version": "1.0.0", @@ -32,6 +33,7 @@ exports[`test/lib/publish.js TAP private workspaces with color > should publish Array [ Object { "_id": "@npmcli/b@1.0.0", + "gitHead": "718c3e56033b930c016b1f2022597e8af4af0f79", "name": "@npmcli/b", "readme": "ERROR: No README data found!", "version": "1.0.0", @@ -70,6 +72,7 @@ exports[`test/lib/publish.js TAP workspaces all workspaces > should publish all Array [ Object { "_id": "workspace-a@1.2.3-a", + "gitHead": "718c3e56033b930c016b1f2022597e8af4af0f79", "name": "workspace-a", "readme": "ERROR: No README data found!", "repository": Object { @@ -83,6 +86,7 @@ Array [ "bugs": Object { "url": "https://github.com/npm/workspace-b/issues", }, + "gitHead": "718c3e56033b930c016b1f2022597e8af4af0f79", "homepage": "https://github.com/npm/workspace-b#readme", "name": "workspace-b", "readme": "ERROR: No README data found!", @@ -94,6 +98,7 @@ Array [ }, Object { "_id": "workspace-n@1.2.3-n", + "gitHead": "718c3e56033b930c016b1f2022597e8af4af0f79", "name": "workspace-n", "readme": "ERROR: No README data found!", "version": "1.2.3-n", @@ -123,6 +128,7 @@ exports[`test/lib/publish.js TAP workspaces json > should publish all workspaces Array [ Object { "_id": "workspace-a@1.2.3-a", + "gitHead": "718c3e56033b930c016b1f2022597e8af4af0f79", "name": "workspace-a", "readme": "ERROR: No README data found!", "repository": Object { @@ -136,6 +142,7 @@ Array [ "bugs": Object { "url": "https://github.com/npm/workspace-b/issues", }, + "gitHead": "718c3e56033b930c016b1f2022597e8af4af0f79", "homepage": "https://github.com/npm/workspace-b#readme", "name": "workspace-b", "readme": "ERROR: No README data found!", @@ -147,6 +154,7 @@ Array [ }, Object { "_id": "workspace-n@1.2.3-n", + "gitHead": "718c3e56033b930c016b1f2022597e8af4af0f79", "name": "workspace-n", "readme": "ERROR: No README data found!", "version": "1.2.3-n", @@ -164,6 +172,7 @@ exports[`test/lib/publish.js TAP workspaces one workspace > should publish given Array [ Object { "_id": "workspace-a@1.2.3-a", + "gitHead": "718c3e56033b930c016b1f2022597e8af4af0f79", "name": "workspace-a", "readme": "ERROR: No README data found!", "repository": Object { |