@catladder/cli 0.0.0-next-f7cb33fb → 0.0.0-next-41642e39

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.
@@ -5203,7 +5203,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5203
5203
  };
5204
5204
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5205
5205
  exports.getNodeCache = exports.getNodeModulesCache = exports.getYarnCache = void 0;
5206
- const lodash_es_1 = __nccwpck_require__(50866);
5207
5206
  const path_1 = __nccwpck_require__(16928);
5208
5207
  const slugify_1 = __importDefault(__nccwpck_require__(21396));
5209
5208
  /**
@@ -5212,15 +5211,37 @@ const slugify_1 = __importDefault(__nccwpck_require__(21396));
5212
5211
  * exact-lockfile hit (github skips the ~0.6GB download on warm runs)
5213
5212
  */
5214
5213
  const NODE_MODULES_CACHE_ID = "node-modules";
5215
- const getYarnCache = async (context, policy = "pull-push") => {
5214
+ /**
5215
+ * the directory whose caches this job uses. Components that are part of
5216
+ * a shared workspace use the workspace root's caches: the install
5217
+ * operates on the whole workspace, and the workspace build job is the
5218
+ * one that populates the slots. Historically these component jobs
5219
+ * (verify, docker) read a separate key family that no job ever saved,
5220
+ * so they always started cold. Standalone components and the workspace
5221
+ * jobs themselves keep using their own build dir (unchanged keys).
5222
+ */
5223
+ const getCacheBaseDir = async (context) => {
5224
+ var _a;
5216
5225
  const packageManagerInfo = await context.packageManagerInfo;
5217
5226
  const componentIsInWorkspace = context.type === "component" &&
5218
5227
  "componentIsInWorkspace" in packageManagerInfo &&
5219
5228
  packageManagerInfo.componentIsInWorkspace;
5229
+ if (!componentIsInWorkspace)
5230
+ return context.build.dir;
5231
+ // the workspace build's dir when the component references one,
5232
+ // otherwise the repo root (packageManager.ts resolves workspace
5233
+ // membership against the root)
5234
+ return context.build.type === "fromWorkspace"
5235
+ ? ((_a = context.build.workspaceBuildConfig.dir) !== null && _a !== void 0 ? _a : ".")
5236
+ : ".";
5237
+ };
5238
+ const getYarnCache = async (context, policy = "pull-push") => {
5239
+ const baseDir = await getCacheBaseDir(context);
5220
5240
  return [
5221
5241
  {
5222
- scope: componentIsInWorkspace ? "global" : "buildDir",
5223
- pathMode: componentIsInWorkspace ? "absolute" : "relative",
5242
+ scope: "buildDir",
5243
+ pathMode: "relative",
5244
+ buildDir: baseDir,
5224
5245
  key: "yarn",
5225
5246
  policy,
5226
5247
  paths: [".yarn"],
@@ -5237,52 +5258,28 @@ const getYarnCache = async (context, policy = "pull-push") => {
5237
5258
  };
5238
5259
  exports.getYarnCache = getYarnCache;
5239
5260
  const getNodeModulesCache = async (context, policy = "pull-push") => {
5240
- var _a, _b;
5241
5261
  const packageManagerInfo = await context.packageManagerInfo;
5242
- const componentIsInWorkspace = context.type === "component" &&
5243
- "componentIsInWorkspace" in packageManagerInfo &&
5244
- packageManagerInfo.componentIsInWorkspace;
5245
- const { isClassic, workspaces } = packageManagerInfo;
5262
+ const baseDir = await getCacheBaseDir(context);
5263
+ const { isClassic } = packageManagerInfo;
5246
5264
  // We intentionally do not use the contents of yarn.lock as a cache key, as yarn install should always guarantee that the files are updated, but it can still use part of the cache if not all packages are up-to-date.
5247
5265
  // It would slow down all pipelines whenever one adds a new dependency as it will need to download all node_modules again.
5248
5266
  return [
5249
5267
  {
5250
5268
  scope: "global",
5251
5269
  pathMode: "absolute",
5252
- // if component is in a shared workspace, use workspace cache. use individual cache else
5253
- key: componentIsInWorkspace
5254
- ? "node-modules-workspace"
5255
- : (0, slugify_1.default)(context.build.dir) + "-node-modules", // we use the dirname, not the component name, because in certain cases we have two apps in the same directory and want to share the cache, e.g. when having storybook in the same package.json
5270
+ // we use the dirname, not the component name, because in certain cases we have two apps in the same directory and want to share the cache, e.g. when having storybook in the same package.json
5271
+ key: (0, slugify_1.default)(baseDir) + "-node-modules",
5256
5272
  // content-key for immutable-cache backends (github); the lockfile
5257
5273
  // decides whether the cached content could have changed (absolute
5258
- // pathMode: resolve the standalone component's lockfile explicitly)
5259
- keyFiles: [
5260
- componentIsInWorkspace
5261
- ? "yarn.lock"
5262
- : (0, path_1.join)(context.build.dir, "yarn.lock"),
5263
- ],
5274
+ // pathMode: resolve the lockfile explicitly)
5275
+ keyFiles: [(0, path_1.join)(baseDir, "yarn.lock")],
5264
5276
  // referenced by the yarn cache: an exact hit here makes the yarn
5265
5277
  // zips unnecessary (see redundantOnExactHitOf on getYarnCache)
5266
5278
  cacheId: NODE_MODULES_CACHE_ID,
5267
5279
  policy,
5268
5280
  paths: [
5269
- ...(componentIsInWorkspace
5270
- ? (0, lodash_es_1.uniq)([
5271
- "node_modules",
5272
- ...((_a = workspaces.map((w) => (0, path_1.join)(w.location, "node_modules"))) !== null && _a !== void 0 ? _a : []),
5273
- ...(!isClassic
5274
- ? [
5275
- ".yarn/install-state.gz",
5276
- ...((_b = workspaces.map((w) => (0, path_1.join)(w.location, ".yarn/install-state.gz"))) !== null && _b !== void 0 ? _b : []),
5277
- ]
5278
- : []),
5279
- ])
5280
- : [
5281
- (0, path_1.join)(context.build.dir, "node_modules"),
5282
- ...(!isClassic
5283
- ? [(0, path_1.join)(context.build.dir, ".yarn/install-state.gz")]
5284
- : []),
5285
- ]),
5281
+ (0, path_1.join)(baseDir, "node_modules"),
5282
+ ...(!isClassic ? [(0, path_1.join)(baseDir, ".yarn/install-state.gz")] : []),
5286
5283
  ],
5287
5284
  },
5288
5285
  ];
@@ -11196,7 +11196,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
11196
11196
  };
11197
11197
  Object.defineProperty(exports, "__esModule", ({ value: true }));
11198
11198
  exports.getNodeCache = exports.getNodeModulesCache = exports.getYarnCache = void 0;
11199
- const lodash_es_1 = __nccwpck_require__(50866);
11200
11199
  const path_1 = __nccwpck_require__(16928);
11201
11200
  const slugify_1 = __importDefault(__nccwpck_require__(21396));
11202
11201
  /**
@@ -11205,15 +11204,37 @@ const slugify_1 = __importDefault(__nccwpck_require__(21396));
11205
11204
  * exact-lockfile hit (github skips the ~0.6GB download on warm runs)
11206
11205
  */
11207
11206
  const NODE_MODULES_CACHE_ID = "node-modules";
11208
- const getYarnCache = async (context, policy = "pull-push") => {
11207
+ /**
11208
+ * the directory whose caches this job uses. Components that are part of
11209
+ * a shared workspace use the workspace root's caches: the install
11210
+ * operates on the whole workspace, and the workspace build job is the
11211
+ * one that populates the slots. Historically these component jobs
11212
+ * (verify, docker) read a separate key family that no job ever saved,
11213
+ * so they always started cold. Standalone components and the workspace
11214
+ * jobs themselves keep using their own build dir (unchanged keys).
11215
+ */
11216
+ const getCacheBaseDir = async (context) => {
11217
+ var _a;
11209
11218
  const packageManagerInfo = await context.packageManagerInfo;
11210
11219
  const componentIsInWorkspace = context.type === "component" &&
11211
11220
  "componentIsInWorkspace" in packageManagerInfo &&
11212
11221
  packageManagerInfo.componentIsInWorkspace;
11222
+ if (!componentIsInWorkspace)
11223
+ return context.build.dir;
11224
+ // the workspace build's dir when the component references one,
11225
+ // otherwise the repo root (packageManager.ts resolves workspace
11226
+ // membership against the root)
11227
+ return context.build.type === "fromWorkspace"
11228
+ ? ((_a = context.build.workspaceBuildConfig.dir) !== null && _a !== void 0 ? _a : ".")
11229
+ : ".";
11230
+ };
11231
+ const getYarnCache = async (context, policy = "pull-push") => {
11232
+ const baseDir = await getCacheBaseDir(context);
11213
11233
  return [
11214
11234
  {
11215
- scope: componentIsInWorkspace ? "global" : "buildDir",
11216
- pathMode: componentIsInWorkspace ? "absolute" : "relative",
11235
+ scope: "buildDir",
11236
+ pathMode: "relative",
11237
+ buildDir: baseDir,
11217
11238
  key: "yarn",
11218
11239
  policy,
11219
11240
  paths: [".yarn"],
@@ -11230,52 +11251,28 @@ const getYarnCache = async (context, policy = "pull-push") => {
11230
11251
  };
11231
11252
  exports.getYarnCache = getYarnCache;
11232
11253
  const getNodeModulesCache = async (context, policy = "pull-push") => {
11233
- var _a, _b;
11234
11254
  const packageManagerInfo = await context.packageManagerInfo;
11235
- const componentIsInWorkspace = context.type === "component" &&
11236
- "componentIsInWorkspace" in packageManagerInfo &&
11237
- packageManagerInfo.componentIsInWorkspace;
11238
- const { isClassic, workspaces } = packageManagerInfo;
11255
+ const baseDir = await getCacheBaseDir(context);
11256
+ const { isClassic } = packageManagerInfo;
11239
11257
  // We intentionally do not use the contents of yarn.lock as a cache key, as yarn install should always guarantee that the files are updated, but it can still use part of the cache if not all packages are up-to-date.
11240
11258
  // It would slow down all pipelines whenever one adds a new dependency as it will need to download all node_modules again.
11241
11259
  return [
11242
11260
  {
11243
11261
  scope: "global",
11244
11262
  pathMode: "absolute",
11245
- // if component is in a shared workspace, use workspace cache. use individual cache else
11246
- key: componentIsInWorkspace
11247
- ? "node-modules-workspace"
11248
- : (0, slugify_1.default)(context.build.dir) + "-node-modules", // we use the dirname, not the component name, because in certain cases we have two apps in the same directory and want to share the cache, e.g. when having storybook in the same package.json
11263
+ // we use the dirname, not the component name, because in certain cases we have two apps in the same directory and want to share the cache, e.g. when having storybook in the same package.json
11264
+ key: (0, slugify_1.default)(baseDir) + "-node-modules",
11249
11265
  // content-key for immutable-cache backends (github); the lockfile
11250
11266
  // decides whether the cached content could have changed (absolute
11251
- // pathMode: resolve the standalone component's lockfile explicitly)
11252
- keyFiles: [
11253
- componentIsInWorkspace
11254
- ? "yarn.lock"
11255
- : (0, path_1.join)(context.build.dir, "yarn.lock"),
11256
- ],
11267
+ // pathMode: resolve the lockfile explicitly)
11268
+ keyFiles: [(0, path_1.join)(baseDir, "yarn.lock")],
11257
11269
  // referenced by the yarn cache: an exact hit here makes the yarn
11258
11270
  // zips unnecessary (see redundantOnExactHitOf on getYarnCache)
11259
11271
  cacheId: NODE_MODULES_CACHE_ID,
11260
11272
  policy,
11261
11273
  paths: [
11262
- ...(componentIsInWorkspace
11263
- ? (0, lodash_es_1.uniq)([
11264
- "node_modules",
11265
- ...((_a = workspaces.map((w) => (0, path_1.join)(w.location, "node_modules"))) !== null && _a !== void 0 ? _a : []),
11266
- ...(!isClassic
11267
- ? [
11268
- ".yarn/install-state.gz",
11269
- ...((_b = workspaces.map((w) => (0, path_1.join)(w.location, ".yarn/install-state.gz"))) !== null && _b !== void 0 ? _b : []),
11270
- ]
11271
- : []),
11272
- ])
11273
- : [
11274
- (0, path_1.join)(context.build.dir, "node_modules"),
11275
- ...(!isClassic
11276
- ? [(0, path_1.join)(context.build.dir, ".yarn/install-state.gz")]
11277
- : []),
11278
- ]),
11274
+ (0, path_1.join)(baseDir, "node_modules"),
11275
+ ...(!isClassic ? [(0, path_1.join)(baseDir, ".yarn/install-state.gz")] : []),
11279
11276
  ],
11280
11277
  },
11281
11278
  ];
@@ -4,7 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.getNodeCache = exports.getNodeModulesCache = exports.getYarnCache = void 0;
7
- const lodash_es_1 = require("lodash-es");
8
7
  const path_1 = require("path");
9
8
  const slugify_1 = __importDefault(require("slugify"));
10
9
  /**
@@ -13,15 +12,37 @@ const slugify_1 = __importDefault(require("slugify"));
13
12
  * exact-lockfile hit (github skips the ~0.6GB download on warm runs)
14
13
  */
15
14
  const NODE_MODULES_CACHE_ID = "node-modules";
16
- const getYarnCache = async (context, policy = "pull-push") => {
15
+ /**
16
+ * the directory whose caches this job uses. Components that are part of
17
+ * a shared workspace use the workspace root's caches: the install
18
+ * operates on the whole workspace, and the workspace build job is the
19
+ * one that populates the slots. Historically these component jobs
20
+ * (verify, docker) read a separate key family that no job ever saved,
21
+ * so they always started cold. Standalone components and the workspace
22
+ * jobs themselves keep using their own build dir (unchanged keys).
23
+ */
24
+ const getCacheBaseDir = async (context) => {
25
+ var _a;
17
26
  const packageManagerInfo = await context.packageManagerInfo;
18
27
  const componentIsInWorkspace = context.type === "component" &&
19
28
  "componentIsInWorkspace" in packageManagerInfo &&
20
29
  packageManagerInfo.componentIsInWorkspace;
30
+ if (!componentIsInWorkspace)
31
+ return context.build.dir;
32
+ // the workspace build's dir when the component references one,
33
+ // otherwise the repo root (packageManager.ts resolves workspace
34
+ // membership against the root)
35
+ return context.build.type === "fromWorkspace"
36
+ ? ((_a = context.build.workspaceBuildConfig.dir) !== null && _a !== void 0 ? _a : ".")
37
+ : ".";
38
+ };
39
+ const getYarnCache = async (context, policy = "pull-push") => {
40
+ const baseDir = await getCacheBaseDir(context);
21
41
  return [
22
42
  {
23
- scope: componentIsInWorkspace ? "global" : "buildDir",
24
- pathMode: componentIsInWorkspace ? "absolute" : "relative",
43
+ scope: "buildDir",
44
+ pathMode: "relative",
45
+ buildDir: baseDir,
25
46
  key: "yarn",
26
47
  policy,
27
48
  paths: [".yarn"],
@@ -38,52 +59,28 @@ const getYarnCache = async (context, policy = "pull-push") => {
38
59
  };
39
60
  exports.getYarnCache = getYarnCache;
40
61
  const getNodeModulesCache = async (context, policy = "pull-push") => {
41
- var _a, _b;
42
62
  const packageManagerInfo = await context.packageManagerInfo;
43
- const componentIsInWorkspace = context.type === "component" &&
44
- "componentIsInWorkspace" in packageManagerInfo &&
45
- packageManagerInfo.componentIsInWorkspace;
46
- const { isClassic, workspaces } = packageManagerInfo;
63
+ const baseDir = await getCacheBaseDir(context);
64
+ const { isClassic } = packageManagerInfo;
47
65
  // We intentionally do not use the contents of yarn.lock as a cache key, as yarn install should always guarantee that the files are updated, but it can still use part of the cache if not all packages are up-to-date.
48
66
  // It would slow down all pipelines whenever one adds a new dependency as it will need to download all node_modules again.
49
67
  return [
50
68
  {
51
69
  scope: "global",
52
70
  pathMode: "absolute",
53
- // if component is in a shared workspace, use workspace cache. use individual cache else
54
- key: componentIsInWorkspace
55
- ? "node-modules-workspace"
56
- : (0, slugify_1.default)(context.build.dir) + "-node-modules", // we use the dirname, not the component name, because in certain cases we have two apps in the same directory and want to share the cache, e.g. when having storybook in the same package.json
71
+ // we use the dirname, not the component name, because in certain cases we have two apps in the same directory and want to share the cache, e.g. when having storybook in the same package.json
72
+ key: (0, slugify_1.default)(baseDir) + "-node-modules",
57
73
  // content-key for immutable-cache backends (github); the lockfile
58
74
  // decides whether the cached content could have changed (absolute
59
- // pathMode: resolve the standalone component's lockfile explicitly)
60
- keyFiles: [
61
- componentIsInWorkspace
62
- ? "yarn.lock"
63
- : (0, path_1.join)(context.build.dir, "yarn.lock"),
64
- ],
75
+ // pathMode: resolve the lockfile explicitly)
76
+ keyFiles: [(0, path_1.join)(baseDir, "yarn.lock")],
65
77
  // referenced by the yarn cache: an exact hit here makes the yarn
66
78
  // zips unnecessary (see redundantOnExactHitOf on getYarnCache)
67
79
  cacheId: NODE_MODULES_CACHE_ID,
68
80
  policy,
69
81
  paths: [
70
- ...(componentIsInWorkspace
71
- ? (0, lodash_es_1.uniq)([
72
- "node_modules",
73
- ...((_a = workspaces.map((w) => (0, path_1.join)(w.location, "node_modules"))) !== null && _a !== void 0 ? _a : []),
74
- ...(!isClassic
75
- ? [
76
- ".yarn/install-state.gz",
77
- ...((_b = workspaces.map((w) => (0, path_1.join)(w.location, ".yarn/install-state.gz"))) !== null && _b !== void 0 ? _b : []),
78
- ]
79
- : []),
80
- ])
81
- : [
82
- (0, path_1.join)(context.build.dir, "node_modules"),
83
- ...(!isClassic
84
- ? [(0, path_1.join)(context.build.dir, ".yarn/install-state.gz")]
85
- : []),
86
- ]),
82
+ (0, path_1.join)(baseDir, "node_modules"),
83
+ ...(!isClassic ? [(0, path_1.join)(baseDir, ".yarn/install-state.gz")] : []),
87
84
  ],
88
85
  },
89
86
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"cache.js","sourceRoot":"","sources":["../../../../../../../../packages/pipeline/src/build/node/cache.ts"],"names":[],"mappings":";;;;;;AAAA,yCAAiC;AACjC,+BAA4B;AAC5B,sDAA8B;AAK9B;;;;GAIG;AACH,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAEtC,MAAM,YAAY,GAAG,KAAK,EAC/B,OAAgB,EAChB,MAAM,GAAG,WAAW,EACI,EAAE;IAC1B,MAAM,kBAAkB,GAAG,MAAM,OAAO,CAAC,kBAAkB,CAAC;IAC5D,M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