mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-05 22:19:46 -06:00
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 commit5583f21478. * 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 commitc3e52d09ec. * Revert "also run appveyor" This reverts commitbfe7b0499a.
This commit is contained in:
@@ -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"}, ->
|
||||
|
||||
Reference in New Issue
Block a user