@vercel/hydrogen 1.0.10 → 1.1.0

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
@@ -61,8 +61,7 @@ var build = async ({
61
61
  cliType,
62
62
  lockfileVersion,
63
63
  packageJsonPackageManager,
64
- turboSupportsCorepackHome,
65
- detectedLockfile
64
+ turboSupportsCorepackHome
66
65
  } = await (0, import_build_utils.scanParentDirs)(entrypointDir, true);
67
66
  spawnOpts.env = (0, import_build_utils.getEnvForPackageManager)({
68
67
  cliType,
@@ -70,8 +69,7 @@ var build = async ({
70
69
  packageJsonPackageManager,
71
70
  nodeVersion,
72
71
  env: spawnOpts.env || {},
73
- turboSupportsCorepackHome,
74
- detectedLockfile
72
+ turboSupportsCorepackHome
75
73
  });
76
74
  if (typeof installCommand === "string") {
77
75
  if (installCommand.trim()) {
@@ -167,7 +165,7 @@ function hasScript(scriptName, pkg) {
167
165
  // src/prepare-cache.ts
168
166
  var import_build_utils2 = require("@vercel/build-utils");
169
167
  var prepareCache = ({ repoRootPath, workPath }) => {
170
- return (0, import_build_utils2.glob)("**/node_modules/**", repoRootPath || workPath);
168
+ return (0, import_build_utils2.glob)(import_build_utils2.defaultCachePathGlob, repoRootPath || workPath);
171
169
  };
172
170
 
173
171
  // src/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/hydrogen",
3
- "version": "1.0.10",
3
+ "version": "1.1.0",
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": "9.0.0",
23
+ "@vercel/build-utils": "9.2.0",
24
24
  "execa": "3.2.0",
25
25
  "fs-extra": "11.1.0",
26
26
  "jest-junit": "16.0.0"