Files
backspace/package.json
T
Jannis Braun 9d3f72be75 chore: pin Node 20 (LTS) and pnpm 10.34.3
Unpinned `pnpm@latest` in the Dockerfile made fresh builds non-reproducible:
`latest` now resolves to pnpm 11, but the committed lockfile targets pnpm 10, so
`pnpm install --frozen-lockfile` fails with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH on
a clean host. Pin pnpm to 10.34.3 across the Dockerfile, the `packageManager`
field, and the release workflow; pin Node to 20 (LTS) via `.nvmrc` and `engines`
so Docker, CI, and from-source builds all use the same tested toolchain.

Also corrects the docs: the lockfile is v9.0 (requires pnpm 10, not "pnpm 8+"),
and "Node 20+" implied untested newer majors were supported.
2026-07-06 01:04:59 +02:00

47 lines
1.5 KiB
JSON

{
"name": "backspace",
"version": "1.0.0",
"private": true,
"description": "Open, self-hosted communication platform — text, voice, video, and federation",
"license": "AGPL-3.0-only",
"author": "Jannis Braun",
"homepage": "https://github.com/TheZwiss/backspace",
"repository": {
"type": "git",
"url": "https://github.com/TheZwiss/backspace.git"
},
"scripts": {
"dev:server": "pnpm --filter @backspace/server dev",
"dev:web": "pnpm --filter @backspace/web dev",
"dev": "pnpm --filter @backspace/server dev & pnpm --filter @backspace/web dev",
"build:shared": "pnpm --filter @backspace/shared build",
"build:server": "pnpm --filter @backspace/server build",
"build:web": "pnpm --filter @backspace/web build",
"build": "pnpm --filter @backspace/shared build && pnpm --filter @backspace/server build && pnpm --filter @backspace/web build",
"dev:desktop": "pnpm --filter @backspace/desktop dev",
"build:desktop": "pnpm --filter @backspace/desktop build",
"gen-icons": "node scripts/gen-icons.mjs"
},
"devDependencies": {
"sharp": "^0.33.5",
"png-to-ico": "^2.1.8",
"png2icons": "^2.0.1"
},
"pnpm": {
"onlyBuiltDependencies": [
"better-sqlite3",
"esbuild",
"electron",
"sharp"
],
"patchedDependencies": {
"uiohook-napi@1.5.5": "patches/uiohook-napi@1.5.5.patch"
}
},
"packageManager": "pnpm@10.34.3",
"engines": {
"node": ">=20.0.0 <21.0.0",
"pnpm": ">=10.0.0"
}
}