Mounting only ./backend and ./frontend into /app made pnpm look for a per-package lockfile (stale) and miss the workspace-root one entirely, so --frozen-lockfile failed and root pnpm.onlyBuiltDependencies didn't apply. Mount the whole repo at /repo, install with --filter from root, and use the canonical workspace lockfile. Drop the per-package onlyBuiltDependencies overrides — pnpm warns they're ignored outside the workspace root. Pin node:22-bookworm: node:lts now resolves to Node 24, for which isolated-vm@5.0.3 has no prebuild and won't compile (V8 headers require C++20). Gitignore stray per-package lockfiles so they don't drift again.
23 lines
544 B
JSON
23 lines
544 B
JSON
{
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=22",
|
|
"pnpm": ">=10"
|
|
},
|
|
"packageManager": "pnpm@10.33.2",
|
|
"scripts": {
|
|
"db:dump": "sqlite3 ../data/data.db < ../schema/clean_and_dump.sql > ../schema/dump.sql",
|
|
"db:import": "rm -f ../data/data.db && sqlite3 ../data/data.db < ../schema/dump.sql",
|
|
"dev": "nodemon --exec directus start",
|
|
"start": "directus start"
|
|
},
|
|
"dependencies": {
|
|
"directus": "11.17.3",
|
|
"sqlite3": "6.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"nodemon": "3.1.14",
|
|
"uuid": "14.0.0"
|
|
}
|
|
}
|