Debian Codegraph @

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

raw
1 /* IMPORTANT
2 * This snapshot file is auto-generated, but designed for humans.
3 * It should be checked into source control and tracked carefully.
4 * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
5 * Make sure to inspect the output below. Do not ignore changes!
6 */
7 'use strict'
8 exports[`test/lib/npm.js TAP npm.load workspace-aware configs and commands > should exec workspaces version of commands 1`] = `
9 Lifecycle scripts included in [email protected]:
10 test
11 echo test a
12
13 Lifecycle scripts included in [email protected]:
14 test
15 echo test b
16 `
17
18 exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 0 > must match snapshot 1`] = `
19 npm <command>
20
21 Usage:
22
23 npm install install all the dependencies in your project
24 npm install <foo> add the <foo> dependency to your project
25 npm test run this project's tests
26 npm run <foo> run the script named <foo>
27 npm <command> -h quick help on <command>
28 npm -l display usage info for all commands
29 npm help <term> search for help on <term>
30 npm help npm more involved overview
31
32 All commands:
33
34 access, adduser, approve-scripts, audit, bugs, cache, ci,
35 completion, config, dedupe, deny-scripts, deprecate, diff,
36 dist-tag, docs, doctor, edit, exec, explain, explore,
37 find-dupes, fund, get, help, help-search, init, install,
38 install-ci-test, install-test, link, ll, login, logout, ls,
39 org, outdated, owner, pack, ping, pkg, prefix, profile,
40 prune, publish, query, rebuild, repo, restart, root, run,
41 sbom, search, set, shrinkwrap, stage, star, stars, start,
42 stop, team, test, token, trust, undeprecate, uninstall,
43 unpublish, unstar, update, version, view, whoami
44
45 Specify configs in the ini-formatted file:
46 {USERCONFIG}
47 or on the command line via: npm <command> --key=value
48
49 More configuration info: npm help config
50 Configuration fields: npm help 7 config
51
52 npm@{VERSION} {NPMROOT}
53 `
54
55 exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 1 > must match snapshot 1`] = `
56 npm <command>
57
58 Usage:
59
60 npm install install all the dependencies in your project
61 npm install <foo> add the <foo> dependency to your project
62 npm test run this project's tests
63 npm run <foo> run the script named <foo>
64 npm <command> -h quick help on <command>
65 npm -l display usage info for all commands
66 npm help <term> search for help on <term>
67 npm help npm more involved overview
68
69 All commands:
70
71 access, adduser,
72 approve-scripts, audit,
73 bugs, cache, ci,
74 completion, config,
75 dedupe, deny-scripts,
76 deprecate, diff,
77 dist-tag, docs, doctor,
78 edit, exec, explain,
79 explore, find-dupes,
80 fund, get, help,
81 help-search, init,
82 install,
83 install-ci-test,
84 install-test, link, ll,
85 login, logout, ls, org,
86 outdated, owner, pack,
87 ping, pkg, prefix,
88 profile, prune, publish,
89 query, rebuild, repo,
90 restart, root, run,
91 sbom, search, set,
92 shrinkwrap, stage, star,
93 stars, start, stop,
94 team, test, token,
95 trust, undeprecate,
96 uninstall, unpublish,
97 unstar, update, version,
98 view, whoami
99
100 Specify configs in the ini-formatted file:
101 {USERCONFIG}
102 or on the command line via: npm <command> --key=value
103
104 More configuration info: npm help config
105 Configuration fields: npm help 7 config
106
107 npm@{VERSION} {NPMROOT}
108 `
109
110 exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 10 > must match snapshot 1`] = `
111 npm <command>
112
113 Usage:
114
115 npm install install all the dependencies in your project
116 npm install <foo> add the <foo> dependency to your project
117 npm test run this project's tests
118 npm run <foo> run the script named <foo>
119 npm <command> -h quick help on <command>
120 npm -l display usage info for all commands
121 npm help <term> search for help on <term>
122 npm help npm more involved overview
123
124 All commands:
125
126 access, adduser,
127 approve-scripts, audit,
128 bugs, cache, ci,
129 completion, config,
130 dedupe, deny-scripts,
131 deprecate, diff,
132 dist-tag, docs, doctor,
133 edit, exec, explain,
134 explore, find-dupes,
135 fund, get, help,
136 help-search, init,
137 install,
138 install-ci-test,
139 install-test, link, ll,
140 login, logout, ls, org,
141 outdated, owner, pack,
142 ping, pkg, prefix,
143 profile, prune, publish,
144 query, rebuild, repo,
145 restart, root, run,
146 sbom, search, set,
147 shrinkwrap, stage, star,
148 stars, start, stop,
149 team, test, token,
150 trust, undeprecate,
151 uninstall, unpublish,
152 unstar, update, version,
153 view, whoami
154
155 Specify configs in the ini-formatted file:
156 {USERCONFIG}
157 or on the command line via: npm <command> --key=value
158
159 More configuration info: npm help config
160 Configuration fields: npm help 7 config
161
162 npm@{VERSION} {NPMROOT}
163 `
164
165 exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 100 > must match snapshot 1`] = `
166 npm <command>
167
168 Usage:
169
170 npm install install all the dependencies in your project
171 npm install <foo> add the <foo> dependency to your project
172 npm test run this project's tests
173 npm run <foo> run the script named <foo>
174 npm <command> -h quick help on <command>
175 npm -l display usage info for all commands
176 npm help <term> search for help on <term>
177 npm help npm more involved overview
178
179 All commands:
180
181 access, adduser, approve-scripts, audit, bugs, cache, ci,
182 completion, config, dedupe, deny-scripts, deprecate, diff,
183 dist-tag, docs, doctor, edit, exec, explain, explore,
184 find-dupes, fund, get, help, help-search, init, install,
185 install-ci-test, install-test, link, ll, login, logout, ls,
186 org, outdated, owner, pack, ping, pkg, prefix, profile,
187 prune, publish, query, rebuild, repo, restart, root, run,
188 sbom, search, set, shrinkwrap, stage, star, stars, start,
189 stop, team, test, token, trust, undeprecate, uninstall,
190 unpublish, unstar, update, version, view, whoami
191
192 Specify configs in the ini-formatted file:
193 {USERCONFIG}
194 or on the command line via: npm <command> --key=value
195
196 More configuration info: npm help config
197 Configuration fields: npm help 7 config
198
199 npm@{VERSION} {NPMROOT}
200 `
201
202 exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 24 > must match snapshot 1`] = `
203 npm <command>
204
205 Usage:
206
207 npm install install all the dependencies in your project
208 npm install <foo> add the <foo> dependency to your project
209 npm test run this project's tests
210 npm run <foo> run the script named <foo>
211 npm <command> -h quick help on <command>
212 npm -l display usage info for all commands
213 npm help <term> search for help on <term>
214 npm help npm more involved overview
215
216 All commands:
217
218 access, adduser,
219 approve-scripts, audit,
220 bugs, cache, ci,
221 completion, config,
222 dedupe, deny-scripts,
223 deprecate, diff,
224 dist-tag, docs, doctor,
225 edit, exec, explain,
226 explore, find-dupes,
227 fund, get, help,
228 help-search, init,
229 install,
230 install-ci-test,
231 install-test, link, ll,
232 login, logout, ls, org,
233 outdated, owner, pack,
234 ping, pkg, prefix,
235 profile, prune, publish,
236 query, rebuild, repo,
237 restart, root, run,
238 sbom, search, set,
239 shrinkwrap, stage, star,
240 stars, start, stop,
241 team, test, token,
242 trust, undeprecate,
243 uninstall, unpublish,
244 unstar, update, version,
245 view, whoami
246
247 Specify configs in the ini-formatted file:
248 {USERCONFIG}
249 or on the command line via: npm <command> --key=value
250
251 More configuration info: npm help config
252 Configuration fields: npm help 7 config
253
254 npm@{VERSION} {NPMROOT}
255 `
256
257 exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 40 > must match snapshot 1`] = `
258 npm <command>
259
260 Usage:
261
262 npm install install all the dependencies in your project
263 npm install <foo> add the <foo> dependency to your project
264 npm test run this project's tests
265 npm run <foo> run the script named <foo>
266 npm <command> -h quick help on <command>
267 npm -l display usage info for all commands
268 npm help <term> search for help on <term>
269 npm help npm more involved overview
270
271 All commands:
272
273 access, adduser,
274 approve-scripts, audit,
275 bugs, cache, ci,
276 completion, config,
277 dedupe, deny-scripts,
278 deprecate, diff,
279 dist-tag, docs, doctor,
280 edit, exec, explain,
281 explore, find-dupes,
282 fund, get, help,
283 help-search, init,
284 install,
285 install-ci-test,
286 install-test, link, ll,
287 login, logout, ls, org,
288 outdated, owner, pack,
289 ping, pkg, prefix,
290 profile, prune, publish,
291 query, rebuild, repo,
292 restart, root, run,
293 sbom, search, set,
294 shrinkwrap, stage, star,
295 stars, start, stop,
296 team, test, token,
297 trust, undeprecate,
298 uninstall, unpublish,
299 unstar, update, version,
300 view, whoami
301
302 Specify configs in the ini-formatted file:
303 {USERCONFIG}
304 or on the command line via: npm <command> --key=value
305
306 More configuration info: npm help config
307 Configuration fields: npm help 7 config
308
309 npm@{VERSION} {NPMROOT}
310 `
311
312 exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 41 > must match snapshot 1`] = `
313 npm <command>
314
315 Usage:
316
317 npm install install all the dependencies in your project
318 npm install <foo> add the <foo> dependency to your project
319 npm test run this project's tests
320 npm run <foo> run the script named <foo>
321 npm <command> -h quick help on <command>
322 npm -l display usage info for all commands
323 npm help <term> search for help on <term>
324 npm help npm more involved overview
325
326 All commands:
327
328 access, adduser,
329 approve-scripts, audit,
330 bugs, cache, ci,
331 completion, config,
332 dedupe, deny-scripts,
333 deprecate, diff,
334 dist-tag, docs, doctor,
335 edit, exec, explain,
336 explore, find-dupes,
337 fund, get, help,
338 help-search, init,
339 install, install-ci-test,
340 install-test, link, ll,
341 login, logout, ls, org,
342 outdated, owner, pack,
343 ping, pkg, prefix,
344 profile, prune, publish,
345 query, rebuild, repo,
346 restart, root, run, sbom,
347 search, set, shrinkwrap,
348 stage, star, stars,
349 start, stop, team, test,
350 token, trust,
351 undeprecate, uninstall,
352 unpublish, unstar,
353 update, version, view,
354 whoami
355
356 Specify configs in the ini-formatted file:
357 {USERCONFIG}
358 or on the command line via: npm <command> --key=value
359
360 More configuration info: npm help config
361 Configuration fields: npm help 7 config
362
363 npm@{VERSION} {NPMROOT}
364 `
365
366 exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 75 > must match snapshot 1`] = `
367 npm <command>
368
369 Usage:
370
371 npm install install all the dependencies in your project
372 npm install <foo> add the <foo> dependency to your project
373 npm test run this project's tests
374 npm run <foo> run the script named <foo>
375 npm <command> -h quick help on <command>
376 npm -l display usage info for all commands
377 npm help <term> search for help on <term>
378 npm help npm more involved overview
379
380 All commands:
381
382 access, adduser, approve-scripts, audit, bugs, cache, ci,
383 completion, config, dedupe, deny-scripts, deprecate, diff,
384 dist-tag, docs, doctor, edit, exec, explain, explore,
385 find-dupes, fund, get, help, help-search, init, install,
386 install-ci-test, install-test, link, ll, login, logout, ls,
387 org, outdated, owner, pack, ping, pkg, prefix, profile,
388 prune, publish, query, rebuild, repo, restart, root, run,
389 sbom, search, set, shrinkwrap, stage, star, stars, start,
390 stop, team, test, token, trust, undeprecate, uninstall,
391 unpublish, unstar, update, version, view, whoami
392
393 Specify configs in the ini-formatted file:
394 {USERCONFIG}
395 or on the command line via: npm <command> --key=value
396
397 More configuration info: npm help config
398 Configuration fields: npm help 7 config
399
400 npm@{VERSION} {NPMROOT}
401 `
402
403 exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 76 > must match snapshot 1`] = `
404 npm <command>
405
406 Usage:
407
408 npm install install all the dependencies in your project
409 npm install <foo> add the <foo> dependency to your project
410 npm test run this project's tests
411 npm run <foo> run the script named <foo>
412 npm <command> -h quick help on <command>
413 npm -l display usage info for all commands
414 npm help <term> search for help on <term>
415 npm help npm more involved overview
416
417 All commands:
418
419 access, adduser, approve-scripts, audit, bugs, cache, ci,
420 completion, config, dedupe, deny-scripts, deprecate, diff,
421 dist-tag, docs, doctor, edit, exec, explain, explore,
422 find-dupes, fund, get, help, help-search, init, install,
423 install-ci-test, install-test, link, ll, login, logout, ls,
424 org, outdated, owner, pack, ping, pkg, prefix, profile,
425 prune, publish, query, rebuild, repo, restart, root, run,
426 sbom, search, set, shrinkwrap, stage, star, stars, start,
427 stop, team, test, token, trust, undeprecate, uninstall,
428 unpublish, unstar, update, version, view, whoami
429
430 Specify configs in the ini-formatted file:
431 {USERCONFIG}
432 or on the command line via: npm <command> --key=value
433
434 More configuration info: npm help config
435 Configuration fields: npm help 7 config
436
437 npm@{VERSION} {NPMROOT}
438 `
439
440 exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 90 > must match snapshot 1`] = `
441 npm <command>
442
443 Usage:
444
445 npm install install all the dependencies in your project
446 npm install <foo> add the <foo> dependency to your project
447 npm test run this project's tests
448 npm run <foo> run the script named <foo>
449 npm <command> -h quick help on <command>
450 npm -l display usage info for all commands
451 npm help <term> search for help on <term>
452 npm help npm more involved overview
453
454 All commands:
455
456 access, adduser, approve-scripts, audit, bugs, cache, ci,
457 completion, config, dedupe, deny-scripts, deprecate, diff,
458 dist-tag, docs, doctor, edit, exec, explain, explore,
459 find-dupes, fund, get, help, help-search, init, install,
460 install-ci-test, install-test, link, ll, login, logout, ls,
461 org, outdated, owner, pack, ping, pkg, prefix, profile,
462 prune, publish, query, rebuild, repo, restart, root, run,
463 sbom, search, set, shrinkwrap, stage, star, stars, start,
464 stop, team, test, token, trust, undeprecate, uninstall,
465 unpublish, unstar, update, version, view, whoami
466
467 Specify configs in the ini-formatted file:
468 {USERCONFIG}
469 or on the command line via: npm <command> --key=value
470
471 More configuration info: npm help config
472 Configuration fields: npm help 7 config
473
474 npm@{VERSION} {NPMROOT}
475 `