@lage-run/config 0.4.13 → 0.4.15

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,37 @@
2
2
  "name": "@lage-run/config",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 17 Apr 2025 08:09:27 GMT",
5
+ "date": "Tue, 29 Apr 2025 08:09:46 GMT",
6
+ "version": "0.4.15",
7
+ "tag": "@lage-run/config_v0.4.15",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "elcraig@microsoft.com",
12
+ "package": "@lage-run/config",
13
+ "commit": "8cd955ef4910abb9fff6f0de40255fe842847a79",
14
+ "comment": "Make CacheOptions properties optional and document them"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Sat, 26 Apr 2025 08:08:38 GMT",
21
+ "version": "0.4.14",
22
+ "tag": "@lage-run/config_v0.4.14",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "elcraig@microsoft.com",
27
+ "package": "@lage-run/config",
28
+ "commit": "31b9b2861d9aa59d8dd5b6b2ceb2444b11198694",
29
+ "comment": "Remove incorrect bin entries"
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ {
35
+ "date": "Thu, 17 Apr 2025 08:10:01 GMT",
6
36
  "version": "0.4.13",
7
37
  "tag": "@lage-run/config_v0.4.13",
8
38
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,28 @@
1
1
  # Change Log - @lage-run/config
2
2
 
3
- <!-- This log was last generated on Thu, 17 Apr 2025 08:09:27 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Tue, 29 Apr 2025 08:09:46 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.4.15
8
+
9
+ Tue, 29 Apr 2025 08:09:46 GMT
10
+
11
+ ### Patches
12
+
13
+ - Make CacheOptions properties optional and document them (elcraig@microsoft.com)
14
+
15
+ ## 0.4.14
16
+
17
+ Sat, 26 Apr 2025 08:08:38 GMT
18
+
19
+ ### Patches
20
+
21
+ - Remove incorrect bin entries (elcraig@microsoft.com)
22
+
7
23
  ## 0.4.13
8
24
 
9
- Thu, 17 Apr 2025 08:09:27 GMT
25
+ Thu, 17 Apr 2025 08:10:01 GMT
10
26
 
11
27
  ### Patches
12
28
 
@@ -1,10 +1,27 @@
1
1
  import type { Config as BackfillCacheOptions, CustomStorageConfig } from "backfill-config";
2
- export type LageBackfillCacheOptions = Omit<BackfillCacheOptions, "cacheStorageConfig"> & {
3
- cacheStorageConfig: Exclude<BackfillCacheOptions["cacheStorageConfig"], CustomStorageConfig>;
4
- };
5
- export type CacheOptions = LageBackfillCacheOptions & {
6
- environmentGlob: string[];
7
- cacheKey: string;
8
- writeRemoteCache: boolean;
9
- skipLocalCache: boolean;
2
+ export type CacheOptions = Omit<BackfillCacheOptions, "cacheStorageConfig"> & {
3
+ /**
4
+ * Use this to specify a remote cache provider such as `'azure-blob'`.
5
+ * @see https://github.com/microsoft/backfill#configuration
6
+ */
7
+ cacheStorageConfig?: Exclude<BackfillCacheOptions["cacheStorageConfig"], CustomStorageConfig>;
8
+ /**
9
+ * Whether to write to the remote cache - useful for continuous integration systems to provide build-over-build cache.
10
+ * It is recommended to turn this OFF for local development, turning remote cache to be a build acceleration through remote cache downloads.
11
+ */
12
+ writeRemoteCache?: boolean;
13
+ /**
14
+ * Skips local cache entirely - useful for continous integration systems that only relies on a remote cache.
15
+ */
16
+ skipLocalCache?: boolean;
17
+ /**
18
+ * A list of globs to match files whose contents will determine the cache key in addition to the package file contents
19
+ * The globs are relative to the root of the project.
20
+ */
21
+ environmentGlob?: string[];
22
+ /**
23
+ * The cache key is a custom string that will be concatenated with the package file contents and the environment glob contents
24
+ * to generate the cache key.
25
+ */
26
+ cacheKey?: string;
10
27
  };
package/package.json CHANGED
@@ -1,15 +1,12 @@
1
1
  {
2
2
  "name": "@lage-run/config",
3
- "version": "0.4.13",
3
+ "version": "0.4.15",
4
4
  "description": "Config management for Lage",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/microsoft/lage"
8
8
  },
9
9
  "homepage": "https://microsoft.github.io/lage/",
10
- "bin": {
11
- "lage": "./bin/lage"
12
- },
13
10
  "license": "MIT",
14
11
  "main": "lib/index.js",
15
12
  "types": "lib/index.d.ts",