|
6 | 6 | */ |
7 | 7 | 'use strict' |
8 | 8 | exports[`test/lib/commands/link.js TAP hash character in working directory path > should create a global link to current pkg, even within path with hash 1`] = ` |
9 | | -{CWD}/test/lib/commands/tap-testdir-link-hash-character-in-working-directory-path/global-prefix/lib/node_modules/test-pkg-link -> {CWD}/test/lib/commands/tap-testdir-link-hash-character-in-working-directory-path/i_like_#_in_my_paths/test-pkg-link |
| 9 | +{CWD}/global/node_modules/test-pkg-link -> {CWD}/other/i_like_#_in_my_paths/test-pkg-link |
10 | 10 |
|
11 | 11 | ` |
12 | 12 |
|
13 | 13 | exports[`test/lib/commands/link.js TAP link global linked pkg to local nm when using args > should create a local symlink to global pkg 1`] = ` |
14 | | -{CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/my-project/node_modules/@myscope/bar -> {CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/global-prefix/lib/node_modules/@myscope/bar |
15 | | -{CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/my-project/node_modules/@myscope/linked -> {CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/scoped-linked |
16 | | -{CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/my-project/node_modules/a -> {CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/global-prefix/lib/node_modules/a |
17 | | -{CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/my-project/node_modules/link-me-too -> {CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/link-me-too |
18 | | -{CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/my-project/node_modules/test-pkg-link -> {CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/test-pkg-link |
| 14 | +{CWD}/prefix/node_modules/@myscope/bar -> {CWD}/global/node_modules/@myscope/bar |
| 15 | +{CWD}/prefix/node_modules/@myscope/linked -> {CWD}/other/scoped-linked |
| 16 | +{CWD}/prefix/node_modules/a -> {CWD}/global/node_modules/a |
| 17 | +{CWD}/prefix/node_modules/link-me-too -> {CWD}/other/link-me-too |
| 18 | +{CWD}/prefix/node_modules/test-pkg-link -> {CWD}/other/test-pkg-link |
19 | 19 |
|
20 | 20 | ` |
21 | 21 |
|
22 | 22 | exports[`test/lib/commands/link.js TAP link global linked pkg to local workspace using args > should create a local symlink to global pkg 1`] = ` |
23 | | -{CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-workspace-using-args/my-project/node_modules/@myscope/bar -> {CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-workspace-using-args/global-prefix/lib/node_modules/@myscope/bar |
24 | | -{CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-workspace-using-args/my-project/node_modules/@myscope/linked -> {CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-workspace-using-args/scoped-linked |
25 | | -{CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-workspace-using-args/my-project/node_modules/a -> {CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-workspace-using-args/global-prefix/lib/node_modules/a |
26 | | -{CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-workspace-using-args/my-project/node_modules/link-me-too -> {CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-workspace-using-args/link-me-too |
27 | | -{CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-workspace-using-args/my-project/node_modules/test-pkg-link -> {CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-workspace-using-args/test-pkg-link |
28 | | -{CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-workspace-using-args/my-project/node_modules/x -> {CWD}/test/lib/commands/tap-testdir-link-link-global-linked-pkg-to-local-workspace-using-args/my-project/packages/x |
| 23 | +{CWD}/prefix/node_modules/@myscope/bar -> {CWD}/global/node_modules/@myscope/bar |
| 24 | +{CWD}/prefix/node_modules/@myscope/linked -> {CWD}/other/scoped-linked |
| 25 | +{CWD}/prefix/node_modules/a -> {CWD}/global/node_modules/a |
| 26 | +{CWD}/prefix/node_modules/link-me-too -> {CWD}/other/link-me-too |
| 27 | +{CWD}/prefix/node_modules/test-pkg-link -> {CWD}/other/test-pkg-link |
| 28 | +{CWD}/prefix/node_modules/x -> {CWD}/prefix/packages/x |
29 | 29 |
|
30 | 30 | ` |
31 | 31 |
|
32 | 32 | exports[`test/lib/commands/link.js TAP link pkg already in global space > should create a local symlink to global pkg 1`] = ` |
33 | | -{CWD}/test/lib/commands/tap-testdir-link-link-pkg-already-in-global-space/my-project/node_modules/@myscope/linked -> {CWD}/test/lib/commands/tap-testdir-link-link-pkg-already-in-global-space/scoped-linked |
| 33 | +{CWD}/prefix/node_modules/@myscope/linked -> {CWD}/other/scoped-linked |
34 | 34 |
|
35 | 35 | ` |
36 | 36 |
|
37 | 37 | exports[`test/lib/commands/link.js TAP link pkg already in global space when prefix is a symlink > should create a local symlink to global pkg 1`] = ` |
38 | | -{CWD}/test/lib/commands/tap-testdir-link-link-pkg-already-in-global-space-when-prefix-is-a-symlink/my-project/node_modules/@myscope/linked -> {CWD}/test/lib/commands/tap-testdir-link-link-pkg-already-in-global-space-when-prefix-is-a-symlink/scoped-linked |
| 38 | +{CWD}/prefix/node_modules/@myscope/linked -> {CWD}/other/scoped-linked |
39 | 39 |
|
40 | 40 | ` |
41 | 41 |
|
42 | 42 | exports[`test/lib/commands/link.js TAP link to globalDir when in current working dir of pkg and no args > should create a global link to current pkg 1`] = ` |
43 | | -{CWD}/test/lib/commands/tap-testdir-link-link-to-globalDir-when-in-current-working-dir-of-pkg-and-no-args/global-prefix/lib/node_modules/test-pkg-link -> {CWD}/test/lib/commands/tap-testdir-link-link-to-globalDir-when-in-current-working-dir-of-pkg-and-no-args/test-pkg-link |
| 43 | +{CWD}/global/node_modules/test-pkg-link -> {CWD}/prefix |
44 | 44 |
|
45 | 45 | ` |
46 | 46 |
|
47 | 47 | exports[`test/lib/commands/link.js TAP link ws to globalDir when workspace specified and no args > should create a global link to current pkg 1`] = ` |
48 | | -{CWD}/test/lib/commands/tap-testdir-link-link-ws-to-globalDir-when-workspace-specified-and-no-args/global-prefix/lib/node_modules/a -> {CWD}/test/lib/commands/tap-testdir-link-link-ws-to-globalDir-when-workspace-specified-and-no-args/test-pkg-link/packages/a |
| 48 | +{CWD}/global/node_modules/a -> {CWD}/prefix/packages/a |
49 | 49 |
|
50 | 50 | ` |
51 | 51 |
|
52 | 52 | exports[`test/lib/commands/link.js TAP test linked installed as symlinks > linked package should not be installed 1`] = ` |
53 | | -{CWD}/test/lib/commands/tap-testdir-link-test-linked-installed-as-symlinks/prefix/node_modules/mylink -> {CWD}/test/lib/commands/tap-testdir-link-test-linked-installed-as-symlinks/other/mylink |
| 53 | +{CWD}/prefix/node_modules/mylink -> {CWD}/other/mylink |
54 | 54 |
|
55 | 55 | ` |
0 commit comments