diff --git a/.changeset/drop-node-20-cli-template.md b/.changeset/drop-node-20-cli-template.md
new file mode 100644
index 00000000..eca375e9
--- /dev/null
+++ b/.changeset/drop-node-20-cli-template.md
@@ -0,0 +1,5 @@
+---
+"@elgato/cli": patch
+---
+
+Updated the plugin template to use `@tsconfig/node24`.
diff --git a/.changeset/drop-node-20-docs.md b/.changeset/drop-node-20-docs.md
new file mode 100644
index 00000000..411da62c
--- /dev/null
+++ b/.changeset/drop-node-20-docs.md
@@ -0,0 +1,5 @@
+---
+"@elgato/streamdeck": patch
+---
+
+Removed Node.js 20 from the SDK documentation for Stream Deck 7.1 onwards.
diff --git a/.changeset/drop-node-20-schemas.md b/.changeset/drop-node-20-schemas.md
new file mode 100644
index 00000000..cad2474e
--- /dev/null
+++ b/.changeset/drop-node-20-schemas.md
@@ -0,0 +1,5 @@
+---
+"@elgato/schemas": minor
+---
+
+Removed Node.js 20 from the supported `Nodejs.Version` values of plugin manifests targeting Stream Deck 7.1 onwards.
diff --git a/.changeset/drop-node-20-tsconfig.md b/.changeset/drop-node-20-tsconfig.md
new file mode 100644
index 00000000..61c1e1d2
--- /dev/null
+++ b/.changeset/drop-node-20-tsconfig.md
@@ -0,0 +1,5 @@
+---
+"@elgato/tsconfig": minor
+---
+
+Removed the `node20` configurations; use `node24` or `node26` instead.
diff --git a/config/tsconfig/README.md b/config/tsconfig/README.md
index 2668a66e..af2bf6fd 100644
--- a/config/tsconfig/README.md
+++ b/config/tsconfig/README.md
@@ -42,7 +42,6 @@ These factors are available in the following combinations:
| ------------ | ----- | -------- | ----- | -------------- |
| `dom` | ✅ | ✅ | ✅ | ✅ |
| `isomorphic` | ❌ | ✅ | ✅ | ✅ |
-| `node20` | ✅ | ✅ | ✅ | ✅ |
| `node24` | ✅ | ✅ | ✅ | ✅ |
| `node26` | ✅ | ✅ | ✅ | ✅ |
@@ -75,23 +74,6 @@ pnpm add -D @types/node@^24
}
```
-
Node.js 20
-
-Your code runs in a Node.js 20 or higher environment:
-
-```sh
-pnpm add -D @types/node@^20
-```
-
-```jsonc
-{
- "extends": "@elgato/tsconfig/node20/app", // For an app
- "extends": "@elgato/tsconfig/node20/bundle", // When using a bundler
- "extends": "@elgato/tsconfig/node20/lib", // For a library
- "extends": "@elgato/tsconfig/node20/monorepo/lib", // For a library in a monorepo
-}
-```
-
Node.js 24
Your code runs in a Node.js 24 or higher environment:
@@ -135,20 +117,18 @@ Each configuration provides access to different libraries based on the environme
### Environments
- `dom` — code with access to a DOM, such as browsers.
-- `node20`, `node24`, `node26` — code with access to Node.js.
+- `node24`, `node26` — code with access to Node.js.
- `isomorphic` — code intended for DOM and Node.js environments.
| | `lib` | `target` | `types` |
| ------------ | -------------------------------------------- | -------- | ------- |
| `dom` | `es2022`, `dom`, `dom.iterable` | `es2022` | - |
| `isomorphic` | `es2022` | `es2022` | `node` |
-| `node20` | See [`@tsconfig/node20`][node20] | `es2022` | `node` |
| `node24` | See [`@tsconfig/node24`][node24] | `es2024` | `node` |
| `node26` | See [`@tsconfig/node26`][node26]1 | `es2025` | `node` |
1 Requires TypeScript 6.0 or higher for `ESNext.Temporal`.
-[node20]: https://www.npmjs.com/package/@tsconfig/node20
[node24]: https://www.npmjs.com/package/@tsconfig/node24
[node26]: https://www.npmjs.com/package/@tsconfig/node26
@@ -197,9 +177,6 @@ Applies to:
- `@elgato/tsconfig/dom/monorepo/lib`
- `@elgato/tsconfig/isomorphic/lib`
- `@elgato/tsconfig/isomorphic/monorepo/lib`
-- `@elgato/tsconfig/node20/app`
-- `@elgato/tsconfig/node20/lib`
-- `@elgato/tsconfig/node20/monorepo/lib`
- `@elgato/tsconfig/node24/app`
- `@elgato/tsconfig/node24/lib`
- `@elgato/tsconfig/node24/monorepo/lib`
@@ -239,7 +216,6 @@ When developing in a monorepo, the `.tsbuildinfo` file is saved to `dist/tsconfi
- `@elgato/tsconfig/dom/monorepo/lib`
- `@elgato/tsconfig/isomorphic/monorepo/lib`
-- `@elgato/tsconfig/node20/monorepo/lib`
- `@elgato/tsconfig/node24/monorepo/lib`
- `@elgato/tsconfig/node26/monorepo/lib`
diff --git a/config/tsconfig/node20/tsconfig.app.json b/config/tsconfig/node20/tsconfig.app.json
deleted file mode 100644
index f8d736d2..00000000
--- a/config/tsconfig/node20/tsconfig.app.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "extends": "../tsconfig.app.json",
- "compilerOptions": {
- /* Language and environment */
- "lib": ["es2023"],
- "target": "es2022",
-
- /* Modules */
- "types": ["node"]
- }
-}
diff --git a/config/tsconfig/node20/tsconfig.bundle.json b/config/tsconfig/node20/tsconfig.bundle.json
deleted file mode 100644
index 76ba3e4f..00000000
--- a/config/tsconfig/node20/tsconfig.bundle.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "extends": "../tsconfig.bundle.json",
- "compilerOptions": {
- /* Language and environment */
- "lib": ["es2023"],
- "target": "es2022",
-
- /* Modules */
- "types": ["node"]
- }
-}
diff --git a/config/tsconfig/node20/tsconfig.lib.json b/config/tsconfig/node20/tsconfig.lib.json
deleted file mode 100644
index 3a95cda4..00000000
--- a/config/tsconfig/node20/tsconfig.lib.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "extends": "../tsconfig.lib.json",
- "compilerOptions": {
- /* Language and environment */
- "lib": ["es2023"],
- "target": "es2022",
-
- /* Modules */
- "types": ["node"]
- }
-}
diff --git a/config/tsconfig/node20/tsconfig.monorepo.lib.json b/config/tsconfig/node20/tsconfig.monorepo.lib.json
deleted file mode 100644
index 1d1ac359..00000000
--- a/config/tsconfig/node20/tsconfig.monorepo.lib.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "extends": "../tsconfig.monorepo.lib.json",
- "compilerOptions": {
- /* Language and environment */
- "lib": ["es2023"],
- "target": "es2022",
-
- /* Modules */
- "types": ["node"]
- }
-}
diff --git a/config/tsconfig/package.json b/config/tsconfig/package.json
index 2f2cb1d3..7bcfeda2 100644
--- a/config/tsconfig/package.json
+++ b/config/tsconfig/package.json
@@ -27,10 +27,6 @@
"./isomorphic/bundle": "./isomorphic/tsconfig.bundle.json",
"./isomorphic/lib": "./isomorphic/tsconfig.lib.json",
"./isomorphic/monorepo/lib": "./isomorphic/tsconfig.monorepo.lib.json",
- "./node20/app": "./node20/tsconfig.app.json",
- "./node20/bundle": "./node20/tsconfig.bundle.json",
- "./node20/lib": "./node20/tsconfig.lib.json",
- "./node20/monorepo/lib": "./node20/tsconfig.monorepo.lib.json",
"./node24/app": "./node24/tsconfig.app.json",
"./node24/bundle": "./node24/tsconfig.bundle.json",
"./node24/lib": "./node24/tsconfig.lib.json",
diff --git a/docs/sdk/introduction/plugin-environment.mdx b/docs/sdk/introduction/plugin-environment.mdx
index 50c07449..2fa54b43 100644
--- a/docs/sdk/introduction/plugin-environment.mdx
+++ b/docs/sdk/introduction/plugin-environment.mdx
@@ -35,21 +35,21 @@ Similar to a web app, the layers of a plugin use separate JavaScript runtimes.
The JavaScript runtime versions, by Stream Deck version, are:
-| Stream Deck | Node.js (application) | Chromium (UI) |
-| ----------- | ------------------------------- | ---------------- |
-| `7.6` | `20.20.2`, `24.22.1`, `26.12.1` | `140.0.0.0` |
-| `7.5` | `20.20.2`, `24.22.1`, `26.12.1` | `130.0.0.0` |
-| `7.4` | `20.20.2`, `24.22.1`, `26.12.1` | `130.0.0.0` |
-| `7.3` | `20.20.2`, `24.22.1`, `26.12.1` | `130.0.0.0` |
-| `7.2` | `20.20.2`, `24.22.1`, `26.12.1` | `130.0.0.0` |
-| `7.1` | `20.20.2`, `24.22.1`, `26.12.1` | `130.0.0.0` |
-| `7.0` | `20.19.0` | `122.0.6261.171` |
-| `6.9` | `20.19.0` | `122.0.6261.171` |
-| `6.8` | `20.18.0` | `118.0.5993.220` |
-| `6.7` | `20.15.0` | `118.0.5993.220` |
-| `6.6` | `20.8.1` | `112.0.5615.213` |
-| `6.5` | `20.8.1` | `108.0.5359.220` |
-| `6.4` | `20.5.1` | `102.0.5005.177` |
+| Stream Deck | Node.js (application) | Chromium (UI) |
+| ----------- | --------------------- | ---------------- |
+| `7.6` | `24.22.1`, `26.12.1` | `140.0.0.0` |
+| `7.5` | `24.22.1`, `26.12.1` | `130.0.0.0` |
+| `7.4` | `24.22.1`, `26.12.1` | `130.0.0.0` |
+| `7.3` | `24.22.1`, `26.12.1` | `130.0.0.0` |
+| `7.2` | `24.22.1`, `26.12.1` | `130.0.0.0` |
+| `7.1` | `24.22.1`, `26.12.1` | `130.0.0.0` |
+| `7.0` | `20.19.0` | `122.0.6261.171` |
+| `6.9` | `20.19.0` | `122.0.6261.171` |
+| `6.8` | `20.18.0` | `118.0.5993.220` |
+| `6.7` | `20.15.0` | `118.0.5993.220` |
+| `6.6` | `20.8.1` | `112.0.5615.213` |
+| `6.5` | `20.8.1` | `108.0.5359.220` |
+| `6.4` | `20.5.1` | `102.0.5005.177` |
From Stream Deck 7.1, Node.js versions are automatically updated to the latest versions supported by Stream Deck.
diff --git a/docs/sdk/references/_manifest-declaration.g.mdx b/docs/sdk/references/_manifest-declaration.g.mdx
index 4f3b797d..4790b328 100644
--- a/docs/sdk/references/_manifest-declaration.g.mdx
+++ b/docs/sdk/references/_manifest-declaration.g.mdx
@@ -58,7 +58,7 @@ type Manifest = {
Nodejs?: {
Debug?: string;
GenerateProfilerOutput?: boolean;
- Version: "20" | "24";
+ Version: "24" | "26";
};
OS: [
{
diff --git a/docs/sdk/references/_manifest-definitions.g.mdx b/docs/sdk/references/_manifest-definitions.g.mdx
index cebf9f19..2f52409a 100644
--- a/docs/sdk/references/_manifest-definitions.g.mdx
+++ b/docs/sdk/references/_manifest-definitions.g.mdx
@@ -523,7 +523,7 @@ a set of command-line arguments.
- "20", "24"
+ "24", "26"
Version of Node.js to use.
diff --git a/examples/README.md b/examples/README.md
index f8ea22d7..642d8917 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -19,7 +19,7 @@ In this repository, you can find a number of complete plugins for the Stream Dec
## Prerequisites
-To build any of these plugins, you will need to ensure you have [Node.js](https://nodejs.org/en/) (version 20+) and [pnpm](https://pnpm.io/installation) installed on your system; pnpm is required to install the dependencies of the samples. To run them, all provided samples require Stream Deck 7.1 or higher, unless otherwise specified in the readme for a sample.
+To build any of these plugins, you will need to ensure you have [Node.js](https://nodejs.org/en/) (version 24+) and [pnpm](https://pnpm.io/installation) installed on your system; pnpm is required to install the dependencies of the samples. To run them, all provided samples require Stream Deck 7.1 or higher, unless otherwise specified in the readme for a sample.
Installing the [Stream Deck CLI](https://github.com/elgatosf/cli) tool is strongly recommended. Once you have Node.js and pnpm installed, install it with:
diff --git a/examples/cat-keys/com.elgato.cat-keys.sdPlugin/manifest.json b/examples/cat-keys/com.elgato.cat-keys.sdPlugin/manifest.json
index be9a3163..691d3bfa 100644
--- a/examples/cat-keys/com.elgato.cat-keys.sdPlugin/manifest.json
+++ b/examples/cat-keys/com.elgato.cat-keys.sdPlugin/manifest.json
@@ -39,7 +39,7 @@
}
],
"Nodejs": {
- "Version": "20",
+ "Version": "24",
"Debug": "enabled"
},
"UUID": "com.elgato.cat-keys"
diff --git a/examples/cat-keys/com.elgato.cat-keys.streamDeckPlugin b/examples/cat-keys/com.elgato.cat-keys.streamDeckPlugin
index 8b5ca509..98c1399e 100644
Binary files a/examples/cat-keys/com.elgato.cat-keys.streamDeckPlugin and b/examples/cat-keys/com.elgato.cat-keys.streamDeckPlugin differ
diff --git a/examples/cat-keys/package.json b/examples/cat-keys/package.json
index de11b30c..b9c9ed17 100644
--- a/examples/cat-keys/package.json
+++ b/examples/cat-keys/package.json
@@ -15,8 +15,8 @@
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
- "@tsconfig/node20": "^20.1.4",
- "@types/node": "22.13.0",
+ "@tsconfig/node24": "^24.0.6",
+ "@types/node": "^24.12.0",
"rollup": "^4.32.1",
"tslib": "^2.8.1",
"typescript": "^5.7.3"
diff --git a/examples/cat-keys/tsconfig.json b/examples/cat-keys/tsconfig.json
index 83664507..ac144ed1 100644
--- a/examples/cat-keys/tsconfig.json
+++ b/examples/cat-keys/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "@tsconfig/node20/tsconfig.json",
+ "extends": "@tsconfig/node24/tsconfig.json",
"compilerOptions": {
"customConditions": ["node"],
"noImplicitOverride": true,
diff --git a/examples/counter/com.elgato.counter.sdPlugin/manifest.json b/examples/counter/com.elgato.counter.sdPlugin/manifest.json
index 896f91c2..381cc9c2 100644
--- a/examples/counter/com.elgato.counter.sdPlugin/manifest.json
+++ b/examples/counter/com.elgato.counter.sdPlugin/manifest.json
@@ -40,7 +40,7 @@
}
],
"Nodejs": {
- "Version": "20",
+ "Version": "24",
"Debug": "enabled"
},
"UUID": "com.elgato.counter"
diff --git a/examples/counter/package.json b/examples/counter/package.json
index 39b710fb..54080cbe 100644
--- a/examples/counter/package.json
+++ b/examples/counter/package.json
@@ -11,8 +11,8 @@
},
"devDependencies": {
"@elgato/cli": "^1.10.6",
- "@tsconfig/node20": "^20.1.2",
- "@types/node": "^20.19.0",
+ "@tsconfig/node24": "^24.0.6",
+ "@types/node": "^24.12.0",
"rolldown": "^1.0.0-rc.6",
"typescript": "^5.2.2"
},
diff --git a/examples/counter/tsconfig.json b/examples/counter/tsconfig.json
index 3b0731e5..7c21c6d0 100644
--- a/examples/counter/tsconfig.json
+++ b/examples/counter/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "@tsconfig/node20/tsconfig.json",
+ "extends": "@tsconfig/node24/tsconfig.json",
"compilerOptions": {
"customConditions": ["node"],
"module": "ES2022",
diff --git a/examples/hello-world/com.elgato.hello-world.sdPlugin/manifest.json b/examples/hello-world/com.elgato.hello-world.sdPlugin/manifest.json
index 33685b49..0f0878ca 100644
--- a/examples/hello-world/com.elgato.hello-world.sdPlugin/manifest.json
+++ b/examples/hello-world/com.elgato.hello-world.sdPlugin/manifest.json
@@ -38,7 +38,7 @@
}
],
"Nodejs": {
- "Version": "20",
+ "Version": "24",
"Debug": "enabled"
},
"UUID": "com.elgato.hello-world"
diff --git a/examples/hello-world/com.elgato.hello-world.streamDeckPlugin b/examples/hello-world/com.elgato.hello-world.streamDeckPlugin
index 4834c87d..caadbbe7 100644
Binary files a/examples/hello-world/com.elgato.hello-world.streamDeckPlugin and b/examples/hello-world/com.elgato.hello-world.streamDeckPlugin differ
diff --git a/examples/hello-world/package.json b/examples/hello-world/package.json
index bc50d993..a679923a 100644
--- a/examples/hello-world/package.json
+++ b/examples/hello-world/package.json
@@ -15,8 +15,8 @@
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
- "@tsconfig/node20": "^20.1.4",
- "@types/node": "22.13.0",
+ "@tsconfig/node24": "^24.0.6",
+ "@types/node": "^24.12.0",
"rollup": "^4.32.1",
"tslib": "^2.8.1",
"typescript": "^5.7.3"
diff --git a/examples/hello-world/tsconfig.json b/examples/hello-world/tsconfig.json
index 83664507..ac144ed1 100644
--- a/examples/hello-world/tsconfig.json
+++ b/examples/hello-world/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "@tsconfig/node20/tsconfig.json",
+ "extends": "@tsconfig/node24/tsconfig.json",
"compilerOptions": {
"customConditions": ["node"],
"noImplicitOverride": true,
diff --git a/examples/image-resizer/com.elgato.image-resizer.sdPlugin/manifest.json b/examples/image-resizer/com.elgato.image-resizer.sdPlugin/manifest.json
index d25a3005..b58d9fdf 100644
--- a/examples/image-resizer/com.elgato.image-resizer.sdPlugin/manifest.json
+++ b/examples/image-resizer/com.elgato.image-resizer.sdPlugin/manifest.json
@@ -38,7 +38,7 @@
}
],
"Nodejs": {
- "Version": "20",
+ "Version": "24",
"Debug": "enabled"
},
"UUID": "com.elgato.image-resizer"
diff --git a/examples/image-resizer/package.json b/examples/image-resizer/package.json
index 121037c5..011ba94d 100644
--- a/examples/image-resizer/package.json
+++ b/examples/image-resizer/package.json
@@ -18,8 +18,8 @@
"@rollup/plugin-node-resolve": "^15.2.2",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.0",
- "@tsconfig/node20": "^20.1.2",
- "@types/node": "~20.15.0",
+ "@tsconfig/node24": "^24.0.6",
+ "@types/node": "^24.12.0",
"rollup": "^4.0.2",
"tslib": "^2.6.2",
"typescript": "^5.2.2"
diff --git a/examples/image-resizer/tsconfig.json b/examples/image-resizer/tsconfig.json
index 3b0731e5..7c21c6d0 100644
--- a/examples/image-resizer/tsconfig.json
+++ b/examples/image-resizer/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "@tsconfig/node20/tsconfig.json",
+ "extends": "@tsconfig/node24/tsconfig.json",
"compilerOptions": {
"customConditions": ["node"],
"module": "ES2022",
diff --git a/examples/layouts/com.elgato.layouts.sdPlugin/manifest.json b/examples/layouts/com.elgato.layouts.sdPlugin/manifest.json
index db9ede8b..029be293 100644
--- a/examples/layouts/com.elgato.layouts.sdPlugin/manifest.json
+++ b/examples/layouts/com.elgato.layouts.sdPlugin/manifest.json
@@ -84,7 +84,7 @@
}
],
"Nodejs": {
- "Version": "20",
+ "Version": "24",
"Debug": "enabled"
},
"UUID": "com.elgato.layouts"
diff --git a/examples/layouts/com.elgato.layouts.streamDeckPlugin b/examples/layouts/com.elgato.layouts.streamDeckPlugin
index d1e82697..f9909e3e 100644
Binary files a/examples/layouts/com.elgato.layouts.streamDeckPlugin and b/examples/layouts/com.elgato.layouts.streamDeckPlugin differ
diff --git a/examples/layouts/package.json b/examples/layouts/package.json
index a3bb8a3e..372822d3 100644
--- a/examples/layouts/package.json
+++ b/examples/layouts/package.json
@@ -15,8 +15,8 @@
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
- "@tsconfig/node20": "^20.1.4",
- "@types/node": "22.13.0",
+ "@tsconfig/node24": "^24.0.6",
+ "@types/node": "^24.12.0",
"rollup": "^4.32.1",
"tslib": "^2.8.1",
"typescript": "^5.7.3"
diff --git a/examples/layouts/tsconfig.json b/examples/layouts/tsconfig.json
index 83664507..ac144ed1 100644
--- a/examples/layouts/tsconfig.json
+++ b/examples/layouts/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "@tsconfig/node20/tsconfig.json",
+ "extends": "@tsconfig/node24/tsconfig.json",
"compilerOptions": {
"customConditions": ["node"],
"noImplicitOverride": true,
diff --git a/examples/lights-out/com.elgato.lightsout.sdPlugin/manifest.json b/examples/lights-out/com.elgato.lightsout.sdPlugin/manifest.json
index 156313ec..9c37b418 100644
--- a/examples/lights-out/com.elgato.lightsout.sdPlugin/manifest.json
+++ b/examples/lights-out/com.elgato.lightsout.sdPlugin/manifest.json
@@ -58,7 +58,7 @@
}
],
"Nodejs": {
- "Version": "20",
+ "Version": "24",
"Debug": "--inspect=127.0.0.1:12311"
},
"UUID": "com.elgato.lightsout",
diff --git a/examples/lights-out/com.elgato.lightsout.streamDeckPlugin b/examples/lights-out/com.elgato.lightsout.streamDeckPlugin
index 2042c29c..5fd0ded8 100644
Binary files a/examples/lights-out/com.elgato.lightsout.streamDeckPlugin and b/examples/lights-out/com.elgato.lightsout.streamDeckPlugin differ
diff --git a/examples/lights-out/package.json b/examples/lights-out/package.json
index 43ecdf83..e9e870ad 100644
--- a/examples/lights-out/package.json
+++ b/examples/lights-out/package.json
@@ -15,8 +15,8 @@
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
- "@tsconfig/node20": "^20.1.4",
- "@types/node": "22.13.0",
+ "@tsconfig/node24": "^24.0.6",
+ "@types/node": "^24.12.0",
"rollup": "^4.32.1",
"tslib": "^2.8.1",
"typescript": "^5.7.3"
diff --git a/examples/lights-out/tsconfig.json b/examples/lights-out/tsconfig.json
index 83664507..ac144ed1 100644
--- a/examples/lights-out/tsconfig.json
+++ b/examples/lights-out/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "@tsconfig/node20/tsconfig.json",
+ "extends": "@tsconfig/node24/tsconfig.json",
"compilerOptions": {
"customConditions": ["node"],
"noImplicitOverride": true,
diff --git a/examples/product-viewer/com.elgato.product-viewer.sdPlugin/manifest.json b/examples/product-viewer/com.elgato.product-viewer.sdPlugin/manifest.json
index 4d1e61ec..f354a52c 100644
--- a/examples/product-viewer/com.elgato.product-viewer.sdPlugin/manifest.json
+++ b/examples/product-viewer/com.elgato.product-viewer.sdPlugin/manifest.json
@@ -38,7 +38,7 @@
}
],
"Nodejs": {
- "Version": "20",
+ "Version": "24",
"Debug": "enabled"
},
"UUID": "com.elgato.product-viewer"
diff --git a/examples/product-viewer/com.elgato.product-viewer.streamDeckPlugin b/examples/product-viewer/com.elgato.product-viewer.streamDeckPlugin
index 2ebc3399..8de6e187 100644
Binary files a/examples/product-viewer/com.elgato.product-viewer.streamDeckPlugin and b/examples/product-viewer/com.elgato.product-viewer.streamDeckPlugin differ
diff --git a/examples/product-viewer/package.json b/examples/product-viewer/package.json
index 996f7901..b8991720 100644
--- a/examples/product-viewer/package.json
+++ b/examples/product-viewer/package.json
@@ -16,8 +16,8 @@
"@rollup/plugin-node-resolve": "^15.2.2",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.0",
- "@tsconfig/node20": "^20.1.2",
- "@types/node": "~20.15.0",
+ "@tsconfig/node24": "^24.0.6",
+ "@types/node": "^24.12.0",
"rollup": "^4.0.2",
"tslib": "^2.6.2",
"typescript": "^5.2.2"
diff --git a/examples/product-viewer/tsconfig.json b/examples/product-viewer/tsconfig.json
index 3b0731e5..7c21c6d0 100644
--- a/examples/product-viewer/tsconfig.json
+++ b/examples/product-viewer/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "@tsconfig/node20/tsconfig.json",
+ "extends": "@tsconfig/node24/tsconfig.json",
"compilerOptions": {
"customConditions": ["node"],
"module": "ES2022",
diff --git a/packages/cli/template/package.json.ejs b/packages/cli/template/package.json.ejs
index 163cfc6e..d09a5503 100644
--- a/packages/cli/template/package.json.ejs
+++ b/packages/cli/template/package.json.ejs
@@ -10,7 +10,7 @@
"@rollup/plugin-node-resolve": "^15.2.2",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.1.0",
- "@tsconfig/node20": "^20.1.2",
+ "@tsconfig/node24": "^24.0.6",
"@types/node": "~24.1.0",
"rollup": "^4.0.2",
"tslib": "^2.6.2",
diff --git a/packages/cli/template/tsconfig.json.ejs b/packages/cli/template/tsconfig.json.ejs
index 0786510e..2d4c9c00 100644
--- a/packages/cli/template/tsconfig.json.ejs
+++ b/packages/cli/template/tsconfig.json.ejs
@@ -1,5 +1,5 @@
{
- "extends": "@tsconfig/node20/tsconfig.json",
+ "extends": "@tsconfig/node24/tsconfig.json",
"compilerOptions": {
"customConditions": [
"node"
diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json
index 5b5cf9a0..f762195e 100644
--- a/packages/cli/tsconfig.json
+++ b/packages/cli/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "@elgato/tsconfig/node20/bundle",
+ "extends": "@elgato/tsconfig/node24/bundle",
"compilerOptions": {
"customConditions": ["node"],
"resolveJsonModule": true,
diff --git a/packages/core/tsconfig.build.json b/packages/core/tsconfig.build.json
index e3a2c266..5b34d678 100644
--- a/packages/core/tsconfig.build.json
+++ b/packages/core/tsconfig.build.json
@@ -1,4 +1,4 @@
{
- "extends": "@elgato/tsconfig/node20/monorepo/lib",
+ "extends": "@elgato/tsconfig/node24/monorepo/lib",
"exclude": ["src/**/__tests__/**"]
}
diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json
index 6b0f034e..ba7537b0 100644
--- a/packages/core/tsconfig.json
+++ b/packages/core/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "@elgato/tsconfig/node20/monorepo/lib",
+ "extends": "@elgato/tsconfig/node24/monorepo/lib",
"compilerOptions": {
"noEmit": true
}
diff --git a/packages/plugin/tsconfig.build.json b/packages/plugin/tsconfig.build.json
index 858a6479..fd12bf29 100644
--- a/packages/plugin/tsconfig.build.json
+++ b/packages/plugin/tsconfig.build.json
@@ -1,4 +1,4 @@
{
- "extends": "@elgato/tsconfig/node20/monorepo/lib",
+ "extends": "@elgato/tsconfig/node24/monorepo/lib",
"exclude": ["src/**/__tests__/**", "src/**/__mocks__/**"]
}
diff --git a/packages/plugin/tsconfig.json b/packages/plugin/tsconfig.json
index 6b0f034e..ba7537b0 100644
--- a/packages/plugin/tsconfig.json
+++ b/packages/plugin/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "@elgato/tsconfig/node20/monorepo/lib",
+ "extends": "@elgato/tsconfig/node24/monorepo/lib",
"compilerOptions": {
"noEmit": true
}
diff --git a/packages/schemas/src/streamdeck/plugins/manifest/__tests__/v7.0.test.ts b/packages/schemas/src/streamdeck/plugins/manifest/__tests__/v7.0.test.ts
index 00746195..5a9b83f5 100644
--- a/packages/schemas/src/streamdeck/plugins/manifest/__tests__/v7.0.test.ts
+++ b/packages/schemas/src/streamdeck/plugins/manifest/__tests__/v7.0.test.ts
@@ -51,28 +51,31 @@ describe.each(["7.0" as const])("v%s", (version) => {
const errors = validateStreamDeckPluginManifest(`v${version}.json`, (m) => (m.Nodejs = undefined));
expect(errors).toHaveLength(0);
});
+});
- describe("Nodejs.Version", () => {
- /**
- * Asserts Nodejs.Version can be 20.
- */
- it("can be 20", () => {
- const errors = validateStreamDeckPluginManifest(`v${version}.json`, (m) => (m.Nodejs!.Version = "20"));
- expect(errors).toHaveLength(0);
- });
+/**
+ * Node.js 20 is only supported up to, and including, Stream Deck 7.0.
+ */
+describe.each(["6.4", "6.5", "6.6", "6.7", "6.8", "6.9", "7.0"])("v%s Nodejs.Version", (version) => {
+ /**
+ * Asserts Nodejs.Version can be 20.
+ */
+ it("can be 20", () => {
+ const errors = validateStreamDeckPluginManifest(`v${version}.json`, (m) => (m.Nodejs!.Version = "20"));
+ expect(errors).toHaveLength(0);
+ });
- /**
- * Asserts Nodejs.Version cannot be X.
- */
- test.each(["24", "26"])("cannot be $0", (nodejsVersion: any) => {
- const errors = validateStreamDeckPluginManifest(`v${version}.json`, (m) => (m.Nodejs!.Version = nodejsVersion));
- expect(errors).toHaveError({
- keyword: "const",
- instancePath: "/Nodejs/Version",
- params: {
- allowedValue: "20",
- },
- });
+ /**
+ * Asserts Nodejs.Version cannot be X.
+ */
+ test.each(["24", "26"])("cannot be %s", (nodejsVersion: any) => {
+ const errors = validateStreamDeckPluginManifest(`v${version}.json`, (m) => (m.Nodejs!.Version = nodejsVersion));
+ expect(errors).toHaveError({
+ keyword: "const",
+ instancePath: "/Nodejs/Version",
+ params: {
+ allowedValue: "20",
+ },
});
});
});
diff --git a/packages/schemas/src/streamdeck/plugins/manifest/__tests__/v7.1.test.ts b/packages/schemas/src/streamdeck/plugins/manifest/__tests__/v7.1.test.ts
index 1ea91137..36d2831d 100644
--- a/packages/schemas/src/streamdeck/plugins/manifest/__tests__/v7.1.test.ts
+++ b/packages/schemas/src/streamdeck/plugins/manifest/__tests__/v7.1.test.ts
@@ -67,36 +67,25 @@ describe.each(["7.1" as const, "7.2" as const, "7.3" as const, "7.4" as const, "
});
describe("Nodejs.Version", () => {
- /**
- * Asserts Nodejs.Version can be 20.
- */
- it("can be 20", () => {
- const errors = validateStreamDeckPluginManifest(`v${version}.json`, (m) => (m.Nodejs!.Version = "20"));
- expect(errors).toHaveLength(0);
- });
-
/**
* Asserts Nodejs.Version can be X.
*/
- test.each(["24", "26"])("can be $0", (nodejsVersion: any) => {
+ test.each(["24", "26"])("can be %s", (nodejsVersion: any) => {
const errors = validateStreamDeckPluginManifest(`v${version}.json`, (m) => (m.Nodejs!.Version = nodejsVersion));
expect(errors).toHaveLength(0);
});
/**
- * Asserts Node.js version cannot be 21.
+ * Asserts Nodejs.Version cannot be X.
*/
- it("cannot be 21", () => {
- const errors = validateStreamDeckPluginManifest(`v${version}.json`, (m) => {
- // @ts-expect-error Check invalid value
- m.Nodejs!.Version = "21";
- });
+ test.each(["20", "21"])("cannot be %s", (nodejsVersion: any) => {
+ const errors = validateStreamDeckPluginManifest(`v${version}.json`, (m) => (m.Nodejs!.Version = nodejsVersion));
expect(errors).toHaveError({
keyword: "enum",
instancePath: "/Nodejs/Version",
params: {
- allowedValues: ["20", "24", "26"],
+ allowedValues: ["24", "26"],
},
});
});
diff --git a/packages/schemas/src/streamdeck/plugins/manifest/__tests__/v7.6.test.ts b/packages/schemas/src/streamdeck/plugins/manifest/__tests__/v7.6.test.ts
index 174cbf0a..094f63af 100644
--- a/packages/schemas/src/streamdeck/plugins/manifest/__tests__/v7.6.test.ts
+++ b/packages/schemas/src/streamdeck/plugins/manifest/__tests__/v7.6.test.ts
@@ -46,4 +46,29 @@ describe.each(["7.6" as const])("v%s", (version) => {
});
});
});
+
+ describe("Nodejs.Version", () => {
+ /**
+ * Asserts Nodejs.Version can be X.
+ */
+ test.each(["24", "26"])("can be %s", (nodejsVersion: any) => {
+ const errors = validateStreamDeckPluginManifest(`v${version}.json`, (m) => (m.Nodejs!.Version = nodejsVersion));
+ expect(errors).toHaveLength(0);
+ });
+
+ /**
+ * Asserts Nodejs.Version cannot be X.
+ */
+ test.each(["20", "21"])("cannot be %s", (nodejsVersion: any) => {
+ const errors = validateStreamDeckPluginManifest(`v${version}.json`, (m) => (m.Nodejs!.Version = nodejsVersion));
+
+ expect(errors).toHaveError({
+ keyword: "enum",
+ instancePath: "/Nodejs/Version",
+ params: {
+ allowedValues: ["24", "26"],
+ },
+ });
+ });
+ });
});
diff --git a/packages/schemas/src/streamdeck/plugins/manifest/latest.ts b/packages/schemas/src/streamdeck/plugins/manifest/latest.ts
index 07961b2a..88124895 100644
--- a/packages/schemas/src/streamdeck/plugins/manifest/latest.ts
+++ b/packages/schemas/src/streamdeck/plugins/manifest/latest.ts
@@ -677,7 +677,7 @@ export type Nodejs = {
/**
* Version of Node.js to use.
*/
- Version: "20" | "24" | "26";
+ Version: "24" | "26";
};
/**
diff --git a/packages/schemas/tsconfig.build.json b/packages/schemas/tsconfig.build.json
index 858a6479..fd12bf29 100644
--- a/packages/schemas/tsconfig.build.json
+++ b/packages/schemas/tsconfig.build.json
@@ -1,4 +1,4 @@
{
- "extends": "@elgato/tsconfig/node20/monorepo/lib",
+ "extends": "@elgato/tsconfig/node24/monorepo/lib",
"exclude": ["src/**/__tests__/**", "src/**/__mocks__/**"]
}
diff --git a/packages/schemas/tsconfig.json b/packages/schemas/tsconfig.json
index 732b9595..23f233f0 100644
--- a/packages/schemas/tsconfig.json
+++ b/packages/schemas/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "@elgato/tsconfig/node20/monorepo/lib",
+ "extends": "@elgato/tsconfig/node24/monorepo/lib",
"compilerOptions": {
"noEmit": true,
"rootDir": ".",
diff --git a/packages/utils/tsconfig.build.json b/packages/utils/tsconfig.build.json
index 004bcd50..a4419df8 100644
--- a/packages/utils/tsconfig.build.json
+++ b/packages/utils/tsconfig.build.json
@@ -1,4 +1,4 @@
{
- "extends": "@elgato/tsconfig/node20/monorepo/lib",
+ "extends": "@elgato/tsconfig/node24/monorepo/lib",
"exclude": ["src/**/__tests__"]
}
diff --git a/packages/utils/tsconfig.json b/packages/utils/tsconfig.json
index 6b0f034e..ba7537b0 100644
--- a/packages/utils/tsconfig.json
+++ b/packages/utils/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "@elgato/tsconfig/node20/monorepo/lib",
+ "extends": "@elgato/tsconfig/node24/monorepo/lib",
"compilerOptions": {
"noEmit": true
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 6ed19bc0..a2beeeef 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -54,12 +54,12 @@ importers:
'@rollup/plugin-typescript':
specifier: ^12.1.2
version: 12.3.0(rollup@4.59.0)(tslib@2.8.1)(typescript@5.9.3)
- '@tsconfig/node20':
- specifier: ^20.1.4
- version: 20.1.9
+ '@tsconfig/node24':
+ specifier: ^24.0.6
+ version: 24.0.6
'@types/node':
- specifier: 22.13.0
- version: 22.13.0
+ specifier: ^24.12.0
+ version: 24.12.0
rollup:
specifier: ^4.32.1
version: 4.59.0
@@ -79,12 +79,12 @@ importers:
'@elgato/cli':
specifier: ^1.10.6
version: link:../../packages/cli
- '@tsconfig/node20':
- specifier: ^20.1.2
- version: 20.1.9
+ '@tsconfig/node24':
+ specifier: ^24.0.6
+ version: 24.0.6
'@types/node':
- specifier: ^20.19.0
- version: 20.19.43
+ specifier: ^24.12.0
+ version: 24.12.0
rolldown:
specifier: ^1.0.0-rc.6
version: 1.0.0-rc.8(@emnapi/core@1.11.3)(@emnapi/runtime@1.11.3)
@@ -113,12 +113,12 @@ importers:
'@rollup/plugin-typescript':
specifier: ^12.1.2
version: 12.3.0(rollup@4.59.0)(tslib@2.8.1)(typescript@5.9.3)
- '@tsconfig/node20':
- specifier: ^20.1.4
- version: 20.1.9
+ '@tsconfig/node24':
+ specifier: ^24.0.6
+ version: 24.0.6
'@types/node':
- specifier: 22.13.0
- version: 22.13.0
+ specifier: ^24.12.0
+ version: 24.12.0
rollup:
specifier: ^4.32.1
version: 4.59.0
@@ -156,12 +156,12 @@ importers:
'@rollup/plugin-typescript':
specifier: ^12.1.0
version: 12.3.0(rollup@4.59.0)(tslib@2.8.1)(typescript@5.9.3)
- '@tsconfig/node20':
- specifier: ^20.1.2
- version: 20.1.9
+ '@tsconfig/node24':
+ specifier: ^24.0.6
+ version: 24.0.6
'@types/node':
- specifier: ~20.15.0
- version: 20.15.0
+ specifier: ^24.12.0
+ version: 24.12.0
rollup:
specifier: ^4.0.2
version: 4.59.0
@@ -193,12 +193,12 @@ importers:
'@rollup/plugin-typescript':
specifier: ^12.1.2
version: 12.3.0(rollup@4.59.0)(tslib@2.8.1)(typescript@5.9.3)
- '@tsconfig/node20':
- specifier: ^20.1.4
- version: 20.1.9
+ '@tsconfig/node24':
+ specifier: ^24.0.6
+ version: 24.0.6
'@types/node':
- specifier: 22.13.0
- version: 22.13.0
+ specifier: ^24.12.0
+ version: 24.12.0
rollup:
specifier: ^4.32.1
version: 4.59.0
@@ -230,12 +230,12 @@ importers:
'@rollup/plugin-typescript':
specifier: ^12.1.2
version: 12.3.0(rollup@4.59.0)(tslib@2.8.1)(typescript@5.9.3)
- '@tsconfig/node20':
- specifier: ^20.1.4
- version: 20.1.9
+ '@tsconfig/node24':
+ specifier: ^24.0.6
+ version: 24.0.6
'@types/node':
- specifier: 22.13.0
- version: 22.13.0
+ specifier: ^24.12.0
+ version: 24.12.0
rollup:
specifier: ^4.32.1
version: 4.59.0
@@ -270,12 +270,12 @@ importers:
'@rollup/plugin-typescript':
specifier: ^12.1.0
version: 12.3.0(rollup@4.59.0)(tslib@2.8.1)(typescript@5.9.3)
- '@tsconfig/node20':
- specifier: ^20.1.2
- version: 20.1.9
+ '@tsconfig/node24':
+ specifier: ^24.0.6
+ version: 24.0.6
'@types/node':
- specifier: ~20.15.0
- version: 20.15.0
+ specifier: ^24.12.0
+ version: 24.12.0
rollup:
specifier: ^4.0.2
version: 4.59.0
@@ -2186,8 +2186,8 @@ packages:
'@ts-morph/common@0.29.0':
resolution: {integrity: sha512-35oUmphHbJvQ/+UTwFNme/t2p3FoKiGJ5auTjjpNTop2dyREspirjMy82PLSC1pnDJ8ah1GU98hwpVt64YXQsg==}
- '@tsconfig/node20@20.1.9':
- resolution: {integrity: sha512-IjlTv1RsvnPtUcjTqtVsZExKVq+KQx4g5pCP5tI7rAs6Xesl2qFwSz/tPDBC4JajkL/MlezBu3gPUwqRHl+RIg==}
+ '@tsconfig/node24@24.0.6':
+ resolution: {integrity: sha512-/SK4JuydRQLGSCq7+hbiQ8fdAVR4Suv5EcBvkIAG3zo3GbXQvGoSclz4olL12Ar4OpH8gwGYJ67P4wwQqBRxKw==}
'@tybys/wasm-util@0.10.3':
resolution: {integrity: sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg==}
@@ -2234,15 +2234,6 @@ packages:
'@types/ms@2.1.0':
resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==}
- '@types/node@20.15.0':
- resolution: {integrity: sha512-eQf4OkH6gA9v1W0iEpht/neozCsZKMTK+C4cU6/fv7wtJCCL8LEQ4hie2Ln8ZP/0YYM2xGj7//f8xyqItkJ6QA==}
-
- '@types/node@20.19.43':
- resolution: {integrity: sha512-6oYBAi5ikg4Pl+kGsoYtawUMBT2zZMCvPNF7pVLnHZfd1zf38DRiWn/gT01RYCdUqkv7Fhr+C9ot4/tb+2sVvA==}
-
- '@types/node@22.13.0':
- resolution: {integrity: sha512-ClIbNe36lawluuvq3+YYhnIN2CELi+6q8NpnM7PYp4hBn/TatfboPgVSm2rwKRfnV2M+Ty9GWDFI64KEe+kysA==}
-
'@types/node@22.20.1':
resolution: {integrity: sha512-EANqOCF9QFyra+4pfxUcX9STKJpCLjMbObVzljIJomAWSnuSIEAvyzEU53GaajbXJEgdh0iEcPL+DGvpUd4k1Q==}
@@ -3767,12 +3758,6 @@ packages:
undefsafe@2.0.5:
resolution: {integrity: sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==}
- undici-types@6.13.0:
- resolution: {integrity: sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg==}
-
- undici-types@6.20.0:
- resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==}
-
undici-types@6.21.0:
resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
@@ -5108,7 +5093,7 @@ snapshots:
path-browserify: 1.0.1
tinyglobby: 0.2.17
- '@tsconfig/node20@20.1.9': {}
+ '@tsconfig/node24@24.0.6': {}
'@tybys/wasm-util@0.10.3':
dependencies:
@@ -5157,18 +5142,6 @@ snapshots:
'@types/ms@2.1.0': {}
- '@types/node@20.15.0':
- dependencies:
- undici-types: 6.13.0
-
- '@types/node@20.19.43':
- dependencies:
- undici-types: 6.21.0
-
- '@types/node@22.13.0':
- dependencies:
- undici-types: 6.20.0
-
'@types/node@22.20.1':
dependencies:
undici-types: 6.21.0
@@ -7031,10 +7004,6 @@ snapshots:
undefsafe@2.0.5: {}
- undici-types@6.13.0: {}
-
- undici-types@6.20.0: {}
-
undici-types@6.21.0: {}
undici-types@7.16.0: {}