Merge latest invariant service seam
# Conflicts: # docs/module-graph.md # package.json # packages/examples/tui-demo/package.json # packages/examples/tui-demo/src/invariant.ts # packages/ui/stdio/package.json # packages/ui/stdio/tests/stdio.spec.ts # packages/ui/stdio/tsconfig.json # pnpm-lock.yaml
This commit is contained in:
19
packages/examples/tui-demo/tsdown.config.ts
Normal file
19
packages/examples/tui-demo/tsdown.config.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { defineConfig } from 'tsdown'
|
||||
|
||||
/**
|
||||
* tui-demo ships two entries: the plugin (`index`) and the CLI `bin`
|
||||
* (`bin`), the latter referenced by package.json `bin`/`exports["./bin"]`.
|
||||
* The root tsdown builds only `lib/types/index.js`, so this override adds
|
||||
* `lib/types/bin.js`. Declarations come from `tsc -b` (dts: false),
|
||||
* matching every package.
|
||||
*/
|
||||
export default defineConfig({
|
||||
entry: ['lib/types/index.js', 'lib/types/invariant.js', 'lib/types/bin.js'],
|
||||
outDir: 'lib',
|
||||
format: ['esm'],
|
||||
platform: 'node',
|
||||
target: 'es2024',
|
||||
fixedExtension: false,
|
||||
dts: false,
|
||||
clean: false,
|
||||
})
|
||||
Reference in New Issue
Block a user