Commit e4fed3c
committed
Disable Windows-specific paths in Gerrit's rules_nodejs fork
Gerrit does not support Windows builds, so stop selecting
Windows-specific behavior in the forked rules_nodejs snapshot.
Hardcode the non-Windows path in js_library and related helper rules,
and always use the .sh packaging entry points. This avoids Bazel 8
deprecation warnings from host_windows condition targets and also avoids
the visibility regression triggered by replacing them with
@platforms//os:windows.
This keeps Linux and macOS builds working while making the fork
explicitly Unix-only.1 parent a66fc4f commit e4fed3c
6 files changed
Lines changed: 7 additions & 28 deletions
File tree
- internal
- common
- js_library
- linker
- pkg_npm
- third_party/github.com/bazelbuild/bazel-skylib/rules/private
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 60 | + | |
64 | 61 | | |
65 | 62 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 127 | + | |
131 | 128 | | |
132 | 129 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
| 419 | + | |
423 | 420 | | |
424 | 421 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
| 153 | + | |
157 | 154 | | |
158 | 155 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
| 378 | + | |
382 | 379 | | |
383 | 380 | | |
384 | 381 | | |
385 | 382 | | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
| 383 | + | |
390 | 384 | | |
391 | 385 | | |
392 | 386 | | |
| |||
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
| 205 | + | |
209 | 206 | | |
210 | 207 | | |
211 | 208 | | |
| |||
0 commit comments