Commit 3fb39ca
committed
build: run check-dts-emitted at the end of every tsup-built package's build
#11907 established that tsup 8.5.1 can report build success having emitted zero
declarations: DTS generation runs in a `worker_threads.Worker` whose promise is
settled only from that worker's `message` events (no `error`, no `exit`
handler), so a worker that dies without posting one settles neither branch,
node exits 0, and esbuild has already written `dist/`. turbo caches only
successful tasks — so the declaration-less `dist/**` is cached under the hash of
an ordinary full build and replays until `--force`.
PR #12076 landed the package-agnostic guard and wired it into
`@objectstack/plugin-auth` only. This rolls it across the whole population:
every workspace package whose `build` script invokes tsup — 67 in total, 66
newly wired — now ends its build with
`node <root>/scripts/check-dts-emitted.mjs`, joined with `&&` so the guard's
status is the build's status.
The diff is confined to `build` script lines (66 files, 66 insertions, 66
deletions) so it stays trivially resolvable against the open PR population.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UjM2ia8Av1v5NqfqQEQmC61 parent a11c1a5 commit 3fb39ca
66 files changed
Lines changed: 66 additions & 66 deletions
File tree
- packages
- adapters/hono
- apps
- account
- setup
- studio
- client-react
- client
- cloud-connection
- connectors
- connector-mcp
- connector-openapi
- connector-rest
- connector-slack
- core
- create-objectstack
- drivers
- driver-memory
- driver-mongodb
- driver-sqlite-wasm
- driver-sql
- driver-turso
- formula
- lint
- mcp
- metadata-core
- metadata-fs
- metadata-protocol
- metadata
- objectql
- observability
- platform-objects
- plugins
- embedder-openai
- knowledge-memory
- knowledge-ragflow
- plugin-approvals
- plugin-audit
- plugin-dev
- plugin-email
- plugin-hono-server
- plugin-pinyin-search
- plugin-reports
- plugin-security
- plugin-sharing
- plugin-webhooks
- rest
- runtime
- sdui-parser
- services
- service-analytics
- service-automation
- service-cache
- service-cluster-redis
- service-cluster
- service-datasource
- service-i18n
- service-job
- service-knowledge
- service-messaging
- service-package
- service-queue
- service-realtime
- service-settings
- service-sms
- service-storage
- spec
- triggers
- trigger-api
- trigger-record-change
- trigger-schedule
- types
- verify
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments