Fix patch-package (#6583)

* fix patch-package

- don't hoist dependencies that are patched, this way we can be assured the path is always correct
- put all patches in root postinstall so postinstall-postinstall is guaranteed to work

* wip

* Revert "fix patch-package"

This reverts commit 5583f21478.

* use per package patches

* don't ignor engines or silence

* try: make sinon patch devonly

* fix socketspec

* run full ci on this branch

* bump xcode tools to bump mac node version

* also run appveyor

* Revert "run full ci on this branch"

This reverts commit c3e52d09ec.

* Revert "also run appveyor"

This reverts commit bfe7b0499a.
This commit is contained in:
Zach Bloomquist
2020-02-28 12:17:54 -05:00
committed by GitHub
parent f1f766d44d
commit e2ea5bf663
11 changed files with 36 additions and 52 deletions

View File

@@ -106,7 +106,7 @@ forceNpmInstall = (packagePath, packageToInstall) ->
console.log("Force installing %s", packageToInstall)
console.log("in %s", packagePath)
la(check.unemptyString(packageToInstall), "missing package to install")
yarn(["install", "--force", "--ignore-engines", packageToInstall], packagePath)
yarn(["install", "--force", packageToInstall], packagePath)
removeDevDependencies = (packageFolder) ->
packagePath = pathToPackageJson(packageFolder)
@@ -141,7 +141,7 @@ npmInstallAll = (pathToPackages) ->
# force installing only PRODUCTION dependencies
# https://docs.npmjs.com/cli/install
npmInstall = _.partial(yarn, ["install", "--production", "--silent", "--ignore-engines"])
npmInstall = _.partial(yarn, ["install", "--production"])
npmInstall(pkg, {NODE_ENV: "production"})
.catch {code: "EMFILE"}, ->