Commit 822339d
authored
build: declare @types/node only in devDependencies (#13)
* build: require Node >= 22 and build with Node 24
Add an `engines` floor of Node >= 22 to package.json and mirror it into
package-lock.json, and bump @types/node to ^24.13.3 so the typings match
the runtime the plugin is built with.
Move CI onto Node 24 (was Node 20). Raise the Debian Build-Depends floor
to nodejs (>= 22) and install Node 24 from NodeSource when building the
package.
* build: declare @types/node only in devDependencies
@types/node was listed in both dependencies and devDependencies, and the
two had drifted apart before they were aligned on ^24.13.3. It supplies
build-time typings only, so keep the devDependencies entry and drop the
duplicate.
npm already resolved it as a dev-only package, so installs are unaffected;
this just makes package.json say what npm was already doing.1 parent 7298ddb commit 822339d
2 files changed
Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
0 commit comments