@vercel/static-build 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +7 -3
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -240729,8 +240729,10 @@ async function getMonorepoDefaultSettings(projectName, projectPath, relativeToRo
240729
240729
  return {
240730
240730
  monorepoManager: 'turbo',
240731
240731
  buildCommand: `cd ${relativeToRoot} && npx turbo run build --filter={${projectPath}}...`,
240732
- installCommand: `cd ${relativeToRoot} && ${packageManager} install`,
240733
- commandForIgnoringBuildStep: `cd ${relativeToRoot} && npx turbo-ignore`,
240732
+ installCommand: packageManager === 'npm'
240733
+ ? `${packageManager} install --prefix=${relativeToRoot}`
240734
+ : `${packageManager} install`,
240735
+ commandForIgnoringBuildStep: `npx turbo-ignore`,
240734
240736
  };
240735
240737
  }
240736
240738
  else if (monorepoManager === 'nx') {
@@ -240768,7 +240770,9 @@ async function getMonorepoDefaultSettings(projectName, projectPath, relativeToRo
240768
240770
  return {
240769
240771
  monorepoManager: 'nx',
240770
240772
  buildCommand: `cd ${relativeToRoot} && npx nx build ${projectName}`,
240771
- installCommand: `cd ${relativeToRoot} && ${packageManager} install`,
240773
+ installCommand: packageManager === 'npm'
240774
+ ? `${packageManager} install --prefix=${relativeToRoot}`
240775
+ : `${packageManager} install`,
240772
240776
  };
240773
240777
  }
240774
240778
  // TODO (@Ethan-Arrowood) - Revisit rush support when we can test it better
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/static-build",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/build-step",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@vercel/gatsby-plugin-vercel-analytics": "1.0.7",
33
- "@vercel/gatsby-plugin-vercel-builder": "1.0.2"
33
+ "@vercel/gatsby-plugin-vercel-builder": "1.0.3"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/aws-lambda": "8.10.64",
@@ -42,9 +42,9 @@
42
42
  "@types/node-fetch": "2.5.4",
43
43
  "@types/promise-timeout": "1.3.0",
44
44
  "@types/semver": "7.3.13",
45
- "@vercel/build-utils": "6.0.0",
45
+ "@vercel/build-utils": "6.0.1",
46
46
  "@vercel/frameworks": "1.3.0",
47
- "@vercel/fs-detectors": "3.7.6",
47
+ "@vercel/fs-detectors": "3.7.7",
48
48
  "@vercel/ncc": "0.24.0",
49
49
  "@vercel/routing-utils": "2.1.8",
50
50
  "@vercel/static-config": "2.0.11",
@@ -60,5 +60,5 @@
60
60
  "ts-morph": "12.0.0",
61
61
  "typescript": "4.3.4"
62
62
  },
63
- "gitHead": "9317543c48a039bda0ae91f0819f38f789d98338"
63
+ "gitHead": "ada9a48d57be8f4375494a369aaa98cee1f5eae2"
64
64
  }