@lage-run/config 0.2.1 → 0.3.0

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,22 @@
2
2
  "name": "@lage-run/config",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 08 May 2023 22:26:52 GMT",
5
+ "date": "Thu, 25 May 2023 15:45:38 GMT",
6
+ "tag": "@lage-run/config_v0.3.0",
7
+ "version": "0.3.0",
8
+ "comments": {
9
+ "minor": [
10
+ {
11
+ "author": "altinokd@microsoft.com",
12
+ "package": "@lage-run/config",
13
+ "commit": "c2bf5ab7a31c05a11e9488a92d58ef0f74bc3e9d",
14
+ "comment": "Do not read config in targetWorker, instead pass CacheOptions as part of workerdata"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Mon, 08 May 2023 22:27:16 GMT",
6
21
  "tag": "@lage-run/config_v0.2.1",
7
22
  "version": "0.2.1",
8
23
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,20 @@
1
1
  # Change Log - @lage-run/config
2
2
 
3
- This log was last generated on Mon, 08 May 2023 22:26:52 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 25 May 2023 15:45:38 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.3.0
8
+
9
+ Thu, 25 May 2023 15:45:38 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - Do not read config in targetWorker, instead pass CacheOptions as part of workerdata (altinokd@microsoft.com)
14
+
7
15
  ## 0.2.1
8
16
 
9
- Mon, 08 May 2023 22:26:52 GMT
17
+ Mon, 08 May 2023 22:27:16 GMT
10
18
 
11
19
  ### Patches
12
20
 
@@ -1,5 +1,8 @@
1
- import type { Config as BackfillCacheOptions } from "backfill-config";
2
- export type CacheOptions = BackfillCacheOptions & {
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 & {
3
6
  environmentGlob: string[];
4
7
  cacheKey: string;
5
8
  writeRemoteCache: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lage-run/config",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "Config management for Lage",
5
5
  "repository": {
6
6
  "type": "git",