@npmcli/run-script
Advanced tools
Comparing version 1.4.0 to 1.5.0
const makeSpawnArgs = require('./make-spawn-args.js') | ||
const promiseSpawn = require('@npmcli/promise-spawn') | ||
const packageEnvs = require('./package-envs.js') | ||
@@ -39,3 +40,3 @@ // you wouldn't like me when I'm angry... | ||
scriptShell, | ||
env, | ||
env: packageEnvs(env, pkg), | ||
stdio, | ||
@@ -42,0 +43,0 @@ cmd, |
{ | ||
"name": "@npmcli/run-script", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "Run a lifecycle script for a package (descendant of npm-lifecycle)", | ||
@@ -5,0 +5,0 @@ "author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)", |
@@ -33,2 +33,3 @@ # @npmcli/run-script | ||
// - npm_lifecycle_script The script being run | ||
// The fields described in https://github.com/npm/rfcs/pull/183 | ||
env: { | ||
@@ -103,2 +104,4 @@ npm_package_from: 'foo@bar', | ||
- `npm_lifecycle_script` The script being run | ||
- The `package.json` fields described in | ||
[RFC183](https://github.com/npm/rfcs/pull/183/files). | ||
- `scriptShell` Optional, defaults to `/bin/sh` on Unix, defaults to | ||
@@ -105,0 +108,0 @@ `env.comspec` or `cmd` on Windows. Custom script to use to execute the |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13562
12
181
150