package: CommonJS projects get their own declarations (dist/types-cjs; node16 / nodenext refused an ESM-only .d.ts from a CJS file, TS1541); the package-types test covers ES module and CommonJS projects under bundler / node16 / nodenext / node10 and loads the package with import() and require() under Node; pitfall 69
This commit is contained in:
parent
d717ceb4cd
commit
04647c079e
6 changed files with 42 additions and 14 deletions
|
|
@ -3,10 +3,10 @@
|
|||
## Unreleased
|
||||
|
||||
- **`import type { ShipConfig } from 'storebound'` type-checks outside Bun.** The package ships declarations
|
||||
(`dist/types`, the "types" condition) and a JS entry for Node; Bun keeps the .ts source. 0.8.5 named only
|
||||
for ES module and CommonJS projects (`dist/types`, `dist/types-cjs`) and a JS entry for Node; Bun keeps the .ts source. 0.8.5 named only
|
||||
`cli/lib/config.ts`, so tsc (`next build`, vue-tsc, ts-loader, `tsc --noEmit`) failed on a scaffolded
|
||||
storebound.config.ts and a working Next app stopped building. A test packs the entry and type-checks the template
|
||||
under bundler, node16 and nodenext with no @types/node and skipLibCheck off.
|
||||
in both project types under bundler, node16, nodenext and node10 with no @types/node and skipLibCheck off, and loads it with import() and require() under Node. Pitfall 69.
|
||||
- **`check` fails on the scaffolder's own placeholders**: "2026 Example Studio" and example.com / .org / .net URLs and
|
||||
addresses in `app`, `accounts` and `reviewAccess` would reach the stores as the app's copyright, contact and legal
|
||||
pages.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue