Files
coder/offlinedocs/package.json
T
Jakub Domeracki 1f194dcdff fix: widen engines.node to include Node.js 24 LTS (#24419)
Dependabot's npm updater now ships Node.js v24.14.1 (Active LTS
"Krypton"). The `engines.node` field in `site/package.json` and
`offlinedocs/package.json` restricted to `>=18.0.0 <23.0.0`, causing
`ERR_PNPM_UNSUPPORTED_ENGINE` failures when Dependabot tried to update
packages (e.g. the `axios` security update).

Widens the upper bound to `<25.0.0` so Node.js 24.x is accepted. The
project itself continues to use Node 22 via `flake.nix`.

Reference:
https://github.com/coder/coder/actions/runs/24482279340/job/71549366110

> [!NOTE]
> This PR was authored by Coder Agents.
2026-04-16 15:22:12 +02:00

54 lines
1.4 KiB
JSON

{
"name": "coder-docs-generator",
"private": true,
"scripts": {
"dev": "pnpm copy-images && next dev",
"build": "next build",
"start": "next start",
"export": "pnpm copy-images && next build",
"copy-images": "sh ./scripts/copyImages.sh",
"lint": "pnpm run lint:types",
"lint:types": "tsc --noEmit",
"format": "prettier --cache --write './**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
"format:check": "prettier --cache --check './**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'"
},
"dependencies": {
"@chakra-ui/react": "2.10.9",
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.1",
"archiver": "6.0.2",
"framer-motion": "^10.18.0",
"front-matter": "4.0.2",
"lodash": "4.17.21",
"next": "15.5.9",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-icons": "4.12.0",
"react-markdown": "9.1.0",
"rehype-raw": "7.0.0",
"remark-gfm": "4.0.1",
"sanitize-html": "2.17.0"
},
"devDependencies": {
"@types/lodash": "4.17.21",
"@types/node": "20.19.25",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@types/sanitize-html": "2.16.0",
"eslint": "8.57.1",
"eslint-config-next": "14.2.33",
"prettier": "3.7.3",
"typescript": "6.0.2"
},
"engines": {
"npm": ">=9.0.0 <10.0.0",
"node": ">=18.0.0 <25.0.0"
},
"pnpm": {
"overrides": {
"@babel/runtime": "7.26.10",
"brace-expansion": "1.1.12"
}
}
}