@lage-run/cache-github-actions 0.1.27 → 0.1.28

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.json CHANGED
@@ -2,7 +2,22 @@
2
2
  "name": "@lage-run/cache-github-actions",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 15 Jan 2026 23:23:27 GMT",
5
+ "date": "Sat, 24 Jan 2026 09:00:58 GMT",
6
+ "version": "0.1.28",
7
+ "tag": "@lage-run/cache-github-actions_v0.1.28",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "email not defined",
12
+ "package": "@lage-run/cache-github-actions",
13
+ "commit": "092607a7d55561a9342ab3265ccab0142dd59b9b",
14
+ "comment": "Update dependency workspace-tools to v0.40.4 and fix deprecated API usage"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Thu, 15 Jan 2026 23:24:00 GMT",
6
21
  "version": "0.1.27",
7
22
  "tag": "@lage-run/cache-github-actions_v0.1.27",
8
23
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,20 @@
1
1
  # Change Log - @lage-run/cache-github-actions
2
2
 
3
- <!-- This log was last generated on Thu, 15 Jan 2026 23:23:27 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Sat, 24 Jan 2026 09:00:58 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.1.28
8
+
9
+ Sat, 24 Jan 2026 09:00:58 GMT
10
+
11
+ ### Patches
12
+
13
+ - Update dependency workspace-tools to v0.40.4 and fix deprecated API usage (email not defined)
14
+
7
15
  ## 0.1.27
8
16
 
9
- Thu, 15 Jan 2026 23:23:27 GMT
17
+ Thu, 15 Jan 2026 23:24:00 GMT
10
18
 
11
19
  ### Patches
12
20
 
@@ -16,7 +16,7 @@ function _interop_require_default(obj) {
16
16
  default: obj
17
17
  };
18
18
  }
19
- const root = (0, _workspacetools.getWorkspaceRoot)(process.cwd());
19
+ const root = (0, _workspacetools.getWorkspaceManagerRoot)(process.cwd());
20
20
  const cacheProvider = {
21
21
  provider: (_logger, cwd)=>{
22
22
  return {
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/cacheProvider.ts"],"sourcesContent":["import cache from \"@actions/cache\";\nimport type { CustomStorageConfig } from \"backfill-config\";\nimport type { Logger } from \"backfill-logger\";\nimport path from \"path\";\nimport { getWorkspaceRoot } from \"workspace-tools\";\n\nconst root = getWorkspaceRoot(process.cwd())!;\n\nconst cacheProvider: CustomStorageConfig = {\n provider: (_logger: Logger, cwd: string) => {\n return {\n async fetch(hash: string): Promise<boolean> {\n if (!hash) {\n return false;\n }\n\n const paths = [path.relative(root, path.join(cwd, \"**\"))];\n const restoreKeys = [\"lage-\"];\n\n const cacheKey = await cache.restoreCache(paths, hash, restoreKeys);\n\n return !!cacheKey;\n },\n\n async put(hash: string, filesToCache: string[]): Promise<void> {\n if (!hash) {\n return;\n }\n\n const paths = filesToCache.map((files) => path.relative(root, path.join(cwd, files)));\n\n await cache.saveCache(paths, hash);\n },\n };\n },\n name: \"github-actions\",\n};\n\nexport { cacheProvider };\n"],"names":["cacheProvider","root","getWorkspaceRoot","process","cwd","provider","_logger","fetch","hash","paths","path","relative","join","restoreKeys","cacheKey","cache","restoreCache","put","filesToCache","map","files","saveCache","name"],"mappings":";;;;+BAsCSA;;;eAAAA;;;8DAtCS;6DAGD;gCACgB;;;;;;AAEjC,MAAMC,OAAOC,IAAAA,gCAAgB,EAACC,QAAQC,GAAG;AAEzC,MAAMJ,gBAAqC;IACzCK,UAAU,CAACC,SAAiBF;QAC1B,OAAO;YACL,MAAMG,OAAMC,IAAY;gBACtB,IAAI,CAACA,MAAM;oBACT,OAAO;gBACT;gBAEA,MAAMC,QAAQ;oBAACC,aAAI,CAACC,QAAQ,CAACV,MAAMS,aAAI,CAACE,IAAI,CAACR,KAAK;iBAAO;gBACzD,MAAMS,cAAc;oBAAC;iBAAQ;gBAE7B,MAAMC,WAAW,MAAMC,cAAK,CAACC,YAAY,CAACP,OAAOD,MAAMK;gBAEvD,OAAO,CAAC,CAACC;YACX;YAEA,MAAMG,KAAIT,IAAY,EAAEU,YAAsB;gBAC5C,IAAI,CAACV,MAAM;oBACT;gBACF;gBAEA,MAAMC,QAAQS,aAAaC,GAAG,CAAC,CAACC,QAAUV,aAAI,CAACC,QAAQ,CAACV,MAAMS,aAAI,CAACE,IAAI,CAACR,KAAKgB;gBAE7E,MAAML,cAAK,CAACM,SAAS,CAACZ,OAAOD;YAC/B;QACF;IACF;IACAc,MAAM;AACR"}
1
+ {"version":3,"sources":["../src/cacheProvider.ts"],"sourcesContent":["import cache from \"@actions/cache\";\nimport type { CustomStorageConfig } from \"backfill-config\";\nimport type { Logger } from \"backfill-logger\";\nimport path from \"path\";\nimport { getWorkspaceManagerRoot } from \"workspace-tools\";\n\nconst root = getWorkspaceManagerRoot(process.cwd())!;\n\nconst cacheProvider: CustomStorageConfig = {\n provider: (_logger: Logger, cwd: string) => {\n return {\n async fetch(hash: string): Promise<boolean> {\n if (!hash) {\n return false;\n }\n\n const paths = [path.relative(root, path.join(cwd, \"**\"))];\n const restoreKeys = [\"lage-\"];\n\n const cacheKey = await cache.restoreCache(paths, hash, restoreKeys);\n\n return !!cacheKey;\n },\n\n async put(hash: string, filesToCache: string[]): Promise<void> {\n if (!hash) {\n return;\n }\n\n const paths = filesToCache.map((files) => path.relative(root, path.join(cwd, files)));\n\n await cache.saveCache(paths, hash);\n },\n };\n },\n name: \"github-actions\",\n};\n\nexport { cacheProvider };\n"],"names":["cacheProvider","root","getWorkspaceManagerRoot","process","cwd","provider","_logger","fetch","hash","paths","path","relative","join","restoreKeys","cacheKey","cache","restoreCache","put","filesToCache","map","files","saveCache","name"],"mappings":";;;;+BAsCSA;;;eAAAA;;;8DAtCS;6DAGD;gCACuB;;;;;;AAExC,MAAMC,OAAOC,IAAAA,uCAAuB,EAACC,QAAQC,GAAG;AAEhD,MAAMJ,gBAAqC;IACzCK,UAAU,CAACC,SAAiBF;QAC1B,OAAO;YACL,MAAMG,OAAMC,IAAY;gBACtB,IAAI,CAACA,MAAM;oBACT,OAAO;gBACT;gBAEA,MAAMC,QAAQ;oBAACC,aAAI,CAACC,QAAQ,CAACV,MAAMS,aAAI,CAACE,IAAI,CAACR,KAAK;iBAAO;gBACzD,MAAMS,cAAc;oBAAC;iBAAQ;gBAE7B,MAAMC,WAAW,MAAMC,cAAK,CAACC,YAAY,CAACP,OAAOD,MAAMK;gBAEvD,OAAO,CAAC,CAACC;YACX;YAEA,MAAMG,KAAIT,IAAY,EAAEU,YAAsB;gBAC5C,IAAI,CAACV,MAAM;oBACT;gBACF;gBAEA,MAAMC,QAAQS,aAAaC,GAAG,CAAC,CAACC,QAAUV,aAAI,CAACC,QAAQ,CAACV,MAAMS,aAAI,CAACE,IAAI,CAACR,KAAKgB;gBAE7E,MAAML,cAAK,CAACM,SAAS,CAACZ,OAAOD;YAC/B;QACF;IACF;IACAc,MAAM;AACR"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lage-run/cache-github-actions",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "description": "Github Action Cache for Lage",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,10 +16,10 @@
16
16
  "lint": "monorepo-scripts lint"
17
17
  },
18
18
  "dependencies": {
19
- "@actions/cache": "3.3.0",
20
- "backfill-config": "6.7.1",
21
- "backfill-logger": "5.4.0",
22
- "workspace-tools": "0.40.0"
19
+ "@actions/cache": "^3.3.0",
20
+ "backfill-config": "^6.7.1",
21
+ "backfill-logger": "^5.4.0",
22
+ "workspace-tools": "^0.40.4"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@lage-run/monorepo-scripts": "^1.0.0"