Commit 912e1a5
committed
fix: resolve npm_install rule path resolution issue with hermetic npm wrapper
Fixed npm binary dependency issue where npm script couldn't find node binary in Bazel sandbox.
Created hermetic npm wrapper script similar to jco wrapper that directly invokes node with npm.
This resolves CI failures and enables successful JavaScript component npm dependency management.
- Fixed npm_install script output directory creation
- Working single-file JavaScript components (simple_js_component)
- Multi-file components still have module resolution limitations (documented)1 parent 7350e73 commit 912e1a5
File tree
4 files changed
+78
-24
lines changed- js
- toolchains
- tools/bazel_helpers
4 files changed
+78
-24
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
| 362 | + | |
362 | 363 | | |
363 | | - | |
| 364 | + | |
364 | 365 | | |
365 | | - | |
366 | | - | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
367 | 369 | | |
368 | 370 | | |
369 | 371 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
273 | 292 | | |
274 | | - | |
| 293 | + | |
275 | 294 | | |
276 | 295 | | |
277 | 296 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
319 | | - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
320 | 333 | | |
321 | 334 | | |
322 | 335 | | |
323 | | - | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
324 | 340 | | |
325 | 341 | | |
326 | | - | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
327 | 346 | | |
328 | 347 | | |
329 | | - | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
330 | 352 | | |
331 | | - | |
332 | | - | |
333 | | - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
334 | 359 | | |
335 | | - | |
336 | | - | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
337 | 370 | | |
338 | 371 | | |
339 | 372 | | |
| |||
0 commit comments