Commit 6ffbaf0
ci+hooks: install @uipath/* from public npm via scope override
The smoke pipelines wrote a `~/.npmrc` mapping `@uipath` to GitHub
Packages and installed `@latest`. That feed publishes
`1.0.0-alpha.YYYYMMDD.*` prereleases under the same dist-tag, so CI was
silently picking up alpha builds rather than the public stable line
(`@uipath/cli@0.9.0`, `@uipath/rpa-tool@0.9.0`,
`@uipath/rpa-legacy-tool@0.9.0`).
Switch all installs to public npm `@latest` and force the scope with
`--@UiPath:registry=https://registry.npmjs.org/`. Plain `--registry=`
does NOT bypass scope mappings — only the scope-specific override does.
`hooks/ensure-uip.sh` gets the same flag so a user-side `~/.npmrc`
scope mapping can't silently redirect the SessionStart install. The
rpa-tool install also moves from `uip tools install` (which inherits
the user's npm config) to `npm install -g` with the override, matching
what CI does — `npm install -g` lands tools under
`<npm-prefix>/@uipath/` where uipcli's ToolManager discovers them.
The repo secret `GH_NPM_REGISTRY_TOKEN` is now unused; can be deleted
from repo settings.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 78deaec commit 6ffbaf0
3 files changed
Lines changed: 35 additions & 56 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
133 | 121 | | |
134 | 122 | | |
135 | 123 | | |
136 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
137 | 127 | | |
138 | 128 | | |
139 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
193 | 187 | | |
194 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
195 | 191 | | |
196 | 192 | | |
197 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
68 | 76 | | |
69 | 77 | | |
70 | 78 | | |
71 | 79 | | |
72 | 80 | | |
73 | 81 | | |
74 | 82 | | |
75 | | - | |
| 83 | + | |
76 | 84 | | |
77 | 85 | | |
78 | 86 | | |
79 | 87 | | |
80 | 88 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
| 89 | + | |
| 90 | + | |
98 | 91 | | |
99 | 92 | | |
100 | 93 | | |
101 | 94 | | |
102 | 95 | | |
103 | 96 | | |
104 | 97 | | |
105 | | - | |
| 98 | + | |
0 commit comments