lage 2.14.4 → 2.14.6
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/index.d.ts +25 -8
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -4,14 +4,31 @@
|
|
|
4
4
|
|
|
5
5
|
import { Config as BackfillCacheOptions, CustomStorageConfig } from './backfill-config.js';
|
|
6
6
|
|
|
7
|
-
type
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
7
|
+
export type CacheOptions = Omit<BackfillCacheOptions, "cacheStorageConfig"> & {
|
|
8
|
+
/**
|
|
9
|
+
* Use this to specify a remote cache provider such as `'azure-blob'`.
|
|
10
|
+
* @see https://github.com/microsoft/backfill#configuration
|
|
11
|
+
*/
|
|
12
|
+
cacheStorageConfig?: Exclude<BackfillCacheOptions["cacheStorageConfig"], CustomStorageConfig>;
|
|
13
|
+
/**
|
|
14
|
+
* Whether to write to the remote cache - useful for continuous integration systems to provide build-over-build cache.
|
|
15
|
+
* It is recommended to turn this OFF for local development, turning remote cache to be a build acceleration through remote cache downloads.
|
|
16
|
+
*/
|
|
17
|
+
writeRemoteCache?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Skips local cache entirely - useful for continous integration systems that only relies on a remote cache.
|
|
20
|
+
*/
|
|
21
|
+
skipLocalCache?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* A list of globs to match files whose contents will determine the cache key in addition to the package file contents
|
|
24
|
+
* The globs are relative to the root of the project.
|
|
25
|
+
*/
|
|
26
|
+
environmentGlob?: string[];
|
|
27
|
+
/**
|
|
28
|
+
* The cache key is a custom string that will be concatenated with the package file contents and the environment glob contents
|
|
29
|
+
* to generate the cache key.
|
|
30
|
+
*/
|
|
31
|
+
cacheKey?: string;
|
|
15
32
|
};
|
|
16
33
|
export interface Priority {
|
|
17
34
|
/** package name, as in package.json */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lage",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.6",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/microsoft/lage"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"fsevents": "~2.3.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@lage-run/cli": "^0.31.
|
|
26
|
+
"@lage-run/cli": "^0.31.5",
|
|
27
27
|
"@lage-run/runners": "^1.2.2",
|
|
28
28
|
"backfill-config": "6.6.0",
|
|
29
29
|
"dts-bundle-generator": "^9.5.1",
|