@vercel/build-utils 9.1.1 → 9.2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @vercel/build-utils
2
2
 
3
+ ## 9.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Add .yarn/cache to build cache ([#12961](https://github.com/vercel/vercel/pull/12961))
8
+
3
9
  ## 9.1.1
4
10
 
5
11
  ### Patch Changes
@@ -0,0 +1 @@
1
+ export declare const defaultCachePathGlob = "**/{node_modules,.yarn/cache}/**";
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var default_cache_path_glob_exports = {};
20
+ __export(default_cache_path_glob_exports, {
21
+ defaultCachePathGlob: () => defaultCachePathGlob
22
+ });
23
+ module.exports = __toCommonJS(default_cache_path_glob_exports);
24
+ const defaultCachePathGlob = "**/{node_modules,.yarn/cache}/**";
25
+ // Annotate the CommonJS export names for ESM import in node:
26
+ 0 && (module.exports = {
27
+ defaultCachePathGlob
28
+ });
package/dist/index.d.ts CHANGED
@@ -29,3 +29,4 @@ export * from './types';
29
29
  export * from './errors';
30
30
  export { NODE_VERSIONS } from './fs/node-version';
31
31
  export { getInstalledPackageVersion } from './get-installed-package-version';
32
+ export { defaultCachePathGlob } from './default-cache-path-glob';
package/dist/index.js CHANGED
@@ -21860,6 +21860,7 @@ __export(src_exports, {
21860
21860
  cloneEnv: () => cloneEnv,
21861
21861
  createLambda: () => createLambda,
21862
21862
  debug: () => debug,
21863
+ defaultCachePathGlob: () => defaultCachePathGlob,
21863
21864
  download: () => download,
21864
21865
  downloadFile: () => downloadFile,
21865
21866
  execCommand: () => execCommand,
@@ -24240,6 +24241,9 @@ async function getInstalledPackageVersion(packageName, path7) {
24240
24241
  return void 0;
24241
24242
  }
24242
24243
  }
24244
+
24245
+ // src/default-cache-path-glob.ts
24246
+ var defaultCachePathGlob = "**/{node_modules,.yarn/cache}/**";
24243
24247
  // Annotate the CommonJS export names for ESM import in node:
24244
24248
  0 && (module.exports = {
24245
24249
  EdgeFunction,
@@ -24257,6 +24261,7 @@ async function getInstalledPackageVersion(packageName, path7) {
24257
24261
  cloneEnv,
24258
24262
  createLambda,
24259
24263
  debug,
24264
+ defaultCachePathGlob,
24260
24265
  download,
24261
24266
  downloadFile,
24262
24267
  execCommand,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "9.1.1",
3
+ "version": "9.2.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",