postinstall-postinstall
Advanced tools
Comparing version 1.0.0 to 2.0.0
{ | ||
"name": "postinstall-postinstall", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"main": "", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -8,2 +8,2 @@ postinstall-postinstall | ||
Yarn runs the `postinstall` script after `yarn`, `yarn install` and `yarn add <package>` but not after `yarn remove <package>`. If you add this package to your project, it will execute your project's `postinstall` hook even after a `yarn remove <package>`. This requires your `postinstall` script to be idempotent, becase it will be run twice for `yarn`, `yarn install`, and `yarn add <package>` | ||
Yarn runs the `postinstall` script after `yarn`, `yarn install` and `yarn add <package>` but not after `yarn remove <package>`. If you add this package to your project, it will execute your project's `postinstall` hook even after a `yarn remove <package>`. This requires your `postinstall` script to be idempotent, because it will be run twice for `yarn`, `yarn install`, and `yarn add <package>` |
@@ -14,6 +14,4 @@ const fs = require('fs') | ||
if (packageJson.scripts && packageJson.scripts.postinstall) { | ||
exec('npm run postinstall', {cwd: appPath}) | ||
exec('yarn run postinstall', {cwd: appPath}) | ||
} | ||
} | ||
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