@lage-run/cache-github-actions 0.1.26 → 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 +31 -1
- package/CHANGELOG.md +18 -2
- package/lib/cacheProvider.js +1 -1
- package/lib/cacheProvider.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,37 @@
|
|
|
2
2
|
"name": "@lage-run/cache-github-actions",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
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",
|
|
21
|
+
"version": "0.1.27",
|
|
22
|
+
"tag": "@lage-run/cache-github-actions_v0.1.27",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "renovate@whitesourcesoftware.com",
|
|
27
|
+
"package": "@lage-run/cache-github-actions",
|
|
28
|
+
"commit": "3d7ac61faadf82097fb2996431b537b2a9baa0e3",
|
|
29
|
+
"comment": "Update dependency workspace-tools to v0.40.0"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"date": "Thu, 07 Aug 2025 08:10:10 GMT",
|
|
6
36
|
"version": "0.1.26",
|
|
7
37
|
"tag": "@lage-run/cache-github-actions_v0.1.26",
|
|
8
38
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
1
|
# Change Log - @lage-run/cache-github-actions
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
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
|
+
|
|
15
|
+
## 0.1.27
|
|
16
|
+
|
|
17
|
+
Thu, 15 Jan 2026 23:24:00 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Update dependency workspace-tools to v0.40.0 (renovate@whitesourcesoftware.com)
|
|
22
|
+
|
|
7
23
|
## 0.1.26
|
|
8
24
|
|
|
9
|
-
Thu, 07 Aug 2025 08:
|
|
25
|
+
Thu, 07 Aug 2025 08:10:10 GMT
|
|
10
26
|
|
|
11
27
|
### Patches
|
|
12
28
|
|
package/lib/cacheProvider.js
CHANGED
|
@@ -16,7 +16,7 @@ function _interop_require_default(obj) {
|
|
|
16
16
|
default: obj
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
const root = (0, _workspacetools.
|
|
19
|
+
const root = (0, _workspacetools.getWorkspaceManagerRoot)(process.cwd());
|
|
20
20
|
const cacheProvider = {
|
|
21
21
|
provider: (_logger, cwd)=>{
|
|
22
22
|
return {
|
package/lib/cacheProvider.js.map
CHANGED
|
@@ -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 {
|
|
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.
|
|
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.
|
|
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"
|