mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 21:33:19 +00:00
34e28d082d
Takes Dependabot's group update except MikroORM, which stays on 7.2.8: 7.2.9 broke the Postgres probe on OauthTokens.insertToken and OauthConsents.upsertGrant, and 7.2.11 gets its own round. The rollup musl pins stay with the rollup version the lockfile resolves. The Playwright container moves to v1.65.1-noble with its digest, as the lockfile now pins @playwright/test 1.65.1.
75 lines
4.4 KiB
JSON
75 lines
4.4 KiB
JSON
{
|
|
"name": "@trek/root",
|
|
"private": true,
|
|
"version": "5.1.4",
|
|
"engines": {
|
|
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
},
|
|
"workspaces": [
|
|
"client",
|
|
"server",
|
|
"shared"
|
|
],
|
|
"scripts": {
|
|
"version:major": "npm version major --workspaces --include-workspace-root --no-git-tag-version",
|
|
"version:minor": "npm version minor --workspaces --include-workspace-root --no-git-tag-version",
|
|
"version:patch": "npm version patch --workspaces --include-workspace-root --no-git-tag-version",
|
|
"version:premajor": "npm version premajor --preid=rc --workspaces --include-workspace-root --no-git-tag-version",
|
|
"version:preminor": "npm version preminor --preid=beta --workspaces --include-workspace-root --no-git-tag-version",
|
|
"version:prepatch": "npm version prepatch --preid=alpha --workspaces --include-workspace-root --no-git-tag-version",
|
|
"version:prerelease": "npm version prerelease --preid=pre --workspaces --include-workspace-root --no-git-tag-version",
|
|
"dev": "npm run build --workspace=shared && concurrently --names shared,server,client \"npm run build:watch --workspace=shared\" \"npm run dev --workspace=server\" \"npm run dev --workspace=client\"",
|
|
"build": "npm run build --workspace=shared && npm run build --workspace=server && npm run build --workspace=client",
|
|
"test": "npm run test --workspace=shared && npm run test --workspace=server && npm run test --workspace=client",
|
|
"test:cov": "npm run test:coverage --workspace=shared && npm run test:coverage --workspace=server && npm run test:coverage --workspace=client && npm run test:coverage --prefix plugin-sdk",
|
|
"test:e2e": "npm run test:e2e --workspace=server",
|
|
"test:ci-scripts": "node --test scripts/ci/*.test.mjs",
|
|
"test:lib-scripts": "node --test scripts/lib/*.test.mjs",
|
|
"lint:knip": "node scripts/ci/knip-ratchet.mjs",
|
|
"lint": "npm run lint --workspace=shared && npm run lint --workspace=server && npm run lint --workspace=client",
|
|
"lint:fix": "npm run lint:fix --workspace=shared && npm run lint:fix --workspace=server",
|
|
"format": "npm run format --workspace=shared && npm run format --workspace=server && npm run format --workspace=client",
|
|
"format:check": "npm run format:check --workspace=shared && npm run format:check --workspace=server && npm run format:check --workspace=client"
|
|
},
|
|
"comment:devDependencies": "jsdom is the client's test DOM. It is listed here too so npm keeps one copy at the root: vitest's built-in jsdom environment resolves it from there, and with jsdom only in the client npm nested it under client/ where vitest cannot see it. Keep the two ranges equal.",
|
|
"devDependencies": {
|
|
"concurrently": "^10.0.7",
|
|
"jsdom": "^29.1.1",
|
|
"knip": "^6.47.0",
|
|
"unrun": "^0.3.1"
|
|
},
|
|
"comment:scarfSettings": "swagger-ui-dist ships @scarf/scarf install-time analytics; TREK sends no telemetry, so it stays off.",
|
|
"scarfSettings": {
|
|
"enabled": false
|
|
},
|
|
"comment:overrides": "React and react-dom: one React 19 across the workspace, so the test renderer (@testing-library/react) and the app share one react-dom. Everything else is a security floor. npm reads overrides from the root package.json only, so a floor in a workspace package.json does nothing. A floor never crosses a major its dependents ask for (brace-expansion is pinned per line for that reason), and npm ls <name> shows whether it holds.",
|
|
"overrides": {
|
|
"react": "19.3.1",
|
|
"react-dom": "19.3.1",
|
|
"@hono/node-server": "^1.19.13",
|
|
"body-parser@^1.20.0": "^1.20.9",
|
|
"body-parser@^2.0.0": "^2.4.0",
|
|
"brace-expansion@^2.0.0": "^2.1.7",
|
|
"dompurify": "^3.4.17",
|
|
"fast-uri": "^3.1.9",
|
|
"file-type": "^21.3.4",
|
|
"hono": "^4.13.18",
|
|
"ip-address": "^10.7.4",
|
|
"js-yaml@^5.0.0": "^5.4.1",
|
|
"multer": "^2.5.0",
|
|
"proxy-addr": "^2.0.8",
|
|
"qs": "^6.15.2",
|
|
"source-map-js": "^1.2.2",
|
|
"undici@^8.0.0": "^8.12.2",
|
|
"ws": "^8.21.3",
|
|
"zod": "^4.6.7"
|
|
},
|
|
"comment:optionalDependencies": "The lockfile is generated on glibc, so the musl builds the Alpine image needs never land in it on their own. Keep the @img/* pins on the same version as client's sharp — a mismatch nests the binary away from libvips and the image build dies in generate-icons.",
|
|
"optionalDependencies": {
|
|
"@img/sharp-linuxmusl-arm64": "0.35.5",
|
|
"@img/sharp-linuxmusl-x64": "0.35.5",
|
|
"@rollup/rollup-linux-arm64-musl": "4.62.0",
|
|
"@rollup/rollup-linux-x64-musl": "4.62.0"
|
|
}
|
|
}
|