fix(build): migrate smart config and update build tooling for latest tsbundle and TypeScript defaults

This commit is contained in:
2026-04-12 10:19:03 +00:00
parent 0e816379a5
commit ee8b5dc3ff
11 changed files with 1927 additions and 1610 deletions

View File

@@ -1,5 +1,18 @@
# Project Hints and Findings
## TypeScript 6.0 & Build Tooling (2026-04-12)
### TypeScript 6.0 Strict Defaults
TypeScript 6.0.2 (shipped with tsbuild 4.4.0) changes `strict` to `true` by default. The project explicitly sets `"strict": false` in tsconfig.json to preserve pre-TS6 behavior. Also added `"types": ["node"]` since TS6 changed `@types/*` auto-discovery.
### Config Migration: npmextra.json → .smartconfig.json
Build tools (tsbundle 2.10.0, tswatch 3.3.2) now use `@push.rocks/smartconfig` which reads `.smartconfig.json` (with leading dot). The old `npmextra.json` was renamed.
### tsbundle Configuration
The `tsbundle element` subcommand no longer exists. Instead, bundle configuration lives in `.smartconfig.json` under `"@git.zone/tsbundle"` with a `bundles` array. Entry point is `./html/index.ts``./dist_bundle/bundle.js`.
---
## Section-based Configuration API (2025-12-27)
### Overview