@catladder/cli 0.0.0-refactor-cache-b38c122b → 0.0.0-refactor-cache-5eaa74d2
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/dist/bundles/catenv/index.js +2 -0
- package/dist/bundles/cli/index.js +2 -0
- package/dist/pipeline/src/build/cache/getAllCacheConfigsFromConfig.js +2 -0
- package/dist/pipeline/src/build/cache/getAllCacheConfigsFromConfig.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1377,6 +1377,8 @@ const getAllCacheConfigsFromConfig = (context, configWithCache) => {
|
|
|
1377
1377
|
...(0, index_1.ensureArray)(configWithCache.cache),
|
|
1378
1378
|
...(context.type === "workspace"
|
|
1379
1379
|
? // also add cache configs of the components of that workspace
|
|
1380
|
+
// FIXNME: this only works currently for the build config
|
|
1381
|
+
// we would probably need to introduce a path to the right config property (build-->test or so)
|
|
1380
1382
|
context.components.flatMap((componentContext) => {
|
|
1381
1383
|
var _a;
|
|
1382
1384
|
return (_a = (0, index_1.ensureArray)(componentContext.build.config.cache).map((c) => ({
|
|
@@ -4545,6 +4545,8 @@ const getAllCacheConfigsFromConfig = (context, configWithCache) => {
|
|
|
4545
4545
|
...(0, index_1.ensureArray)(configWithCache.cache),
|
|
4546
4546
|
...(context.type === "workspace"
|
|
4547
4547
|
? // also add cache configs of the components of that workspace
|
|
4548
|
+
// FIXNME: this only works currently for the build config
|
|
4549
|
+
// we would probably need to introduce a path to the right config property (build-->test or so)
|
|
4548
4550
|
context.components.flatMap((componentContext) => {
|
|
4549
4551
|
var _a;
|
|
4550
4552
|
return (_a = (0, index_1.ensureArray)(componentContext.build.config.cache).map((c) => ({
|
|
@@ -11,6 +11,8 @@ const getAllCacheConfigsFromConfig = (context, configWithCache) => {
|
|
|
11
11
|
...(0, index_1.ensureArray)(configWithCache.cache),
|
|
12
12
|
...(context.type === "workspace"
|
|
13
13
|
? // also add cache configs of the components of that workspace
|
|
14
|
+
// FIXNME: this only works currently for the build config
|
|
15
|
+
// we would probably need to introduce a path to the right config property (build-->test or so)
|
|
14
16
|
context.components.flatMap((componentContext) => {
|
|
15
17
|
var _a;
|
|
16
18
|
return (_a = (0, index_1.ensureArray)(componentContext.build.config.cache).map((c) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAllCacheConfigsFromConfig.js","sourceRoot":"","sources":["../../../../../../pipeline/src/build/cache/getAllCacheConfigsFromConfig.ts"],"names":[],"mappings":";;;AACA,6CAAgD;AAEhD,uEAAoE;AAE7D,MAAM,4BAA4B,GAAG,CAC1C,OAAgB,EAChB,eAAgC,EACjB,EAAE;IACjB,OAAO;QACL,GAAG,CAAC,UAAU,IAAI,eAAe;YAC/B,CAAC,CAAC,IAAA,iDAAuB,EAAC,eAAe,CAAC,QAAQ,CAAC;YACnD,CAAC,CAAC,EAAE,CAAC;QACP,GAAG,IAAA,mBAAW,EAAC,eAAe,CAAC,KAAK,CAAC;QACrC,GAAG,CAAC,OAAO,CAAC,IAAI,KAAK,WAAW;YAC9B,CAAC,CAAC,6DAA6D;gBAC7D,OAAO,CAAC,UAAU,CAAC,OAAO,CACxB,CAAC,gBAAgB,EAAE,EAAE;;oBACnB,OAAA,MAAA,IAAA,mBAAW,EAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;wBAC3D,GAAG,CAAC;wBACJ,OAAO,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAAG;qBACpC,CAAC,CAAC,mCAAI,EAAE,CAAA;iBAAA,CACZ;YACH,CAAC,CAAC,EAAE,CAAC;KACR,CAAC;AACJ,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"getAllCacheConfigsFromConfig.js","sourceRoot":"","sources":["../../../../../../pipeline/src/build/cache/getAllCacheConfigsFromConfig.ts"],"names":[],"mappings":";;;AACA,6CAAgD;AAEhD,uEAAoE;AAE7D,MAAM,4BAA4B,GAAG,CAC1C,OAAgB,EAChB,eAAgC,EACjB,EAAE;IACjB,OAAO;QACL,GAAG,CAAC,UAAU,IAAI,eAAe;YAC/B,CAAC,CAAC,IAAA,iDAAuB,EAAC,eAAe,CAAC,QAAQ,CAAC;YACnD,CAAC,CAAC,EAAE,CAAC;QACP,GAAG,IAAA,mBAAW,EAAC,eAAe,CAAC,KAAK,CAAC;QACrC,GAAG,CAAC,OAAO,CAAC,IAAI,KAAK,WAAW;YAC9B,CAAC,CAAC,6DAA6D;gBAC7D,yDAAyD;gBACzD,+FAA+F;gBAC/F,OAAO,CAAC,UAAU,CAAC,OAAO,CACxB,CAAC,gBAAgB,EAAE,EAAE;;oBACnB,OAAA,MAAA,IAAA,mBAAW,EAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;wBAC3D,GAAG,CAAC;wBACJ,OAAO,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAAG;qBACpC,CAAC,CAAC,mCAAI,EAAE,CAAA;iBAAA,CACZ;YACH,CAAC,CAAC,EAAE,CAAC;KACR,CAAC;AACJ,CAAC,CAAC;AAtBW,QAAA,4BAA4B,gCAsBvC"}
|