mirror of
https://github.com/denoland/deno.git
synced 2024-12-29 02:29:06 -05:00
7a990d9d42
Fixes https://github.com/denoland/deno/issues/25533. Fixes https://github.com/denoland/deno/issues/25396. Previously we only supported it on `deno install` and `deno cache`, which is annoying if you're using `nodeModulesDir: auto`. Also changes from printing output of lifecycle scripts directly to capturing the output and only printing it on error.
15 lines
757 B
Text
15 lines
757 B
Text
[UNORDERED_START]
|
|
Download http://localhost:4260/@denotest/node-lifecycle-scripts
|
|
Download http://localhost:4260/@denotest/bin
|
|
Download http://localhost:4260/@denotest/node-lifecycle-scripts/1.0.0.tgz
|
|
Download http://localhost:4260/@denotest/bin/1.0.0.tgz
|
|
Initialize @denotest/node-lifecycle-scripts@1.0.0
|
|
Initialize @denotest/bin@1.0.0
|
|
[UNORDERED_END]
|
|
Warning The following packages contained npm lifecycle scripts (preinstall/install/postinstall) that were not executed:
|
|
┠─ npm:@denotest/node-lifecycle-scripts@1.0.0
|
|
┃
|
|
┠─ This may cause the packages to not work correctly.
|
|
┖─ To run lifecycle scripts, use the `--allow-scripts` flag with `deno install`:
|
|
deno install --allow-scripts=npm:@denotest/node-lifecycle-scripts@1.0.0
|
|
value is 42
|