Commit 3275b45
committed
test(@angular/cli): remove unscoped authentication test cases from registry tests
Modern package managers do not support unscoped authentication, and Yarn Classic's
metadata command (yarn info) does not propagate unscoped credentials correctly,
leading to 403 Forbidden failures on secure registries during ng update and ng add.
This commit removes the unscoped authentication test cases from both add and
update secure registry E2E tests, and cleans up the
createNpmConfigForAuthentication helper to default to scoped authentication.
(cherry picked from commit ecda706)1 parent da81e55 commit 3275b45
3 files changed
Lines changed: 5 additions & 41 deletions
File tree
- tests/e2e
- tests
- commands/add
- update
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | 12 | | |
15 | 13 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 14 | | |
29 | 15 | | |
30 | 16 | | |
31 | | - | |
| 17 | + | |
32 | 18 | | |
33 | 19 | | |
34 | 20 | | |
35 | 21 | | |
36 | 22 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 23 | | |
44 | 24 | | |
45 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
| |||
20 | 17 | | |
21 | 18 | | |
22 | 19 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 20 | + | |
32 | 21 | | |
33 | 22 | | |
34 | 23 | | |
35 | 24 | | |
36 | 25 | | |
37 | 26 | | |
38 | 27 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 28 | | |
45 | 29 | | |
46 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments