1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 01:58:05 -05:00
denoland-deno/tests/specs/npm/lifecycle_scripts
Nathan Whitaker 3d0e1b65b1
fix(node): Ignore broken default install scripts (#24534)
NPM inserts a default install script when a package has a `binding.gyp`
file.

It's possible, however, for the package to exclude the `binding.gyp`
file when they publish, and in this case the install script will never
succeed for a user of the package.

This happens with `fsevents`, for instance. They don't include the
`binding.gyp` file in their published tarball, but the default install
script appears in the manifest served by `npm`.

This causes us to warn that `fsevents` has an install script, but when
you try to run it it fails due to `binding.gyp` not existing.
2024-07-11 18:39:45 +00:00
..
__test__.jsonc fix(node): Ignore broken default install scripts (#24534) 2024-07-11 18:39:45 +00:00
all_lifecycles.js feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487) 2024-07-10 03:06:08 +00:00
all_lifecycles.out feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487) 2024-07-10 03:06:08 +00:00
all_lifecycles_not_run.out chore: tweak warning message for un-run install scripts (#24508) 2024-07-10 18:03:41 +00:00
conflicting_bin.js feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487) 2024-07-10 03:06:08 +00:00
conflicting_bin.out feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487) 2024-07-10 03:06:08 +00:00
deno.json feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487) 2024-07-10 03:06:08 +00:00
fsevents.js fix(node): Ignore broken default install scripts (#24534) 2024-07-11 18:39:45 +00:00
fsevents.out fix(node): Ignore broken default install scripts (#24534) 2024-07-11 18:39:45 +00:00
future_install_all_lifecycles.out feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487) 2024-07-10 03:06:08 +00:00
future_install_all_lifecycles_not_run.out chore: tweak warning message for un-run install scripts (#24508) 2024-07-10 18:03:41 +00:00
implicit_node_gyp.js feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487) 2024-07-10 03:06:08 +00:00
main.js feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487) 2024-07-10 03:06:08 +00:00
node_gyp_not_found.out feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487) 2024-07-10 03:06:08 +00:00
node_gyp_not_run.out chore: tweak warning message for un-run install scripts (#24508) 2024-07-10 18:03:41 +00:00
only_warns_first1.out fix(npm): only warn about lifecycle scripts not being run when setting up directory (#24530) 2024-07-11 16:41:42 +00:00
only_warns_first2.out fix(npm): only warn about lifecycle scripts not being run when setting up directory (#24530) 2024-07-11 16:41:42 +00:00