@vercel/static-build 0.23.2-canary.4 → 0.24.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 +4 -4
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -14052,7 +14052,7 @@ const build = async ({ files, entrypoint, workPath, config, meta = {}, }) => {
14052
14052
  const opts = {
14053
14053
  env: {
14054
14054
  ...process.env,
14055
- // See more: https://git.io/JtDwx
14055
+ // See more: https://github.com/rubygems/rubygems/blob/a82d04856deba58be6b90f681a5e42a7c0f2baa7/bundler/lib/bundler/man/bundle-config.1.ronn
14056
14056
  BUNDLE_BIN: 'vendor/bin',
14057
14057
  BUNDLE_CACHE_PATH: 'vendor/cache',
14058
14058
  BUNDLE_PATH: 'vendor/bundle',
@@ -14067,7 +14067,7 @@ const build = async ({ files, entrypoint, workPath, config, meta = {}, }) => {
14067
14067
  isBundleInstall = true;
14068
14068
  }
14069
14069
  if (fs_1.existsSync(requirementsPath)) {
14070
- build_utils_1.debug('Detected requirements.txt');
14070
+ build_utils_1.debug('Detected requirements.txt');
14071
14071
  printInstall();
14072
14072
  await build_utils_1.runPipInstall(workPath, ['-r', requirementsPath], undefined, meta);
14073
14073
  isPipInstall = true;
@@ -14276,7 +14276,7 @@ const build = async ({ files, entrypoint, workPath, config, meta = {}, }) => {
14276
14276
  throw new Error(message);
14277
14277
  };
14278
14278
  exports.build = build;
14279
- const prepareCache = async ({ entrypoint, workPath, config, }) => {
14279
+ const prepareCache = async ({ entrypoint, repoRootPath, workPath, config, }) => {
14280
14280
  const cacheFiles = {};
14281
14281
  // Build Output API v3 cache files
14282
14282
  const configV3 = await BuildOutputV3.readConfig(workPath);
@@ -14298,7 +14298,7 @@ const prepareCache = async ({ entrypoint, workPath, config, }) => {
14298
14298
  return cacheFiles;
14299
14299
  }
14300
14300
  // Default cache files
14301
- Object.assign(cacheFiles, await build_utils_1.glob('{.shadow-cljs,node_modules}/**', workPath));
14301
+ Object.assign(cacheFiles, await build_utils_1.glob('**/{.shadow-cljs,node_modules}/**', repoRootPath || workPath));
14302
14302
  // Framework cache files
14303
14303
  const pkg = getPkg(entrypoint, workPath);
14304
14304
  const framework = getFramework(config, pkg);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/static-build",
3
- "version": "0.23.2-canary.4",
3
+ "version": "0.24.0",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/build-step",
@@ -35,15 +35,15 @@
35
35
  "@types/ms": "0.7.31",
36
36
  "@types/node-fetch": "2.5.4",
37
37
  "@types/promise-timeout": "1.3.0",
38
- "@vercel/build-utils": "2.15.2-canary.4",
39
- "@vercel/frameworks": "0.7.2-canary.0",
38
+ "@vercel/build-utils": "2.16.0",
39
+ "@vercel/frameworks": "0.8.0",
40
40
  "@vercel/ncc": "0.24.0",
41
- "@vercel/routing-utils": "1.13.1",
41
+ "@vercel/routing-utils": "1.13.2",
42
42
  "get-port": "5.0.0",
43
43
  "is-port-reachable": "2.0.1",
44
44
  "ms": "2.1.2",
45
45
  "node-fetch": "2.6.1",
46
46
  "rc9": "1.2.0"
47
47
  },
48
- "gitHead": "466135cf84d0346294645251034ad6aaf89928b8"
48
+ "gitHead": "a400b9b29d171232f4649e67e1fdcf4fb8d6a4c8"
49
49
  }