@vercel/hydrogen 1.0.6 → 1.0.8

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 +3 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -57,16 +57,14 @@ var build = async ({
57
57
  meta
58
58
  );
59
59
  const spawnOpts = (0, import_build_utils.getSpawnOptions)(meta, nodeVersion);
60
- const { cliType, lockfileVersion, packageJson } = await (0, import_build_utils.scanParentDirs)(
61
- entrypointDir,
62
- true
63
- );
60
+ const { cliType, lockfileVersion, packageJson, turboSupportsCorepackHome } = await (0, import_build_utils.scanParentDirs)(entrypointDir, true);
64
61
  spawnOpts.env = (0, import_build_utils.getEnvForPackageManager)({
65
62
  cliType,
66
63
  lockfileVersion,
67
64
  packageJsonPackageManager: packageJson?.packageManager,
68
65
  nodeVersion,
69
- env: spawnOpts.env || {}
66
+ env: spawnOpts.env || {},
67
+ turboSupportsCorepackHome
70
68
  });
71
69
  if (typeof installCommand === "string") {
72
70
  if (installCommand.trim()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/hydrogen",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "homepage": "https://vercel.com/docs",
@@ -20,7 +20,7 @@
20
20
  "devDependencies": {
21
21
  "@types/jest": "27.5.1",
22
22
  "@types/node": "14.18.33",
23
- "@vercel/build-utils": "8.4.2",
23
+ "@vercel/build-utils": "8.4.8",
24
24
  "execa": "3.2.0",
25
25
  "fs-extra": "11.1.0",
26
26
  "jest-junit": "16.0.0"