@lage-run/cache-github-actions 0.1.21 → 0.1.23
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 +46 -1
- package/CHANGELOG.md +18 -2
- package/lib/cacheProvider.js.map +1 -0
- package/lib/index.js.map +1 -0
- package/package.json +4 -4
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,52 @@
|
|
|
2
2
|
"name": "@lage-run/cache-github-actions",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Wed, 02 Apr 2025 08:09:42 GMT",
|
|
6
|
+
"version": "0.1.23",
|
|
7
|
+
"tag": "@lage-run/cache-github-actions_v0.1.23",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "renovate@whitesourcesoftware.com",
|
|
12
|
+
"package": "@lage-run/cache-github-actions",
|
|
13
|
+
"commit": "54e957d6b93381285d67ff8c23e134770b7a1512",
|
|
14
|
+
"comment": "Update dependency @actions/cache to v3.3.0"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Sat, 29 Mar 2025 02:16:38 GMT",
|
|
21
|
+
"version": "0.1.22",
|
|
22
|
+
"tag": "@lage-run/cache-github-actions_v0.1.22",
|
|
23
|
+
"comments": {
|
|
24
|
+
"none": [
|
|
25
|
+
{
|
|
26
|
+
"author": "elcraig@microsoft.com",
|
|
27
|
+
"package": "@lage-run/cache-github-actions",
|
|
28
|
+
"commit": "a680ab60dcddd84808f223a1b5f38a16e868b66f",
|
|
29
|
+
"comment": "Sync versions, and use workspace:^ versions for local deps"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"date": "Wed, 20 Nov 2024 08:12:37 GMT",
|
|
36
|
+
"version": "0.1.22",
|
|
37
|
+
"tag": "@lage-run/cache-github-actions_v0.1.22",
|
|
38
|
+
"comments": {
|
|
39
|
+
"patch": [
|
|
40
|
+
{
|
|
41
|
+
"author": "email not defined",
|
|
42
|
+
"package": "@lage-run/cache-github-actions",
|
|
43
|
+
"commit": "c6e9f4e5339a897dd06a54fe528a1fadd75db243",
|
|
44
|
+
"comment": "Update dependency workspace-tools to v0.38.1"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"date": "Tue, 22 Oct 2024 15:19:29 GMT",
|
|
6
51
|
"version": "0.1.21",
|
|
7
52
|
"tag": "@lage-run/cache-github-actions_v0.1.21",
|
|
8
53
|
"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 Wed, 02 Apr 2025 08:09:42 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.1.23
|
|
8
|
+
|
|
9
|
+
Wed, 02 Apr 2025 08:09:42 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Update dependency @actions/cache to v3.3.0 (renovate@whitesourcesoftware.com)
|
|
14
|
+
|
|
15
|
+
## 0.1.22
|
|
16
|
+
|
|
17
|
+
Wed, 20 Nov 2024 08:12:37 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Update dependency workspace-tools to v0.38.1 (email not defined)
|
|
22
|
+
|
|
7
23
|
## 0.1.21
|
|
8
24
|
|
|
9
|
-
Tue, 22 Oct 2024 15:
|
|
25
|
+
Tue, 22 Oct 2024 15:19:29 GMT
|
|
10
26
|
|
|
11
27
|
### Patches
|
|
12
28
|
|
|
@@ -0,0 +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"}
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { cacheProvider as default } from \"./cacheProvider.js\";\n"],"names":["default","cacheProvider"],"mappings":";;;;+BAA0BA;;;eAAjBC,4BAAa;;;+BAAmB"}
|
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.23",
|
|
4
4
|
"description": "Github Action Cache for Lage",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
"lint": "monorepo-scripts lint"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@actions/cache": "3.
|
|
19
|
+
"@actions/cache": "3.3.0",
|
|
20
20
|
"backfill-config": "6.4.2",
|
|
21
21
|
"backfill-logger": "5.2.1",
|
|
22
|
-
"workspace-tools": "0.
|
|
22
|
+
"workspace-tools": "0.38.1"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@lage-run/monorepo-scripts": "
|
|
25
|
+
"@lage-run/monorepo-scripts": "^1.0.0"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|