Skip to content

Commit 42ab45f

Browse files
committed
Update snapshots
1 parent 03b7b57 commit 42ab45f

4 files changed

Lines changed: 20 additions & 27 deletions

File tree

tap-snapshots/test/lib/commands/config.js.test.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ exports[`test/lib/commands/config.js TAP config list --json > output matches sna
128128
"prefer-offline": false,
129129
"prefer-online": false,
130130
"prefix": "{CWD}/global",
131+
"prefix-package-name-in-title": false,
131132
"preid": "",
132133
"production": null,
133134
"progress": {PROGRESS},
@@ -311,6 +312,7 @@ prefer-dedupe = false
311312
prefer-offline = false
312313
prefer-online = false
313314
prefix = "{CWD}/global"
315+
prefix-package-name-in-title = false
314316
preid = ""
315317
production = null
316318
progress = {PROGRESS}

tap-snapshots/test/lib/commands/install.js.test.cjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ verbose stack Error: The developer of this package has specified the following t
135135
verbose stack Invalid devEngines.runtime
136136
verbose stack Invalid name "nondescript" does not match "node" for "runtime"
137137
verbose stack at Install.checkDevEngines ({CWD}/lib/base-cmd.js:247:27)
138-
verbose stack at MockNpm.execCommandClass ({CWD}/lib/npm.js:292:7)
139-
verbose stack at MockNpm.exec ({CWD}/lib/npm.js:193:9)
138+
verbose stack at MockNpm.execCommandClass ({CWD}/lib/npm.js:304:7)
139+
verbose stack at MockNpm.exec ({CWD}/lib/npm.js:205:9)
140140
error code EBADDEVENGINES
141141
error EBADDEVENGINES The developer of this package has specified the following through devEngines
142142
error EBADDEVENGINES Invalid devEngines.runtime
@@ -200,8 +200,8 @@ verbose stack Error: The developer of this package has specified the following t
200200
verbose stack Invalid devEngines.runtime
201201
verbose stack Invalid name "nondescript" does not match "node" for "runtime"
202202
verbose stack at Install.checkDevEngines ({CWD}/lib/base-cmd.js:247:27)
203-
verbose stack at MockNpm.execCommandClass ({CWD}/lib/npm.js:292:7)
204-
verbose stack at MockNpm.exec ({CWD}/lib/npm.js:193:9)
203+
verbose stack at MockNpm.execCommandClass ({CWD}/lib/npm.js:304:7)
204+
verbose stack at MockNpm.exec ({CWD}/lib/npm.js:205:9)
205205
error code EBADDEVENGINES
206206
error EBADDEVENGINES The developer of this package has specified the following through devEngines
207207
error EBADDEVENGINES Invalid devEngines.runtime
@@ -226,8 +226,8 @@ verbose stack Error: The developer of this package has specified the following t
226226
verbose stack Invalid devEngines.runtime
227227
verbose stack Invalid name "nondescript" does not match "node" for "runtime"
228228
verbose stack at Install.checkDevEngines ({CWD}/lib/base-cmd.js:247:27)
229-
verbose stack at MockNpm.execCommandClass ({CWD}/lib/npm.js:292:7)
230-
verbose stack at MockNpm.exec ({CWD}/lib/npm.js:193:9)
229+
verbose stack at MockNpm.execCommandClass ({CWD}/lib/npm.js:304:7)
230+
verbose stack at MockNpm.exec ({CWD}/lib/npm.js:205:9)
231231
error code EBADDEVENGINES
232232
error EBADDEVENGINES The developer of this package has specified the following through devEngines
233233
error EBADDEVENGINES Invalid devEngines.runtime

tap-snapshots/test/lib/commands/publish.js.test.cjs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,6 @@ Array [
262262
]
263263
`
264264

265-
exports[`test/lib/commands/publish.js TAP prioritize CLI flags over publishConfig > new package version 1`] = `
266-
+ @npmcli/test-package@1.0.0
267-
`
268-
269265
exports[`test/lib/commands/publish.js TAP public access > must match snapshot 1`] = `
270266
Array [
271267
"package: @npm/test-package@1.0.0",
@@ -288,23 +284,6 @@ exports[`test/lib/commands/publish.js TAP public access > new package version 1`
288284
+ @npm/test-package@1.0.0
289285
`
290286

291-
exports[`test/lib/commands/publish.js TAP re-loads publishConfig.registry if added during script process > new package version 1`] = `
292-
+ @npmcli/test-package@1.0.0
293-
`
294-
295-
exports[`test/lib/commands/publish.js TAP respects publishConfig.registry, runs appropriate scripts > new package version 1`] = `
296-
297-
> @npmcli/test-package@1.0.0 prepublishOnly
298-
> touch scripts-prepublishonly
299-
300-
> @npmcli/test-package@1.0.0 publish
301-
> touch scripts-publish
302-
303-
> @npmcli/test-package@1.0.0 postpublish
304-
> touch scripts-postpublish
305-
+ @npmcli/test-package@1.0.0
306-
`
307-
308287
exports[`test/lib/commands/publish.js TAP restricted access > must match snapshot 1`] = `
309288
Array [
310289
"package: @npm/test-package@1.0.0",

tap-snapshots/test/lib/docs.js.test.cjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,6 +1420,15 @@ forces non-global commands to run in the specified folder.
14201420
14211421
14221422
1423+
#### \`prefix-package-name-in-title\`
1424+
1425+
* Default: false
1426+
* Type: Boolean
1427+
1428+
If true, terminal/shell titles will be prefixed with the package name.
1429+
1430+
1431+
14231432
#### \`preid\`
14241433
14251434
* Default: ""
@@ -2371,6 +2380,7 @@ Array [
23712380
"prefer-offline",
23722381
"prefer-online",
23732382
"prefix",
2383+
"prefix-package-name-in-title",
23742384
"preid",
23752385
"production",
23762386
"progress",
@@ -2527,6 +2537,7 @@ Array [
25272537
"prefer-dedupe",
25282538
"prefer-offline",
25292539
"prefer-online",
2540+
"prefix-package-name-in-title",
25302541
"preid",
25312542
"production",
25322543
"progress",
@@ -2703,6 +2714,7 @@ Object {
27032714
"preferDedupe": false,
27042715
"preferOffline": false,
27052716
"preferOnline": false,
2717+
"prefixPackageNameInTitle": false,
27062718
"preid": "",
27072719
"progress": false,
27082720
"projectScope": "",

0 commit comments

Comments
 (0)