@lage-run/cache 0.1.7 → 0.1.9
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/README.md +16 -0
- package/package.json +3 -3
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,37 @@
|
|
|
2
2
|
"name": "@lage-run/cache",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Fri, 16 Sep 2022 01:32:13 GMT",
|
|
6
|
+
"tag": "@lage-run/cache_v0.1.9",
|
|
7
|
+
"version": "0.1.9",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "renovate@whitesourcesoftware.com",
|
|
12
|
+
"package": "@lage-run/cache",
|
|
13
|
+
"commit": "b509683b29885c254d2ffa3c18d60cba20371f90",
|
|
14
|
+
"comment": "Update dependency mock-fs to v5.1.4"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Tue, 06 Sep 2022 20:10:16 GMT",
|
|
21
|
+
"tag": "@lage-run/cache_v0.1.8",
|
|
22
|
+
"version": "0.1.8",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "beachball",
|
|
27
|
+
"package": "@lage-run/cache",
|
|
28
|
+
"comment": "Bump @lage-run/target-graph to v0.3.1",
|
|
29
|
+
"commit": "f349df7d144cbe2a575c6dc7cc34fd30c1ccf035"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"date": "Sun, 04 Sep 2022 23:00:20 GMT",
|
|
6
36
|
"tag": "@lage-run/cache_v0.1.7",
|
|
7
37
|
"version": "0.1.7",
|
|
8
38
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
1
|
# Change Log - @lage-run/cache
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 16 Sep 2022 01:32:13 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.1.9
|
|
8
|
+
|
|
9
|
+
Fri, 16 Sep 2022 01:32:13 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Update dependency mock-fs to v5.1.4 (renovate@whitesourcesoftware.com)
|
|
14
|
+
|
|
15
|
+
## 0.1.8
|
|
16
|
+
|
|
17
|
+
Tue, 06 Sep 2022 20:10:16 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Bump @lage-run/target-graph to v0.3.1
|
|
22
|
+
|
|
7
23
|
## 0.1.7
|
|
8
24
|
|
|
9
|
-
Sun, 04 Sep 2022 23:00:
|
|
25
|
+
Sun, 04 Sep 2022 23:00:20 GMT
|
|
10
26
|
|
|
11
27
|
### Patches
|
|
12
28
|
|
package/README.md
CHANGED
|
@@ -68,3 +68,19 @@ if (target.cache && !skipCaching) {
|
|
|
68
68
|
|
|
69
69
|
await cacheProvider.put(hash, target);
|
|
70
70
|
```
|
|
71
|
+
|
|
72
|
+
## Differentiating Cache
|
|
73
|
+
To specifically differentiate the hash generated for the cache, between different steps the parameter `cacheKey` can be used. The parameter will be a part of the hash generation for the cache, and generated hash can be altered by modifying the parameter.
|
|
74
|
+
|
|
75
|
+
### Usage
|
|
76
|
+
Add the parameter in your `lage.config.js` as follows
|
|
77
|
+
|
|
78
|
+
```ts
|
|
79
|
+
{
|
|
80
|
+
cacheOptions: {
|
|
81
|
+
cacheKey: "some cache key"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lage-run/cache",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "Cache for Lage",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/microsoft/lage"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"lint": "monorepo-scripts lint"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@lage-run/target-graph": "^0.3.
|
|
18
|
+
"@lage-run/target-graph": "^0.3.1",
|
|
19
19
|
"@lage-run/logger": "^1.2.0",
|
|
20
20
|
"backfill-config": "^6.3.0",
|
|
21
21
|
"backfill-cache": "^5.6.1",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@types/mock-fs": "^4.13.1",
|
|
31
31
|
"@types/node": "14.18.26",
|
|
32
32
|
"monorepo-scripts": "*",
|
|
33
|
-
"mock-fs": "
|
|
33
|
+
"mock-fs": "5.1.4"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|