@backstage/cli-node 0.0.0-nightly-20261031021925 → 0.0.0-nightly-20261104021945

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.md CHANGED
@@ -1,16 +1,29 @@
1
1
  # @backstage/cli-node
2
2
 
3
- ## 0.0.0-nightly-20261031021925
3
+ ## 0.0.0-nightly-20261104021945
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - 4294614: Commands run through `runCli` now exit with the exit code they set, instead of always exiting with `0` on completion. For example, `catalog validate` and `template dry-run` now exit with a non-zero code when the input is invalid.
8
8
  - a96b99c: The Node.js module transform now uses the synchronous `module.registerHooks()` API when it is available, which avoids the `module.register()` deprecation warning printed by Node.js 26. On older Node.js versions it continues to use `module.register()`.
9
+ - 04a54e2: Switched the compilation target to ES2024, which all supported Node.js versions fully support. Package builds, app bundles, and the backend development server now compile code for ES2024, and the TypeScript `target` and `lib` options in `@backstage/cli/config/tsconfig.json` are set to `ES2024`. This requires TypeScript 5.9 or later, which is now the oldest supported version according to the [versioning policy](https://backstage.io/docs/overview/versioning-policy#typescript-releases).
10
+
11
+ The `lib` change allows code to use ES2024 built-in APIs such as `Object.groupBy` and `Promise.withResolvers`. Backstage doesn't include polyfills, so frontend code that uses these APIs needs at least Chrome or Edge 119, Firefox 121, or Safari 17.4.
12
+
9
13
  - Updated dependencies
10
14
  - @backstage/cli-common@0.3.2
11
15
  - @backstage/errors@1.3.2
12
16
  - @backstage/types@1.2.2
13
17
 
18
+ ## 0.3.6-next.1
19
+
20
+ ### Patch Changes
21
+
22
+ - a96b99c: The Node.js module transform now uses the synchronous `module.registerHooks()` API when it is available, which avoids the `module.register()` deprecation warning printed by Node.js 26. On older Node.js versions it continues to use `module.register()`.
23
+ - 04a54e2: Switched the compilation target to ES2024, which all supported Node.js versions fully support. Package builds, app bundles, and the backend development server now compile code for ES2024, and the TypeScript `target` and `lib` options in `@backstage/cli/config/tsconfig.json` are set to `ES2024`. This requires TypeScript 5.9 or later, which is now the oldest supported version according to the [versioning policy](https://backstage.io/docs/overview/versioning-policy#typescript-releases).
24
+
25
+ The `lib` change allows code to use ES2024 built-in APIs such as `Object.groupBy` and `Promise.withResolvers`. Backstage doesn't include polyfills, so frontend code that uses these APIs needs at least Chrome or Edge 119, Firefox 121, or Safari 17.4.
26
+
14
27
  ## 0.3.6-next.0
15
28
 
16
29
  ### Patch Changes
@@ -61,7 +61,7 @@ addHook(
61
61
  ignoreDynamic: true,
62
62
  },
63
63
  jsc: {
64
- target: 'es2023',
64
+ target: 'es2024',
65
65
  parser: {
66
66
  syntax: 'typescript',
67
67
  },
@@ -112,7 +112,7 @@ function withDetectedModuleType(resolved) {
112
112
  if (resolved.format) {
113
113
  return resolved;
114
114
  }
115
- // Happens in Node.js v22 when there's a package.json without an explicit "type" field. Use the default.
115
+ // Happens when there's a package.json without an explicit "type" field. Use the default.
116
116
  if (resolved.format === null) {
117
117
  return { ...resolved, format: DEFAULT_MODULE_FORMAT };
118
118
  }
@@ -281,7 +281,7 @@ function loadImpl(url, context, nextLoad) {
281
281
  exportInteropAnnotation: true,
282
282
  },
283
283
  jsc: {
284
- target: 'es2023',
284
+ target: 'es2024',
285
285
  parser: {
286
286
  syntax: 'typescript',
287
287
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/cli-node",
3
- "version": "0.0.0-nightly-20261031021925",
3
+ "version": "0.0.0-nightly-20261104021945",
4
4
  "description": "Node.js library for Backstage CLIs",
5
5
  "backstage": {
6
6
  "role": "node-library"
@@ -48,9 +48,9 @@
48
48
  "zod": "^3.25.76 || ^4.0.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@backstage/backend-test-utils": "0.0.0-nightly-20261031021925",
52
- "@backstage/cli": "0.0.0-nightly-20261031021925",
53
- "@backstage/test-utils": "0.0.0-nightly-20261031021925",
51
+ "@backstage/backend-test-utils": "0.0.0-nightly-20261104021945",
52
+ "@backstage/cli": "0.0.0-nightly-20261104021945",
53
+ "@backstage/test-utils": "0.0.0-nightly-20261104021945",
54
54
  "@types/proper-lockfile": "^4",
55
55
  "@types/yarnpkg__lockfile": "^1.1.4"
56
56
  },