@lage-run/config 0.7.1 → 0.7.3

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.
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/getMaxWorkersPerTask.ts"],"sourcesContent":["import type { ConfigOptions } from \"./types/ConfigOptions.js\";\n\nexport function getMaxWorkersPerTask(pipelineConfig: ConfigOptions[\"pipeline\"], concurrency: number) {\n const maxWorkersPerTask = new Map<string, number>();\n\n let generalPoolCount = 0;\n let generatelPoolMaxWorkers = 0;\n\n let dedicatedPoolCount = 0;\n let dedicatedPoolMaxWorkers = 0;\n\n for (const [task, taskConfig] of Object.entries(pipelineConfig)) {\n if (!Array.isArray(taskConfig) && !task.includes(\"#\")) {\n const maxWorkerOption: number | undefined = taskConfig.maxWorkers ?? taskConfig.options?.maxWorkers;\n\n if (typeof maxWorkerOption === \"undefined\") {\n generalPoolCount++;\n continue;\n }\n\n let maxWorkers = 0;\n\n if (typeof maxWorkerOption !== \"number\") {\n throw new Error(`Invalid maxWorkers value: ${maxWorkerOption}`);\n } else {\n maxWorkers = maxWorkerOption;\n }\n\n maxWorkersPerTask.set(task, maxWorkers);\n dedicatedPoolCount++;\n dedicatedPoolMaxWorkers += maxWorkers;\n }\n }\n\n if (dedicatedPoolCount > 0 && generalPoolCount > 0) {\n const avgMaxWorkers = dedicatedPoolMaxWorkers / dedicatedPoolCount;\n generatelPoolMaxWorkers = Math.max(1, Math.floor(avgMaxWorkers * generalPoolCount));\n }\n\n const grandTotal = dedicatedPoolMaxWorkers + generatelPoolMaxWorkers;\n\n // try to adjust the maxWorkersPerTask to fit the concurrency\n if (grandTotal > concurrency) {\n let newTotal = 0;\n for (const [task, maxWorkers] of maxWorkersPerTask.entries()) {\n const newMaxWorkers = Math.max(1, Math.floor((maxWorkers / grandTotal) * concurrency));\n newTotal += newMaxWorkers;\n maxWorkersPerTask.set(task, newMaxWorkers);\n }\n\n if (newTotal > concurrency) {\n throw new Error(\n \"Could not adjust maxWorkers per task to fit the concurrency, try reducing the maxWorkers, or increasing the --concurrency CLI argument, or separate the tasks to be run\"\n );\n }\n }\n\n return maxWorkersPerTask;\n}\n\nexport function getMaxWorkersPerTaskFromOptions(maxWorkersPerTask: string[]) {\n return new Map([\n ...maxWorkersPerTask.map((setting) => {\n const [task, maxWorkers] = setting.split(/[=:]/);\n return [task, parseInt(maxWorkers, 10)] as [string, number];\n }),\n ]);\n}\n"],"names":["getMaxWorkersPerTask","getMaxWorkersPerTaskFromOptions","pipelineConfig","concurrency","maxWorkersPerTask","Map","generalPoolCount","generatelPoolMaxWorkers","dedicatedPoolCount","dedicatedPoolMaxWorkers","task","taskConfig","Object","entries","Array","isArray","includes","maxWorkerOption","maxWorkers","options","Error","set","avgMaxWorkers","Math","max","floor","grandTotal","newTotal","newMaxWorkers","map","setting","split","parseInt"],"mappings":";;;;;;;;;;;QAEgBA;eAAAA;;QA0DAC;eAAAA;;;AA1DT,SAASD,qBAAqBE,cAAyC,EAAEC,WAAmB;IACjG,MAAMC,oBAAoB,IAAIC;IAE9B,IAAIC,mBAAmB;IACvB,IAAIC,0BAA0B;IAE9B,IAAIC,qBAAqB;IACzB,IAAIC,0BAA0B;IAE9B,KAAK,MAAM,CAACC,MAAMC,WAAW,IAAIC,OAAOC,OAAO,CAACX,gBAAiB;QAC/D,IAAI,CAACY,MAAMC,OAAO,CAACJ,eAAe,CAACD,KAAKM,QAAQ,CAAC,MAAM;YACrD,MAAMC,kBAAsCN,WAAWO,UAAU,IAAIP,WAAWQ,OAAO,EAAED;YAEzF,IAAI,OAAOD,oBAAoB,aAAa;gBAC1CX;gBACA;YACF;YAEA,IAAIY,aAAa;YAEjB,IAAI,OAAOD,oBAAoB,UAAU;gBACvC,MAAM,IAAIG,MAAM,CAAC,0BAA0B,EAAEH,iBAAiB;YAChE,OAAO;gBACLC,aAAaD;YACf;YAEAb,kBAAkBiB,GAAG,CAACX,MAAMQ;YAC5BV;YACAC,2BAA2BS;QAC7B;IACF;IAEA,IAAIV,qBAAqB,KAAKF,mBAAmB,GAAG;QAClD,MAAMgB,gBAAgBb,0BAA0BD;QAChDD,0BAA0BgB,KAAKC,GAAG,CAAC,GAAGD,KAAKE,KAAK,CAACH,gBAAgBhB;IACnE;IAEA,MAAMoB,aAAajB,0BAA0BF;IAE7C,6DAA6D;IAC7D,IAAImB,aAAavB,aAAa;QAC5B,IAAIwB,WAAW;QACf,KAAK,MAAM,CAACjB,MAAMQ,WAAW,IAAId,kBAAkBS,OAAO,GAAI;YAC5D,MAAMe,gBAAgBL,KAAKC,GAAG,CAAC,GAAGD,KAAKE,KAAK,CAAC,AAACP,aAAaQ,aAAcvB;YACzEwB,YAAYC;YACZxB,kBAAkBiB,GAAG,CAACX,MAAMkB;QAC9B;QAEA,IAAID,WAAWxB,aAAa;YAC1B,MAAM,IAAIiB,MACR;QAEJ;IACF;IAEA,OAAOhB;AACT;AAEO,SAASH,gCAAgCG,iBAA2B;IACzE,OAAO,IAAIC,IAAI;WACVD,kBAAkByB,GAAG,CAAC,CAACC;YACxB,MAAM,CAACpB,MAAMQ,WAAW,GAAGY,QAAQC,KAAK,CAAC;YACzC,OAAO;gBAACrB;gBAAMsB,SAASd,YAAY;aAAI;QACzC;KACD;AACH"}
1
+ {"version":3,"sources":["../src/getMaxWorkersPerTask.ts"],"sourcesContent":["import type { ConfigOptions } from \"./types/ConfigOptions.js\";\n\nexport function getMaxWorkersPerTask(pipelineConfig: ConfigOptions[\"pipeline\"], concurrency: number): Map<string, number> {\n const maxWorkersPerTask = new Map<string, number>();\n\n let generalPoolCount = 0;\n let generatelPoolMaxWorkers = 0;\n\n let dedicatedPoolCount = 0;\n let dedicatedPoolMaxWorkers = 0;\n\n for (const [task, taskConfig] of Object.entries(pipelineConfig)) {\n if (!Array.isArray(taskConfig) && !task.includes(\"#\")) {\n const maxWorkerOption: number | undefined = taskConfig.maxWorkers ?? taskConfig.options?.maxWorkers;\n\n if (typeof maxWorkerOption === \"undefined\") {\n generalPoolCount++;\n continue;\n }\n\n let maxWorkers = 0;\n\n if (typeof maxWorkerOption !== \"number\") {\n throw new Error(`Invalid maxWorkers value: ${maxWorkerOption}`);\n } else {\n maxWorkers = maxWorkerOption;\n }\n\n maxWorkersPerTask.set(task, maxWorkers);\n dedicatedPoolCount++;\n dedicatedPoolMaxWorkers += maxWorkers;\n }\n }\n\n if (dedicatedPoolCount > 0 && generalPoolCount > 0) {\n const avgMaxWorkers = dedicatedPoolMaxWorkers / dedicatedPoolCount;\n generatelPoolMaxWorkers = Math.max(1, Math.floor(avgMaxWorkers * generalPoolCount));\n }\n\n const grandTotal = dedicatedPoolMaxWorkers + generatelPoolMaxWorkers;\n\n // try to adjust the maxWorkersPerTask to fit the concurrency\n if (grandTotal > concurrency) {\n let newTotal = 0;\n for (const [task, maxWorkers] of maxWorkersPerTask.entries()) {\n const newMaxWorkers = Math.max(1, Math.floor((maxWorkers / grandTotal) * concurrency));\n newTotal += newMaxWorkers;\n maxWorkersPerTask.set(task, newMaxWorkers);\n }\n\n if (newTotal > concurrency) {\n throw new Error(\n \"Could not adjust maxWorkers per task to fit the concurrency, try reducing the maxWorkers, or increasing the --concurrency CLI argument, or separate the tasks to be run\"\n );\n }\n }\n\n return maxWorkersPerTask;\n}\n\nexport function getMaxWorkersPerTaskFromOptions(maxWorkersPerTask: string[]): Map<string, number> {\n return new Map([\n ...maxWorkersPerTask.map((setting) => {\n const [task, maxWorkers] = setting.split(/[=:]/);\n return [task, parseInt(maxWorkers, 10)] as [string, number];\n }),\n ]);\n}\n"],"names":["getMaxWorkersPerTask","getMaxWorkersPerTaskFromOptions","pipelineConfig","concurrency","maxWorkersPerTask","Map","generalPoolCount","generatelPoolMaxWorkers","dedicatedPoolCount","dedicatedPoolMaxWorkers","task","taskConfig","Object","entries","Array","isArray","includes","maxWorkerOption","maxWorkers","options","Error","set","avgMaxWorkers","Math","max","floor","grandTotal","newTotal","newMaxWorkers","map","setting","split","parseInt"],"mappings":";;;;;;;;;;;QAEgBA;eAAAA;;QA0DAC;eAAAA;;;AA1DT,SAASD,qBAAqBE,cAAyC,EAAEC,WAAmB;IACjG,MAAMC,oBAAoB,IAAIC;IAE9B,IAAIC,mBAAmB;IACvB,IAAIC,0BAA0B;IAE9B,IAAIC,qBAAqB;IACzB,IAAIC,0BAA0B;IAE9B,KAAK,MAAM,CAACC,MAAMC,WAAW,IAAIC,OAAOC,OAAO,CAACX,gBAAiB;QAC/D,IAAI,CAACY,MAAMC,OAAO,CAACJ,eAAe,CAACD,KAAKM,QAAQ,CAAC,MAAM;YACrD,MAAMC,kBAAsCN,WAAWO,UAAU,IAAIP,WAAWQ,OAAO,EAAED;YAEzF,IAAI,OAAOD,oBAAoB,aAAa;gBAC1CX;gBACA;YACF;YAEA,IAAIY,aAAa;YAEjB,IAAI,OAAOD,oBAAoB,UAAU;gBACvC,MAAM,IAAIG,MAAM,CAAC,0BAA0B,EAAEH,iBAAiB;YAChE,OAAO;gBACLC,aAAaD;YACf;YAEAb,kBAAkBiB,GAAG,CAACX,MAAMQ;YAC5BV;YACAC,2BAA2BS;QAC7B;IACF;IAEA,IAAIV,qBAAqB,KAAKF,mBAAmB,GAAG;QAClD,MAAMgB,gBAAgBb,0BAA0BD;QAChDD,0BAA0BgB,KAAKC,GAAG,CAAC,GAAGD,KAAKE,KAAK,CAACH,gBAAgBhB;IACnE;IAEA,MAAMoB,aAAajB,0BAA0BF;IAE7C,6DAA6D;IAC7D,IAAImB,aAAavB,aAAa;QAC5B,IAAIwB,WAAW;QACf,KAAK,MAAM,CAACjB,MAAMQ,WAAW,IAAId,kBAAkBS,OAAO,GAAI;YAC5D,MAAMe,gBAAgBL,KAAKC,GAAG,CAAC,GAAGD,KAAKE,KAAK,CAAC,AAACP,aAAaQ,aAAcvB;YACzEwB,YAAYC;YACZxB,kBAAkBiB,GAAG,CAACX,MAAMkB;QAC9B;QAEA,IAAID,WAAWxB,aAAa;YAC1B,MAAM,IAAIiB,MACR;QAEJ;IACF;IAEA,OAAOhB;AACT;AAEO,SAASH,gCAAgCG,iBAA2B;IACzE,OAAO,IAAIC,IAAI;WACVD,kBAAkByB,GAAG,CAAC,CAACC;YACxB,MAAM,CAACpB,MAAMQ,WAAW,GAAGY,QAAQC,KAAK,CAAC;YACzC,OAAO;gBAACrB;gBAAMsB,SAASd,YAAY;aAAI;QACzC;KACD;AACH"}
package/lib/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { getConcurrency } from "./getConcurrency.js";
3
3
  export { getMaxWorkersPerTask, getMaxWorkersPerTaskFromOptions } from "./getMaxWorkersPerTask.js";
4
4
  export { readConfigFile } from "./readConfigFile.js";
5
5
  export type { PipelineDefinition } from "./types/PipelineDefinition.js";
6
- export type { ConfigOptions } from "./types/ConfigOptions.js";
6
+ export type { ConfigOptions, ConfigFileOptions } from "./types/ConfigOptions.js";
7
7
  export type { CacheOptions } from "./types/CacheOptions.js";
8
8
  export type { AzureCredentialName } from "./types/CacheOptions.js";
9
9
  export type { LoggerOptions } from "./types/LoggerOptions.js";
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { getConfig } from \"./getConfig.js\";\nexport { getConcurrency } from \"./getConcurrency.js\";\nexport { getMaxWorkersPerTask, getMaxWorkersPerTaskFromOptions } from \"./getMaxWorkersPerTask.js\";\nexport { readConfigFile } from \"./readConfigFile.js\";\nexport type { PipelineDefinition } from \"./types/PipelineDefinition.js\";\nexport type { ConfigOptions } from \"./types/ConfigOptions.js\";\nexport type { CacheOptions } from \"./types/CacheOptions.js\";\nexport type { AzureCredentialName } from \"./types/CacheOptions.js\";\nexport type { LoggerOptions } from \"./types/LoggerOptions.js\";\nexport type { Priority } from \"./types/Priority.js\";\n"],"names":["getConcurrency","getConfig","getMaxWorkersPerTask","getMaxWorkersPerTaskFromOptions","readConfigFile"],"mappings":";;;;;;;;;;;QACSA;eAAAA,8BAAc;;QADdC;eAAAA,oBAAS;;QAETC;eAAAA,0CAAoB;;QAAEC;eAAAA,qDAA+B;;QACrDC;eAAAA,8BAAc;;;2BAHG;gCACK;sCACuC;gCACvC"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { getConfig } from \"./getConfig.js\";\nexport { getConcurrency } from \"./getConcurrency.js\";\nexport { getMaxWorkersPerTask, getMaxWorkersPerTaskFromOptions } from \"./getMaxWorkersPerTask.js\";\nexport { readConfigFile } from \"./readConfigFile.js\";\nexport type { PipelineDefinition } from \"./types/PipelineDefinition.js\";\nexport type { ConfigOptions, ConfigFileOptions } from \"./types/ConfigOptions.js\";\nexport type { CacheOptions } from \"./types/CacheOptions.js\";\nexport type { AzureCredentialName } from \"./types/CacheOptions.js\";\nexport type { LoggerOptions } from \"./types/LoggerOptions.js\";\nexport type { Priority } from \"./types/Priority.js\";\n"],"names":["getConcurrency","getConfig","getMaxWorkersPerTask","getMaxWorkersPerTaskFromOptions","readConfigFile"],"mappings":";;;;;;;;;;;QACSA;eAAAA,8BAAc;;QADdC;eAAAA,oBAAS;;QAETC;eAAAA,0CAAoB;;QAAEC;eAAAA,qDAA+B;;QACrDC;eAAAA,8BAAc;;;2BAHG;gCACK;sCACuC;gCACvC"}
@@ -12,10 +12,9 @@ const _cosmiconfig = require("cosmiconfig");
12
12
  const _workspacetools = require("workspace-tools");
13
13
  const ConfigModuleName = "lage";
14
14
  async function readConfigFile(cwd) {
15
- // Verify presence of git
16
- const root = (0, _workspacetools.getWorkspaceRoot)(cwd);
15
+ const root = (0, _workspacetools.getWorkspaceManagerRoot)(cwd);
17
16
  if (!root) {
18
- throw new Error("This must be called inside a codebase that is part of a JavaScript workspace.");
17
+ throw new Error("This must be called inside a codebase that is part of a JavaScript monorepo.");
19
18
  }
20
19
  // Search for lage.config.js file
21
20
  const configExplorer = await (0, _cosmiconfig.cosmiconfig)(ConfigModuleName);
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/readConfigFile.ts"],"sourcesContent":["import { cosmiconfig } from \"cosmiconfig\";\nimport { getWorkspaceRoot } from \"workspace-tools\";\nimport type { ConfigOptions } from \"./types/ConfigOptions.js\";\n\nconst ConfigModuleName = \"lage\";\n\n/**\n * Read the lage config file if it exists, without filling in defaults.\n */\nexport async function readConfigFile(cwd: string): Promise<ConfigOptions | undefined> {\n // Verify presence of git\n const root = getWorkspaceRoot(cwd);\n if (!root) {\n throw new Error(\"This must be called inside a codebase that is part of a JavaScript workspace.\");\n }\n\n // Search for lage.config.js file\n const configExplorer = await cosmiconfig(ConfigModuleName);\n const results = await configExplorer.search(root ?? cwd);\n return results?.config || undefined;\n}\n"],"names":["readConfigFile","ConfigModuleName","cwd","root","getWorkspaceRoot","Error","configExplorer","cosmiconfig","results","search","config","undefined"],"mappings":";;;;+BASsBA;;;eAAAA;;;6BATM;gCACK;AAGjC,MAAMC,mBAAmB;AAKlB,eAAeD,eAAeE,GAAW;IAC9C,yBAAyB;IACzB,MAAMC,OAAOC,IAAAA,gCAAgB,EAACF;IAC9B,IAAI,CAACC,MAAM;QACT,MAAM,IAAIE,MAAM;IAClB;IAEA,iCAAiC;IACjC,MAAMC,iBAAiB,MAAMC,IAAAA,wBAAW,EAACN;IACzC,MAAMO,UAAU,MAAMF,eAAeG,MAAM,CAACN,QAAQD;IACpD,OAAOM,SAASE,UAAUC;AAC5B"}
1
+ {"version":3,"sources":["../src/readConfigFile.ts"],"sourcesContent":["import { cosmiconfig } from \"cosmiconfig\";\nimport { getWorkspaceManagerRoot } from \"workspace-tools\";\nimport type { ConfigOptions } from \"./types/ConfigOptions.js\";\n\nconst ConfigModuleName = \"lage\";\n\n/**\n * Read the lage config file if it exists, without filling in defaults.\n */\nexport async function readConfigFile(cwd: string): Promise<ConfigOptions | undefined> {\n const root = getWorkspaceManagerRoot(cwd);\n if (!root) {\n throw new Error(\"This must be called inside a codebase that is part of a JavaScript monorepo.\");\n }\n\n // Search for lage.config.js file\n const configExplorer = await cosmiconfig(ConfigModuleName);\n const results = await configExplorer.search(root ?? cwd);\n return results?.config || undefined;\n}\n"],"names":["readConfigFile","ConfigModuleName","cwd","root","getWorkspaceManagerRoot","Error","configExplorer","cosmiconfig","results","search","config","undefined"],"mappings":";;;;+BASsBA;;;eAAAA;;;6BATM;gCACY;AAGxC,MAAMC,mBAAmB;AAKlB,eAAeD,eAAeE,GAAW;IAC9C,MAAMC,OAAOC,IAAAA,uCAAuB,EAACF;IACrC,IAAI,CAACC,MAAM;QACT,MAAM,IAAIE,MAAM;IAClB;IAEA,iCAAiC;IACjC,MAAMC,iBAAiB,MAAMC,IAAAA,wBAAW,EAACN;IACzC,MAAMO,UAAU,MAAMF,eAAeG,MAAM,CAACN,QAAQD;IACpD,OAAOM,SAASE,UAAUC;AAC5B"}
@@ -4,33 +4,46 @@ import type { PipelineDefinition } from "./PipelineDefinition.js";
4
4
  import type { LoggerOptions } from "./LoggerOptions.js";
5
5
  import type { TargetRunnerPickerOptions } from "@lage-run/runners";
6
6
  export type NpmClient = "npm" | "yarn" | "pnpm";
7
+ /**
8
+ * lage options including defaults (after the config file is read).
9
+ * For the object in a config file, use `ConfigFileOptions` instead.
10
+ */
7
11
  export interface ConfigOptions {
8
12
  /**
9
- * Defines the task pipeline, prefix with "^" character to denote a direct topological dependency,
10
- * prefix with ^^ to denote a transitive topological dependency.
13
+ * Defines the task pipeline (task names, dependencies, and optional custom target configuration).
14
+ * See [full pipeline docs](https://microsoft.github.io/lage/docs/guides/pipeline) for more details.
15
+ *
16
+ * Dependency syntax:
17
+ * - No prefix for dependencies on tasks for the same package.
18
+ * - Prefix with `^` to denote a direct package-topological dependency. (e.g. `^build` means run the `build` task
19
+ * in topological order by package.)
20
+ * - Prefix with `^^` to denote a transitive package-topological dependency. (e.g. `^^transpile` means run the `transpile` task for nested dependencies, but *not* for the current package.)
21
+ * - Use `packageName#taskName` to denote a dependency on a specific package's task: in the example below,
22
+ * package `foo`'s `build` task depends on package `bar`'s `bundle` task.
11
23
  *
12
24
  * Example:
13
25
  *
14
- * ```
26
+ * ```js
15
27
  * {
16
28
  * build: ["^build"],
17
29
  * test: ["build"],
18
- * lint: []
30
+ * lint: [],
19
31
  * bundle: ["^^transpile"],
20
32
  * transpile: [],
33
+ * "foo#build": ["bar#bundle"]
21
34
  * }
22
35
  * ```
23
36
  */
24
37
  pipeline: PipelineDefinition;
25
38
  /** Backfill cache options */
26
39
  cacheOptions: CacheOptions;
27
- /** Which files to ignore when calculating scopes with --since */
40
+ /** Which files to ignore when calculating scopes with `--since` */
28
41
  ignore: string[];
29
- /** disables --since flag when any of this list of files changed */
42
+ /** Disable the `--since` flag when any of these files changed */
30
43
  repoWideChanges: string[];
31
44
  /** Which NPM Client to use when running npm lifecycle scripts */
32
45
  npmClient: NpmClient;
33
- /** Optional priority to set on tasks in a package to make the scheduler give priority to tasks on the critical path for high priority tasks */
46
+ /** Optional package task priorities, to make the scheduler give higher priority to tasks on the critical path */
34
47
  priorities: Priority[];
35
48
  /**
36
49
  * Options that will be sent to all log reporters.
@@ -42,7 +55,7 @@ export interface ConfigOptions {
42
55
  */
43
56
  runners: TargetRunnerPickerOptions;
44
57
  /**
45
- * Maximum worker idle memory, this would cause workers to restart if they exceed this limit. This is useful to prevent memory leaks.
58
+ * Maximum worker idle memory in bytes. If exceeded, the worker will be restarted. This is useful to mitigate memory leaks.
46
59
  */
47
60
  workerIdleMemoryLimit: number;
48
61
  /**
@@ -70,3 +83,8 @@ export interface ConfigOptions {
70
83
  */
71
84
  reporters: Record<string, string>;
72
85
  }
86
+ /** Options for a lage configuration file */
87
+ export type ConfigFileOptions = Partial<Omit<ConfigOptions, "cacheOptions">> & {
88
+ /** Backfill cache options */
89
+ cacheOptions?: Partial<CacheOptions>;
90
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lage-run/config",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
4
4
  "description": "Config management for Lage",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,23 +11,25 @@
11
11
  "main": "lib/index.js",
12
12
  "types": "lib/index.d.ts",
13
13
  "scripts": {
14
- "build": "tsc",
15
- "start": "tsc -w --preserveWatchOutput",
16
- "test": "jest",
14
+ "build": "yarn types && yarn transpile",
15
+ "transpile": "monorepo-scripts transpile",
16
+ "types": "yarn run -T tsc",
17
+ "test": "yarn run -T jest",
17
18
  "lint": "monorepo-scripts lint"
18
19
  },
19
20
  "dependencies": {
20
- "@lage-run/logger": "^1.3.1",
21
- "@lage-run/runners": "^1.2.5",
22
- "@lage-run/target-graph": "^0.12.1",
23
- "backfill-config": "6.7.1",
24
- "cosmiconfig": "7.1.0",
25
- "workspace-tools": "0.40.0"
21
+ "@lage-run/logger": "^1.3.3",
22
+ "@lage-run/runners": "^1.2.7",
23
+ "@lage-run/target-graph": "^0.12.3",
24
+ "backfill-config": "^6.7.1",
25
+ "cosmiconfig": "^7.1.0",
26
+ "workspace-tools": "^0.41.0"
26
27
  },
27
28
  "devDependencies": {
28
29
  "@lage-run/monorepo-scripts": "^1.0.0"
29
30
  },
30
- "publishConfig": {
31
- "access": "public"
32
- }
31
+ "files": [
32
+ "lib/!(__*)",
33
+ "lib/!(__*)/**"
34
+ ]
33
35
  }
package/CHANGELOG.json DELETED
@@ -1,742 +0,0 @@
1
- {
2
- "name": "@lage-run/config",
3
- "entries": [
4
- {
5
- "date": "Thu, 15 Jan 2026 23:23:27 GMT",
6
- "version": "0.7.1",
7
- "tag": "@lage-run/config_v0.7.1",
8
- "comments": {
9
- "patch": [
10
- {
11
- "author": "renovate@whitesourcesoftware.com",
12
- "package": "@lage-run/config",
13
- "commit": "3d7ac61faadf82097fb2996431b537b2a9baa0e3",
14
- "comment": "Update dependency workspace-tools to v0.40.0"
15
- }
16
- ]
17
- }
18
- },
19
- {
20
- "date": "Tue, 21 Oct 2025 23:42:35 GMT",
21
- "version": "0.7.0",
22
- "tag": "@lage-run/config_v0.7.0",
23
- "comments": {
24
- "minor": [
25
- {
26
- "author": "nemanjatesic@microsoft.com",
27
- "package": "@lage-run/config",
28
- "commit": "cd3ca59beba687a1d3c859524786e2aeeea09953",
29
- "comment": "Add custom reporter capability to Lage"
30
- }
31
- ]
32
- }
33
- },
34
- {
35
- "date": "Thu, 25 Sep 2025 18:00:51 GMT",
36
- "version": "0.6.0",
37
- "tag": "@lage-run/config_v0.6.0",
38
- "comments": {
39
- "minor": [
40
- {
41
- "author": "brunoru@microsoft.com",
42
- "package": "@lage-run/config",
43
- "commit": "38888a6891fa45232aeba64f222d17177114dd23",
44
- "comment": "Enhance CredentialCache to support multiple Azure credential types and allow configuration of credentialName in cache options"
45
- }
46
- ]
47
- }
48
- },
49
- {
50
- "date": "Mon, 01 Sep 2025 08:10:36 GMT",
51
- "version": "0.5.0",
52
- "tag": "@lage-run/config_v0.5.0",
53
- "comments": {
54
- "minor": [
55
- {
56
- "author": "dannyvv@microsoft.com",
57
- "package": "@lage-run/config",
58
- "commit": "5f2d28335f9293a5cc44a3bc6a99f41f8f981e7c",
59
- "comment": "Add merge logic for targetConfig"
60
- }
61
- ]
62
- }
63
- },
64
- {
65
- "date": "Thu, 07 Aug 2025 08:10:10 GMT",
66
- "version": "0.4.17",
67
- "tag": "@lage-run/config_v0.4.17",
68
- "comments": {
69
- "patch": [
70
- {
71
- "author": "email not defined",
72
- "package": "@lage-run/config",
73
- "commit": "7ca58c8121ab43d58ba76379e5e0c2320622cf5d",
74
- "comment": "Update backfill monorepo"
75
- }
76
- ]
77
- }
78
- },
79
- {
80
- "date": "Fri, 01 Aug 2025 08:10:15 GMT",
81
- "version": "0.4.16",
82
- "tag": "@lage-run/config_v0.4.16",
83
- "comments": {
84
- "patch": [
85
- {
86
- "author": "renovate@whitesourcesoftware.com",
87
- "package": "@lage-run/config",
88
- "commit": "28308e0b441f625fb5a83daabadb55f49b208603",
89
- "comment": "Update backfill monorepo"
90
- },
91
- {
92
- "author": "renovate@whitesourcesoftware.com",
93
- "package": "@lage-run/config",
94
- "commit": "28308e0b441f625fb5a83daabadb55f49b208603",
95
- "comment": "Update dependency workspace-tools to v0.38.4"
96
- }
97
- ]
98
- }
99
- },
100
- {
101
- "date": "Tue, 29 Apr 2025 08:10:03 GMT",
102
- "version": "0.4.15",
103
- "tag": "@lage-run/config_v0.4.15",
104
- "comments": {
105
- "patch": [
106
- {
107
- "author": "elcraig@microsoft.com",
108
- "package": "@lage-run/config",
109
- "commit": "8cd955ef4910abb9fff6f0de40255fe842847a79",
110
- "comment": "Make CacheOptions properties optional and document them"
111
- }
112
- ]
113
- }
114
- },
115
- {
116
- "date": "Sat, 26 Apr 2025 08:08:38 GMT",
117
- "version": "0.4.14",
118
- "tag": "@lage-run/config_v0.4.14",
119
- "comments": {
120
- "patch": [
121
- {
122
- "author": "elcraig@microsoft.com",
123
- "package": "@lage-run/config",
124
- "commit": "31b9b2861d9aa59d8dd5b6b2ceb2444b11198694",
125
- "comment": "Remove incorrect bin entries"
126
- }
127
- ]
128
- }
129
- },
130
- {
131
- "date": "Thu, 17 Apr 2025 08:10:01 GMT",
132
- "version": "0.4.13",
133
- "tag": "@lage-run/config_v0.4.13",
134
- "comments": {
135
- "patch": [
136
- {
137
- "author": "renovate@whitesourcesoftware.com",
138
- "package": "@lage-run/config",
139
- "commit": "00e45954e48cdddcb3fa4b68a6e732a43ec7bd57",
140
- "comment": "Update backfill monorepo"
141
- },
142
- {
143
- "author": "email not defined",
144
- "package": "@lage-run/config",
145
- "commit": "00e45954e48cdddcb3fa4b68a6e732a43ec7bd57",
146
- "comment": "Update dependency workspace-tools to v0.38.3"
147
- }
148
- ]
149
- }
150
- },
151
- {
152
- "date": "Sat, 29 Mar 2025 02:16:38 GMT",
153
- "version": "0.4.12",
154
- "tag": "@lage-run/config_v0.4.12",
155
- "comments": {
156
- "none": [
157
- {
158
- "author": "elcraig@microsoft.com",
159
- "package": "@lage-run/config",
160
- "commit": "a680ab60dcddd84808f223a1b5f38a16e868b66f",
161
- "comment": "Sync versions, and use workspace:^ versions for local deps"
162
- }
163
- ]
164
- }
165
- },
166
- {
167
- "date": "Wed, 15 Jan 2025 16:56:22 GMT",
168
- "version": "0.4.12",
169
- "tag": "@lage-run/config_v0.4.12",
170
- "comments": {
171
- "patch": [
172
- {
173
- "author": "beachball",
174
- "package": "@lage-run/config",
175
- "comment": "Bump @lage-run/runners to v1.2.1",
176
- "commit": "not available"
177
- },
178
- {
179
- "author": "beachball",
180
- "package": "@lage-run/config",
181
- "comment": "Bump @lage-run/target-graph to v0.11.1",
182
- "commit": "not available"
183
- }
184
- ]
185
- }
186
- },
187
- {
188
- "date": "Mon, 02 Dec 2024 17:23:22 GMT",
189
- "version": "0.4.11",
190
- "tag": "@lage-run/config_v0.4.11",
191
- "comments": {
192
- "patch": [
193
- {
194
- "author": "beachball",
195
- "package": "@lage-run/config",
196
- "comment": "Bump @lage-run/runners to v1.2.0",
197
- "commit": "not available"
198
- },
199
- {
200
- "author": "beachball",
201
- "package": "@lage-run/config",
202
- "comment": "Bump @lage-run/target-graph to v0.11.0",
203
- "commit": "not available"
204
- }
205
- ]
206
- }
207
- },
208
- {
209
- "date": "Wed, 20 Nov 2024 08:12:37 GMT",
210
- "version": "0.4.10",
211
- "tag": "@lage-run/config_v0.4.10",
212
- "comments": {
213
- "patch": [
214
- {
215
- "author": "email not defined",
216
- "package": "@lage-run/config",
217
- "commit": "c6e9f4e5339a897dd06a54fe528a1fadd75db243",
218
- "comment": "Update dependency workspace-tools to v0.38.1"
219
- },
220
- {
221
- "author": "beachball",
222
- "package": "@lage-run/config",
223
- "comment": "Bump @lage-run/runners to v1.1.2",
224
- "commit": "not available"
225
- },
226
- {
227
- "author": "beachball",
228
- "package": "@lage-run/config",
229
- "comment": "Bump @lage-run/target-graph to v0.10.1",
230
- "commit": "not available"
231
- }
232
- ]
233
- }
234
- },
235
- {
236
- "date": "Wed, 20 Nov 2024 02:43:43 GMT",
237
- "version": "0.4.9",
238
- "tag": "@lage-run/config_v0.4.9",
239
- "comments": {
240
- "patch": [
241
- {
242
- "author": "beachball",
243
- "package": "@lage-run/config",
244
- "comment": "Bump @lage-run/runners to v1.1.1",
245
- "commit": "not available"
246
- }
247
- ]
248
- }
249
- },
250
- {
251
- "date": "Fri, 08 Nov 2024 19:45:09 GMT",
252
- "version": "0.4.8",
253
- "tag": "@lage-run/config_v0.4.8",
254
- "comments": {
255
- "patch": [
256
- {
257
- "author": "beachball",
258
- "package": "@lage-run/config",
259
- "comment": "Bump @lage-run/runners to v1.1.0",
260
- "commit": "not available"
261
- },
262
- {
263
- "author": "beachball",
264
- "package": "@lage-run/config",
265
- "comment": "Bump @lage-run/target-graph to v0.10.0",
266
- "commit": "not available"
267
- }
268
- ]
269
- }
270
- },
271
- {
272
- "date": "Fri, 01 Nov 2024 08:07:38 GMT",
273
- "version": "0.4.7",
274
- "tag": "@lage-run/config_v0.4.7",
275
- "comments": {
276
- "patch": [
277
- {
278
- "author": "beachball",
279
- "package": "@lage-run/config",
280
- "comment": "Bump @lage-run/runners to v1.0.7",
281
- "commit": "not available"
282
- }
283
- ]
284
- }
285
- },
286
- {
287
- "date": "Tue, 22 Oct 2024 15:19:29 GMT",
288
- "version": "0.4.6",
289
- "tag": "@lage-run/config_v0.4.6",
290
- "comments": {
291
- "patch": [
292
- {
293
- "author": "email not defined",
294
- "package": "@lage-run/config",
295
- "commit": "067b34dac0e6621e6dab889b4ecb3ffb96ed3b7c",
296
- "comment": "Update dependency workspace-tools to v0.37.0"
297
- },
298
- {
299
- "author": "beachball",
300
- "package": "@lage-run/config",
301
- "comment": "Bump @lage-run/runners to v1.0.6",
302
- "commit": "not available"
303
- },
304
- {
305
- "author": "beachball",
306
- "package": "@lage-run/config",
307
- "comment": "Bump @lage-run/target-graph to v0.9.3",
308
- "commit": "not available"
309
- }
310
- ]
311
- }
312
- },
313
- {
314
- "date": "Mon, 21 Oct 2024 22:18:54 GMT",
315
- "version": "0.4.5",
316
- "tag": "@lage-run/config_v0.4.5",
317
- "comments": {
318
- "patch": [
319
- {
320
- "author": "beachball",
321
- "package": "@lage-run/config",
322
- "comment": "Bump @lage-run/runners to v1.0.5",
323
- "commit": "not available"
324
- },
325
- {
326
- "author": "beachball",
327
- "package": "@lage-run/config",
328
- "comment": "Bump @lage-run/target-graph to v0.9.2",
329
- "commit": "not available"
330
- }
331
- ]
332
- }
333
- },
334
- {
335
- "date": "Thu, 17 Oct 2024 20:33:04 GMT",
336
- "version": "0.4.4",
337
- "tag": "@lage-run/config_v0.4.4",
338
- "comments": {
339
- "patch": [
340
- {
341
- "author": "beachball",
342
- "package": "@lage-run/config",
343
- "comment": "Bump @lage-run/runners to v1.0.4",
344
- "commit": "not available"
345
- },
346
- {
347
- "author": "beachball",
348
- "package": "@lage-run/config",
349
- "comment": "Bump @lage-run/target-graph to v0.9.1",
350
- "commit": "not available"
351
- }
352
- ]
353
- }
354
- },
355
- {
356
- "date": "Wed, 02 Oct 2024 20:26:19 GMT",
357
- "version": "0.4.3",
358
- "tag": "@lage-run/config_v0.4.3",
359
- "comments": {
360
- "patch": [
361
- {
362
- "author": "beachball",
363
- "package": "@lage-run/config",
364
- "comment": "Bump @lage-run/runners to v1.0.3",
365
- "commit": "not available"
366
- },
367
- {
368
- "author": "beachball",
369
- "package": "@lage-run/config",
370
- "comment": "Bump @lage-run/target-graph to v0.9.0",
371
- "commit": "not available"
372
- }
373
- ]
374
- }
375
- },
376
- {
377
- "date": "Fri, 13 Sep 2024 18:05:04 GMT",
378
- "version": "0.4.2",
379
- "tag": "@lage-run/config_v0.4.2",
380
- "comments": {
381
- "patch": [
382
- {
383
- "author": "beachball",
384
- "package": "@lage-run/config",
385
- "comment": "Bump @lage-run/runners to v1.0.2",
386
- "commit": "not available"
387
- },
388
- {
389
- "author": "beachball",
390
- "package": "@lage-run/config",
391
- "comment": "Bump @lage-run/target-graph to v0.8.10",
392
- "commit": "not available"
393
- }
394
- ]
395
- }
396
- },
397
- {
398
- "date": "Wed, 11 Sep 2024 20:30:48 GMT",
399
- "version": "0.4.1",
400
- "tag": "@lage-run/config_v0.4.1",
401
- "comments": {
402
- "patch": [
403
- {
404
- "author": "beachball",
405
- "package": "@lage-run/config",
406
- "comment": "Bump @lage-run/logger to v1.3.1",
407
- "commit": "not available"
408
- }
409
- ]
410
- }
411
- },
412
- {
413
- "date": "Sat, 07 Sep 2024 00:01:57 GMT",
414
- "version": "0.4.0",
415
- "tag": "@lage-run/config_v0.4.0",
416
- "comments": {
417
- "minor": [
418
- {
419
- "author": "kchau@microsoft.com",
420
- "package": "@lage-run/config",
421
- "commit": "fb00e0249a448bd0ab09a0f68e9ea3456d2a7152",
422
- "comment": "adding parallelism to server"
423
- }
424
- ]
425
- }
426
- },
427
- {
428
- "date": "Wed, 28 Aug 2024 21:12:45 GMT",
429
- "version": "0.3.7",
430
- "tag": "@lage-run/config_v0.3.7",
431
- "comments": {
432
- "patch": [
433
- {
434
- "author": "kchau@microsoft.com",
435
- "package": "@lage-run/config",
436
- "commit": "8b27a04b8d5916457d1c8219edd1f2d216543954",
437
- "comment": "moving runners to its own package, fixing up imports"
438
- },
439
- {
440
- "author": "beachball",
441
- "package": "@lage-run/config",
442
- "comment": "Bump @lage-run/runners to v1.0.1",
443
- "commit": "not available"
444
- }
445
- ]
446
- }
447
- },
448
- {
449
- "date": "Thu, 23 May 2024 18:15:05 GMT",
450
- "version": "0.3.6",
451
- "tag": "@lage-run/config_v0.3.6",
452
- "comments": {
453
- "patch": [
454
- {
455
- "author": "renovate@whitesourcesoftware.com",
456
- "package": "@lage-run/config",
457
- "commit": "04cdac2a148208348ea26f0d0190b90f947d2cfd",
458
- "comment": "Update backfill monorepo"
459
- }
460
- ]
461
- }
462
- },
463
- {
464
- "date": "Thu, 21 Dec 2023 09:49:09 GMT",
465
- "version": "0.3.5",
466
- "tag": "@lage-run/config_v0.3.5",
467
- "comments": {
468
- "patch": [
469
- {
470
- "author": "elcraig@microsoft.com",
471
- "package": "@lage-run/config",
472
- "commit": "429047eb173880261b9e76f82ef1fcf7bfe9e29a",
473
- "comment": "Pin external deps to ensure explicit updates to lage bundle"
474
- },
475
- {
476
- "author": "beachball",
477
- "package": "@lage-run/config",
478
- "comment": "Bump @lage-run/scheduler-types to v0.3.13",
479
- "commit": "not available"
480
- },
481
- {
482
- "author": "beachball",
483
- "package": "@lage-run/config",
484
- "comment": "Bump @lage-run/target-graph to v0.8.9",
485
- "commit": "not available"
486
- }
487
- ]
488
- }
489
- },
490
- {
491
- "date": "Thu, 21 Dec 2023 08:37:41 GMT",
492
- "version": "0.3.4",
493
- "tag": "@lage-run/config_v0.3.4",
494
- "comments": {
495
- "patch": [
496
- {
497
- "author": "elcraig@microsoft.com",
498
- "package": "@lage-run/config",
499
- "commit": "0752bad677868d982719f792f6692ab43ad325e0",
500
- "comment": "Update backfill-config to ^6.4.1"
501
- }
502
- ],
503
- "none": [
504
- {
505
- "author": "elcraig@microsoft.com",
506
- "package": "@lage-run/config",
507
- "commit": "0752bad677868d982719f792f6692ab43ad325e0",
508
- "comment": "Use ranges for devDependencies"
509
- }
510
- ]
511
- }
512
- },
513
- {
514
- "date": "Tue, 12 Dec 2023 04:22:41 GMT",
515
- "version": "0.3.3",
516
- "tag": "@lage-run/config_v0.3.3",
517
- "comments": {
518
- "patch": [
519
- {
520
- "author": "stchur@microsoft.com",
521
- "package": "@lage-run/config",
522
- "commit": "f631134451741444619e28c80616ba22fc6454cf",
523
- "comment": "Upgrade workspace-tools package to latest"
524
- },
525
- {
526
- "author": "beachball",
527
- "package": "@lage-run/config",
528
- "comment": "Bump @lage-run/scheduler-types to v0.3.12",
529
- "commit": "not available"
530
- },
531
- {
532
- "author": "beachball",
533
- "package": "@lage-run/config",
534
- "comment": "Bump @lage-run/target-graph to v0.8.8",
535
- "commit": "not available"
536
- }
537
- ]
538
- }
539
- },
540
- {
541
- "date": "Mon, 17 Jul 2023 15:14:04 GMT",
542
- "tag": "@lage-run/config_v0.3.2",
543
- "version": "0.3.2",
544
- "comments": {
545
- "patch": [
546
- {
547
- "author": "email not defined",
548
- "package": "@lage-run/config",
549
- "commit": "5f41b1db342b6d7a8492a46b68ca328a21e61ee6",
550
- "comment": "Update lage core deps"
551
- },
552
- {
553
- "author": "beachball",
554
- "package": "@lage-run/config",
555
- "comment": "Bump @lage-run/scheduler-types to v0.3.11",
556
- "commit": "5f41b1db342b6d7a8492a46b68ca328a21e61ee6"
557
- },
558
- {
559
- "author": "beachball",
560
- "package": "@lage-run/config",
561
- "comment": "Bump @lage-run/target-graph to v0.8.7",
562
- "commit": "5f41b1db342b6d7a8492a46b68ca328a21e61ee6"
563
- }
564
- ]
565
- }
566
- },
567
- {
568
- "date": "Thu, 15 Jun 2023 17:04:58 GMT",
569
- "tag": "@lage-run/config_v0.3.1",
570
- "version": "0.3.1",
571
- "comments": {
572
- "patch": [
573
- {
574
- "author": "beachball",
575
- "package": "@lage-run/config",
576
- "comment": "Bump @lage-run/scheduler-types to v0.3.10",
577
- "commit": "91dfab46c2cb13c175931f12f2964b2b9ace491a"
578
- }
579
- ]
580
- }
581
- },
582
- {
583
- "date": "Thu, 25 May 2023 15:46:02 GMT",
584
- "tag": "@lage-run/config_v0.3.0",
585
- "version": "0.3.0",
586
- "comments": {
587
- "minor": [
588
- {
589
- "author": "altinokd@microsoft.com",
590
- "package": "@lage-run/config",
591
- "commit": "c2bf5ab7a31c05a11e9488a92d58ef0f74bc3e9d",
592
- "comment": "Do not read config in targetWorker, instead pass CacheOptions as part of workerdata"
593
- }
594
- ]
595
- }
596
- },
597
- {
598
- "date": "Mon, 08 May 2023 22:27:16 GMT",
599
- "tag": "@lage-run/config_v0.2.1",
600
- "version": "0.2.1",
601
- "comments": {
602
- "patch": [
603
- {
604
- "author": "beachball",
605
- "package": "@lage-run/config",
606
- "comment": "Bump @lage-run/scheduler-types to v0.3.9",
607
- "commit": "5a132808f166179bc316a279c9e11a13d3a39103"
608
- },
609
- {
610
- "author": "beachball",
611
- "package": "@lage-run/config",
612
- "comment": "Bump @lage-run/target-graph to v0.8.6",
613
- "commit": "5a132808f166179bc316a279c9e11a13d3a39103"
614
- }
615
- ]
616
- }
617
- },
618
- {
619
- "date": "Wed, 26 Apr 2023 04:56:20 GMT",
620
- "tag": "@lage-run/config_v0.2.0",
621
- "version": "0.2.0",
622
- "comments": {
623
- "minor": [
624
- {
625
- "author": "elcraig@microsoft.com",
626
- "package": "@lage-run/config",
627
- "commit": "56910ce2ef67d9d3dc99b7a75df007820e9444c8",
628
- "comment": "Add readConfigFile API to read the file without defaults"
629
- }
630
- ]
631
- }
632
- },
633
- {
634
- "date": "Tue, 25 Apr 2023 02:51:19 GMT",
635
- "tag": "@lage-run/config_v0.1.4",
636
- "version": "0.1.4",
637
- "comments": {
638
- "patch": [
639
- {
640
- "author": "elcraig@microsoft.com",
641
- "package": "@lage-run/config",
642
- "commit": "a2e112e8aafee26380684efca4db994a9c5e3801",
643
- "comment": "Update repository and homepage"
644
- },
645
- {
646
- "author": "beachball",
647
- "package": "@lage-run/config",
648
- "comment": "Bump @lage-run/logger to v1.3.0",
649
- "commit": "a2e112e8aafee26380684efca4db994a9c5e3801"
650
- },
651
- {
652
- "author": "beachball",
653
- "package": "@lage-run/config",
654
- "comment": "Bump @lage-run/scheduler-types to v0.3.8",
655
- "commit": "a2e112e8aafee26380684efca4db994a9c5e3801"
656
- },
657
- {
658
- "author": "beachball",
659
- "package": "@lage-run/config",
660
- "comment": "Bump @lage-run/target-graph to v0.8.4",
661
- "commit": "a2e112e8aafee26380684efca4db994a9c5e3801"
662
- }
663
- ]
664
- }
665
- },
666
- {
667
- "date": "Fri, 14 Apr 2023 04:37:54 GMT",
668
- "tag": "@lage-run/config_v0.1.3",
669
- "version": "0.1.3",
670
- "comments": {
671
- "patch": [
672
- {
673
- "author": "kchau@microsoft.com",
674
- "package": "@lage-run/config",
675
- "commit": "bb22ec2ee3a793eef0a09feb6759f7c10db65fe0",
676
- "comment": "making lage boot faster"
677
- },
678
- {
679
- "author": "beachball",
680
- "package": "@lage-run/config",
681
- "comment": "Bump @lage-run/scheduler-types to v0.3.7",
682
- "commit": "bb22ec2ee3a793eef0a09feb6759f7c10db65fe0"
683
- },
684
- {
685
- "author": "beachball",
686
- "package": "@lage-run/config",
687
- "comment": "Bump @lage-run/target-graph to v0.8.3",
688
- "commit": "bb22ec2ee3a793eef0a09feb6759f7c10db65fe0"
689
- }
690
- ]
691
- }
692
- },
693
- {
694
- "date": "Thu, 06 Apr 2023 22:27:50 GMT",
695
- "tag": "@lage-run/config_v0.1.2",
696
- "version": "0.1.2",
697
- "comments": {
698
- "patch": [
699
- {
700
- "author": "kchau@microsoft.com",
701
- "package": "@lage-run/config",
702
- "commit": "ec15819ad8677a57ed2c7b8ce55538da69095c3b",
703
- "comment": "bumps workspace-tools and use async packageinfos"
704
- },
705
- {
706
- "author": "beachball",
707
- "package": "@lage-run/config",
708
- "comment": "Bump @lage-run/scheduler-types to v0.3.6",
709
- "commit": "ec15819ad8677a57ed2c7b8ce55538da69095c3b"
710
- },
711
- {
712
- "author": "beachball",
713
- "package": "@lage-run/config",
714
- "comment": "Bump @lage-run/target-graph to v0.8.2",
715
- "commit": "ec15819ad8677a57ed2c7b8ce55538da69095c3b"
716
- }
717
- ]
718
- }
719
- },
720
- {
721
- "date": "Wed, 29 Mar 2023 22:41:49 GMT",
722
- "tag": "@lage-run/config_v0.1.1",
723
- "version": "0.1.1",
724
- "comments": {
725
- "patch": [
726
- {
727
- "author": "kchau@microsoft.com",
728
- "package": "@lage-run/config",
729
- "commit": "ec458f83e5adb784019efaa06f902ec75f85990c",
730
- "comment": "moving config to its own package"
731
- },
732
- {
733
- "author": "beachball",
734
- "package": "@lage-run/config",
735
- "comment": "Bump @lage-run/scheduler-types to v0.3.5",
736
- "commit": "ec458f83e5adb784019efaa06f902ec75f85990c"
737
- }
738
- ]
739
- }
740
- }
741
- ]
742
- }
package/CHANGELOG.md DELETED
@@ -1,322 +0,0 @@
1
- # Change Log - @lage-run/config
2
-
3
- <!-- This log was last generated on Thu, 15 Jan 2026 23:23:27 GMT and should not be manually modified. -->
4
-
5
- <!-- Start content -->
6
-
7
- ## 0.7.1
8
-
9
- Thu, 15 Jan 2026 23:23:27 GMT
10
-
11
- ### Patches
12
-
13
- - Update dependency workspace-tools to v0.40.0 (renovate@whitesourcesoftware.com)
14
-
15
- ## 0.7.0
16
-
17
- Tue, 21 Oct 2025 23:42:35 GMT
18
-
19
- ### Minor changes
20
-
21
- - Add custom reporter capability to Lage (nemanjatesic@microsoft.com)
22
-
23
- ## 0.6.0
24
-
25
- Thu, 25 Sep 2025 18:00:51 GMT
26
-
27
- ### Minor changes
28
-
29
- - Enhance CredentialCache to support multiple Azure credential types and allow configuration of credentialName in cache options (brunoru@microsoft.com)
30
-
31
- ## 0.5.0
32
-
33
- Mon, 01 Sep 2025 08:10:36 GMT
34
-
35
- ### Minor changes
36
-
37
- - Add merge logic for targetConfig (dannyvv@microsoft.com)
38
-
39
- ## 0.4.17
40
-
41
- Thu, 07 Aug 2025 08:10:10 GMT
42
-
43
- ### Patches
44
-
45
- - Update backfill monorepo (email not defined)
46
-
47
- ## 0.4.16
48
-
49
- Fri, 01 Aug 2025 08:10:15 GMT
50
-
51
- ### Patches
52
-
53
- - Update backfill monorepo (renovate@whitesourcesoftware.com)
54
- - Update dependency workspace-tools to v0.38.4 (renovate@whitesourcesoftware.com)
55
-
56
- ## 0.4.15
57
-
58
- Tue, 29 Apr 2025 08:10:03 GMT
59
-
60
- ### Patches
61
-
62
- - Make CacheOptions properties optional and document them (elcraig@microsoft.com)
63
-
64
- ## 0.4.14
65
-
66
- Sat, 26 Apr 2025 08:08:38 GMT
67
-
68
- ### Patches
69
-
70
- - Remove incorrect bin entries (elcraig@microsoft.com)
71
-
72
- ## 0.4.13
73
-
74
- Thu, 17 Apr 2025 08:10:01 GMT
75
-
76
- ### Patches
77
-
78
- - Update backfill monorepo (renovate@whitesourcesoftware.com)
79
- - Update dependency workspace-tools to v0.38.3 (email not defined)
80
-
81
- ## 0.4.12
82
-
83
- Wed, 15 Jan 2025 16:56:22 GMT
84
-
85
- ### Patches
86
-
87
- - Bump @lage-run/runners to v1.2.1
88
- - Bump @lage-run/target-graph to v0.11.1
89
-
90
- ## 0.4.11
91
-
92
- Mon, 02 Dec 2024 17:23:22 GMT
93
-
94
- ### Patches
95
-
96
- - Bump @lage-run/runners to v1.2.0
97
- - Bump @lage-run/target-graph to v0.11.0
98
-
99
- ## 0.4.10
100
-
101
- Wed, 20 Nov 2024 08:12:37 GMT
102
-
103
- ### Patches
104
-
105
- - Update dependency workspace-tools to v0.38.1 (email not defined)
106
- - Bump @lage-run/runners to v1.1.2
107
- - Bump @lage-run/target-graph to v0.10.1
108
-
109
- ## 0.4.9
110
-
111
- Wed, 20 Nov 2024 02:43:43 GMT
112
-
113
- ### Patches
114
-
115
- - Bump @lage-run/runners to v1.1.1
116
-
117
- ## 0.4.8
118
-
119
- Fri, 08 Nov 2024 19:45:09 GMT
120
-
121
- ### Patches
122
-
123
- - Bump @lage-run/runners to v1.1.0
124
- - Bump @lage-run/target-graph to v0.10.0
125
-
126
- ## 0.4.7
127
-
128
- Fri, 01 Nov 2024 08:07:38 GMT
129
-
130
- ### Patches
131
-
132
- - Bump @lage-run/runners to v1.0.7
133
-
134
- ## 0.4.6
135
-
136
- Tue, 22 Oct 2024 15:19:29 GMT
137
-
138
- ### Patches
139
-
140
- - Update dependency workspace-tools to v0.37.0 (email not defined)
141
- - Bump @lage-run/runners to v1.0.6
142
- - Bump @lage-run/target-graph to v0.9.3
143
-
144
- ## 0.4.5
145
-
146
- Mon, 21 Oct 2024 22:18:54 GMT
147
-
148
- ### Patches
149
-
150
- - Bump @lage-run/runners to v1.0.5
151
- - Bump @lage-run/target-graph to v0.9.2
152
-
153
- ## 0.4.4
154
-
155
- Thu, 17 Oct 2024 20:33:04 GMT
156
-
157
- ### Patches
158
-
159
- - Bump @lage-run/runners to v1.0.4
160
- - Bump @lage-run/target-graph to v0.9.1
161
-
162
- ## 0.4.3
163
-
164
- Wed, 02 Oct 2024 20:26:19 GMT
165
-
166
- ### Patches
167
-
168
- - Bump @lage-run/runners to v1.0.3
169
- - Bump @lage-run/target-graph to v0.9.0
170
-
171
- ## 0.4.2
172
-
173
- Fri, 13 Sep 2024 18:05:04 GMT
174
-
175
- ### Patches
176
-
177
- - Bump @lage-run/runners to v1.0.2
178
- - Bump @lage-run/target-graph to v0.8.10
179
-
180
- ## 0.4.1
181
-
182
- Wed, 11 Sep 2024 20:30:48 GMT
183
-
184
- ### Patches
185
-
186
- - Bump @lage-run/logger to v1.3.1
187
-
188
- ## 0.4.0
189
-
190
- Sat, 07 Sep 2024 00:01:57 GMT
191
-
192
- ### Minor changes
193
-
194
- - adding parallelism to server (kchau@microsoft.com)
195
-
196
- ## 0.3.7
197
-
198
- Wed, 28 Aug 2024 21:12:45 GMT
199
-
200
- ### Patches
201
-
202
- - moving runners to its own package, fixing up imports (kchau@microsoft.com)
203
- - Bump @lage-run/runners to v1.0.1
204
-
205
- ## 0.3.6
206
-
207
- Thu, 23 May 2024 18:15:05 GMT
208
-
209
- ### Patches
210
-
211
- - Update backfill monorepo (renovate@whitesourcesoftware.com)
212
-
213
- ## 0.3.5
214
-
215
- Thu, 21 Dec 2023 09:49:09 GMT
216
-
217
- ### Patches
218
-
219
- - Pin external deps to ensure explicit updates to lage bundle (elcraig@microsoft.com)
220
- - Bump @lage-run/scheduler-types to v0.3.13
221
- - Bump @lage-run/target-graph to v0.8.9
222
-
223
- ## 0.3.4
224
-
225
- Thu, 21 Dec 2023 08:37:41 GMT
226
-
227
- ### Patches
228
-
229
- - Update backfill-config to ^6.4.1 (elcraig@microsoft.com)
230
-
231
- ## 0.3.3
232
-
233
- Tue, 12 Dec 2023 04:22:41 GMT
234
-
235
- ### Patches
236
-
237
- - Upgrade workspace-tools package to latest (stchur@microsoft.com)
238
- - Bump @lage-run/scheduler-types to v0.3.12
239
- - Bump @lage-run/target-graph to v0.8.8
240
-
241
- ## 0.3.2
242
-
243
- Mon, 17 Jul 2023 15:14:04 GMT
244
-
245
- ### Patches
246
-
247
- - Update lage core deps (email not defined)
248
- - Bump @lage-run/scheduler-types to v0.3.11
249
- - Bump @lage-run/target-graph to v0.8.7
250
-
251
- ## 0.3.1
252
-
253
- Thu, 15 Jun 2023 17:04:58 GMT
254
-
255
- ### Patches
256
-
257
- - Bump @lage-run/scheduler-types to v0.3.10
258
-
259
- ## 0.3.0
260
-
261
- Thu, 25 May 2023 15:46:02 GMT
262
-
263
- ### Minor changes
264
-
265
- - Do not read config in targetWorker, instead pass CacheOptions as part of workerdata (altinokd@microsoft.com)
266
-
267
- ## 0.2.1
268
-
269
- Mon, 08 May 2023 22:27:16 GMT
270
-
271
- ### Patches
272
-
273
- - Bump @lage-run/scheduler-types to v0.3.9
274
- - Bump @lage-run/target-graph to v0.8.6
275
-
276
- ## 0.2.0
277
-
278
- Wed, 26 Apr 2023 04:56:20 GMT
279
-
280
- ### Minor changes
281
-
282
- - Add readConfigFile API to read the file without defaults (elcraig@microsoft.com)
283
-
284
- ## 0.1.4
285
-
286
- Tue, 25 Apr 2023 02:51:19 GMT
287
-
288
- ### Patches
289
-
290
- - Update repository and homepage (elcraig@microsoft.com)
291
- - Bump @lage-run/logger to v1.3.0
292
- - Bump @lage-run/scheduler-types to v0.3.8
293
- - Bump @lage-run/target-graph to v0.8.4
294
-
295
- ## 0.1.3
296
-
297
- Fri, 14 Apr 2023 04:37:54 GMT
298
-
299
- ### Patches
300
-
301
- - making lage boot faster (kchau@microsoft.com)
302
- - Bump @lage-run/scheduler-types to v0.3.7
303
- - Bump @lage-run/target-graph to v0.8.3
304
-
305
- ## 0.1.2
306
-
307
- Thu, 06 Apr 2023 22:27:50 GMT
308
-
309
- ### Patches
310
-
311
- - bumps workspace-tools and use async packageinfos (kchau@microsoft.com)
312
- - Bump @lage-run/scheduler-types to v0.3.6
313
- - Bump @lage-run/target-graph to v0.8.2
314
-
315
- ## 0.1.1
316
-
317
- Wed, 29 Mar 2023 22:41:49 GMT
318
-
319
- ### Patches
320
-
321
- - moving config to its own package (kchau@microsoft.com)
322
- - Bump @lage-run/scheduler-types to v0.3.5
package/jest.config.js DELETED
@@ -1 +0,0 @@
1
- module.exports = require("@lage-run/monorepo-scripts/config/jest.config.js");
package/tsconfig.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "extends": "../tsconfig.lage2.json",
3
- "compilerOptions": {
4
- "outDir": "./lib"
5
- },
6
- "include": ["src"]
7
- }