TryGhost
OSS
Ghost
Sign in / Sign up
Open main menu
Ghost
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
drop-parse-email-address-from-dev-fanout
90270ce7 Merge b0009a0e629779c94971c996cb45b6e889ce0729 into f9c264eac9f129d9596dfd25acb65c766d63f93c
by Steve Larson
S
Succeeded
28969
b0009a0e Removed @tryghost/parse-email-address from pnpm dev fan-out parse-email-address is a 20-line workspace package wrapping the npm parse-email-address module. Its dev script ran tsc --watch continuously (~145 MB RSS, plus another ~145 MB of Nx run-executor + pnpm wrapper overhead) to emit build/index.js + build/index.d.ts. ghost/core runs with node --conditions=source --import=tsx (see ghost/core/nodemon.json), so its runtime imports resolve through the source export condition and load src/index.ts directly via tsx — build/ is never read at runtime. But ghost/core type-checks against the package types field, which points at build/index.d.ts, so a fresh clone with no build/ would break editor type resolution. Added a prepare script to parse-email-address so pnpm install builds build/ once. tsconfig.tsbuildinfo and build/ are both gitignored, so a true fresh clone always triggers the build. Source edits to this package require a manual rebuild (or pnpm --filter @tryghost/parse-email-address dev) — acceptable for a tiny rarely-touched package. Net savings: 1 host process and ~290 MB RSS per dev session. no ref
by Steve Larson
S
Succeeded
28969
88d356b6 Removed @tryghost/parse-email-address from pnpm dev fan-out no ref parse-email-address is a 20-line workspace package wrapping the npm 'parse-email-address' module. Its dev script runs tsc --watch (~145 MB RSS, plus ~145 MB of Nx run-executor + pnpm wrapper overhead) emitting build/index.js and build/index.d.ts continuously. In dev, none of that output is consumed. The package's package.json exports declares: "exports": { ".": { "source": "./src/index.ts", <- used in dev "types": "./build/index.d.ts", "default": "./build/index.js" } } ghost/core runs with 'node --conditions=source --import=tsx' (see ghost/core/nodemon.json), so the 'source' condition wins and ghost/core imports the .ts directly via tsx. The build/ output is purely a production artifact, never read at dev time. tsc --watch was running for nothing. Removed from docker:dev's dependsOn list. 'pnpm --filter @tryghost/parse-email-address dev' still works for solo work on the package itself. CI builds (which need build/) are unaffected since they invoke 'build' targets directly.
by Steve Larson
S
Previous page
Previous
Next
Next page