@rushstack/operation-graph 0.4.1 → 0.5.1

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
@@ -1,6 +1,41 @@
1
1
  {
2
2
  "name": "@rushstack/operation-graph",
3
3
  "entries": [
4
+ {
5
+ "version": "0.5.1",
6
+ "tag": "@rushstack/operation-graph_v0.5.1",
7
+ "date": "Wed, 08 Oct 2025 00:13:29 GMT",
8
+ "comments": {
9
+ "dependency": [
10
+ {
11
+ "comment": "Updating dependency \"@rushstack/node-core-library\" to `5.17.0`"
12
+ },
13
+ {
14
+ "comment": "Updating dependency \"@rushstack/terminal\" to `0.19.1`"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "version": "0.5.0",
21
+ "tag": "@rushstack/operation-graph_v0.5.0",
22
+ "date": "Fri, 03 Oct 2025 20:09:59 GMT",
23
+ "comments": {
24
+ "minor": [
25
+ {
26
+ "comment": "Normalize import of builtin modules to use the `node:` protocol."
27
+ }
28
+ ],
29
+ "dependency": [
30
+ {
31
+ "comment": "Updating dependency \"@rushstack/node-core-library\" to `5.16.0`"
32
+ },
33
+ {
34
+ "comment": "Updating dependency \"@rushstack/terminal\" to `0.19.0`"
35
+ }
36
+ ]
37
+ }
38
+ },
4
39
  {
5
40
  "version": "0.4.1",
6
41
  "tag": "@rushstack/operation-graph_v0.4.1",
package/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  # Change Log - @rushstack/operation-graph
2
2
 
3
- This log was last generated on Tue, 30 Sep 2025 23:57:45 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 08 Oct 2025 00:13:29 GMT and should not be manually modified.
4
+
5
+ ## 0.5.1
6
+ Wed, 08 Oct 2025 00:13:29 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 0.5.0
11
+ Fri, 03 Oct 2025 20:09:59 GMT
12
+
13
+ ### Minor changes
14
+
15
+ - Normalize import of builtin modules to use the `node:` protocol.
4
16
 
5
17
  ## 0.4.1
6
18
  Tue, 30 Sep 2025 23:57:45 GMT
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.52.11"
8
+ "packageVersion": "7.52.15"
9
9
  }
10
10
  ]
11
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"IOperationRunner.d.ts","sourceRoot":"","sources":["../src/IOperationRunner.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,WAAW,EAAE,WAAW,CAAC;IAEzB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IAEpB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,MAAM,EAAE,eAAe,CAAC;IACxB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,cAAc,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,SAAS,EAAE,SAAS,CAAC;CACtB;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC;IACtD;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,QAAQ,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC;CAC3D;AAED;;;;;;GAMG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE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YAAY,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;CAC1E"}
@@ -1 +1 @@
1
- {"version":3,"file":"IOperationRunner.js","sourceRoot":"","sources":["../src/IOperationRunner.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\nimport type { OperationStatus } from './OperationStatus';\nimport type { OperationError } from './OperationError';\n\nimport type { Stopwatch } from './Stopwatch';\n\n/**\n * Information passed to the executing `IOperationRunner`\n *\n * @beta\n */\nexport interface IOperationRunnerContext {\n /**\n * An abort signal for the overarching execution. Runners should do their best to gracefully abort\n * as soon as possible if the signal is aborted.\n */\n abortSignal: AbortSignal;\n\n /**\n * If this is the first time this operation has been executed.\n */\n isFirstRun: boolean;\n\n /**\n * A callback to the overarching orchestrator to request that the operation be invoked again.\n * Used in watch mode to signal that inputs have changed.\n *\n * @param detail - Optional detail about why the rerun is requested, e.g. the name of a changed file.\n */\n requestRun?: (detail?: string) => void;\n}\n\n/**\n * Interface contract for a single state of an operation.\n *\n * @beta\n */\nexport interface IOperationState {\n /**\n * The status code for the operation.\n */\n status: OperationStatus;\n /**\n * Whether the operation has been run at least once.\n */\n hasBeenRun: boolean;\n /**\n * The error, if the status is `OperationStatus.Failure`.\n */\n error: OperationError | undefined;\n /**\n * Timing information for the operation.\n */\n stopwatch: Stopwatch;\n}\n\n/**\n * Interface contract for the current and past state of an operation.\n *\n * @beta\n */\nexport interface IOperationStates {\n /**\n * The current state of the operation.\n */\n readonly state: Readonly<IOperationState> | undefined;\n /**\n * The previous state of the operation.\n */\n readonly lastState: Readonly<IOperationState> | undefined;\n}\n\n/**\n * The `Operation` class is a node in the dependency graph of work that needs to be scheduled by the\n * `OperationExecutionManager`. Each `Operation` has a `runner` member of type `IOperationRunner`, whose\n * implementation manages the actual process for running a single operation.\n *\n * @beta\n */\nexport interface IOperationRunner {\n /**\n * Name of the operation, for logging.\n */\n readonly name: string;\n\n /**\n * Indicates that this runner is architectural and should not be reported on.\n */\n silent: boolean;\n\n /**\n * Method to be executed for the operation.\n */\n executeAsync(context: IOperationRunnerContext): Promise<OperationStatus>;\n}\n"]}
1
+ {"version":3,"file":"IOperationRunner.js","sourceRoot":"","sources":["../src/IOperationRunner.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\nimport type { OperationStatus } from './OperationStatus';\nimport type { OperationError } from './OperationError';\nimport type { Stopwatch } from './Stopwatch';\n\n/**\n * Information passed to the executing `IOperationRunner`\n *\n * @beta\n */\nexport interface IOperationRunnerContext {\n /**\n * An abort signal for the overarching execution. Runners should do their best to gracefully abort\n * as soon as possible if the signal is aborted.\n */\n abortSignal: AbortSignal;\n\n /**\n * If this is the first time this operation has been executed.\n */\n isFirstRun: boolean;\n\n /**\n * A callback to the overarching orchestrator to request that the operation be invoked again.\n * Used in watch mode to signal that inputs have changed.\n *\n * @param detail - Optional detail about why the rerun is requested, e.g. the name of a changed file.\n */\n requestRun?: (detail?: string) => void;\n}\n\n/**\n * Interface contract for a single state of an operation.\n *\n * @beta\n */\nexport interface IOperationState {\n /**\n * The status code for the operation.\n */\n status: OperationStatus;\n /**\n * Whether the operation has been run at least once.\n */\n hasBeenRun: boolean;\n /**\n * The error, if the status is `OperationStatus.Failure`.\n */\n error: OperationError | undefined;\n /**\n * Timing information for the operation.\n */\n stopwatch: Stopwatch;\n}\n\n/**\n * Interface contract for the current and past state of an operation.\n *\n * @beta\n */\nexport interface IOperationStates {\n /**\n * The current state of the operation.\n */\n readonly state: Readonly<IOperationState> | undefined;\n /**\n * The previous state of the operation.\n */\n readonly lastState: Readonly<IOperationState> | undefined;\n}\n\n/**\n * The `Operation` class is a node in the dependency graph of work that needs to be scheduled by the\n * `OperationExecutionManager`. Each `Operation` has a `runner` member of type `IOperationRunner`, whose\n * implementation manages the actual process for running a single operation.\n *\n * @beta\n */\nexport interface IOperationRunner {\n /**\n * Name of the operation, for logging.\n */\n readonly name: string;\n\n /**\n * Indicates that this runner is architectural and should not be reported on.\n */\n silent: boolean;\n\n /**\n * Method to be executed for the operation.\n */\n executeAsync(context: IOperationRunnerContext): Promise<OperationStatus>;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/operation-graph",
3
- "version": "0.4.1",
3
+ "version": "0.5.1",
4
4
  "description": "Library for managing and executing operations in a directed acyclic graph.",
5
5
  "main": "lib/index.js",
6
6
  "typings": "dist/operation-graph.d.ts",
@@ -11,11 +11,11 @@
11
11
  "directory": "libraries/operation-graph"
12
12
  },
13
13
  "dependencies": {
14
- "@rushstack/node-core-library": "5.15.1",
15
- "@rushstack/terminal": "0.18.0"
14
+ "@rushstack/node-core-library": "5.17.0",
15
+ "@rushstack/terminal": "0.19.1"
16
16
  },
17
17
  "devDependencies": {
18
- "@rushstack/heft": "0.74.3",
18
+ "@rushstack/heft": "1.0.0",
19
19
  "eslint": "~9.25.1",
20
20
  "decoupled-local-node-rig": "1.0.0"
21
21
  },