CI / Frozen lockfile install (pull_request) Successful in 50s
Adds root scripts so build, test and typecheck run from the workspace root: - root package.json gains scripts: build (pnpm -r run build), test (node --test on tests/**/*.test.mjs), typecheck (pnpm -r run typecheck) - every workspace package (apps/server, packages/core, extensions/example) gains build (tsc -p tsconfig.json) and typecheck (tsc -p tsconfig.json --noEmit) scripts - typescript 6.0.3 pinned as an exact root devDependency so the commands run from a clean checkout; lockfile regenerated with pnpm 11.23.0 Verified from a clean state: pnpm install --frozen-lockfile passes, pnpm build emits dist for all 3 packages, pnpm typecheck passes for all 3, pnpm test runs tests/architecture-import.test.mjs 10/10 green, and CI's pnpm -r list --depth -1 still lists all 4 workspace projects. Closes #158
20 lines
507 B
JSON
20 lines
507 B
JSON
{
|
|
"name": "@personal-blog/server",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "EPPP public server application. Bootstrap placeholder — the Fastify 5 application shell lands in a later story.",
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
}
|
|
}
|