@_linked/cli 1.33.2 → 1.34.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.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.34.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#190](https://github.com/linked-fw/cli/pull/190) [`1ad56c2`](https://github.com/linked-fw/cli/commit/1ad56c2f1f7dcda5b6d752344c259d771e5f4c14) Thanks [@flyon](https://github.com/flyon)! - Scaffold new packages with the fleet-standard, emit-neutral tsconfig shape.
8
+
9
+ `defaults/package/tsconfig.json` now pins `rootDir: "./src"` and drops the no-op
10
+ `downlevelIteration`, and `tsconfig-esm.json` uses `moduleResolution: "bundler"`
11
+ instead of `"node"`. All three options are removed or no longer inferred in
12
+ TypeScript 7 (TS5011, TS5102, TS5108), so a package scaffolded today was born
13
+ needing the same fix that has just been applied across every `@_linked/*` repo.
14
+
15
+ The change is emit-neutral: without `rootDir` TypeScript infers it, and the
16
+ inferred value is already `./src`; `downlevelIteration` is a no-op at every
17
+ target used here (>= es2015).
18
+
19
+ `RUN_TEMPLATE_FULL=1` now asserts the shape — `rootDir` pinned in the base only,
20
+ no `downlevelIteration` or `moduleResolution: node` in any of the three configs,
21
+ both derived configs extending the base, and no extra `src/` level in the emit —
22
+ so the template cannot drift back.
23
+
3
24
  ## 1.33.2
4
25
 
5
26
  ### Patch Changes
@@ -4,6 +4,6 @@
4
4
  "module": "esnext",
5
5
  "target": "es2018",
6
6
  "outDir": "lib/esm",
7
- "moduleResolution": "node"
7
+ "moduleResolution": "bundler"
8
8
  }
9
- }
9
+ }
@@ -3,9 +3,9 @@
3
3
  "sourceMap": true,
4
4
  "inlineSources": true,
5
5
  "declaration": true,
6
+ "rootDir": "./src",
6
7
  "experimentalDecorators": true,
7
8
  "emitDecoratorMetadata": true,
8
- "downlevelIteration": true,
9
9
  "resolveJsonModule": true,
10
10
  "esModuleInterop": true,
11
11
  "pretty": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@_linked/cli",
3
- "version": "1.33.2",
3
+ "version": "1.34.0",
4
4
  "packageManager": "npm@11.19.1",
5
5
  "description": "Command line tools for the @_linked/* packages and apps",
6
6
  "main": "lib/esm/index.js",