From a91e6b65fe2db0bbfcac7b4407a2e3694c48f80f Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Fri, 14 Aug 2026 09:54:28 +0100 Subject: [PATCH] Fix links to base compatibility table --- .../module-lifecycle/companion-module-library.md | 2 +- .../module-development/module-lifecycle/updating-nodejs.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/for-developers/module-development/module-lifecycle/companion-module-library.md b/for-developers/module-development/module-lifecycle/companion-module-library.md index 4a71a7b..d5c91b2 100644 --- a/for-developers/module-development/module-lifecycle/companion-module-library.md +++ b/for-developers/module-development/module-lifecycle/companion-module-library.md @@ -29,7 +29,7 @@ We expect every module to use the build script provided from this, the rest is o ### @companion-module/base -The version of this library determines the versions of Companion your module can be run with. See the [version compatibility table](https://github.com/bitfocus/companion-module-base#readme). +The version of this library determines the versions of Companion your module can be run with. See the [version compatibility table](https://github.com/bitfocus/companion-module-base/tree/main/packages/base#supported-versions-of-this-library). For example, modules targeting Companion 3.0 should use @companion-module/base v1.4.3 (or any 1.x release back to v1.0.0). Modules targeting Companion 3.1 should use v1.5. A module written for 3.0 will run on 3.1, but a module written for 3.1 may not be compatible with 3.0. diff --git a/for-developers/module-development/module-lifecycle/updating-nodejs.md b/for-developers/module-development/module-lifecycle/updating-nodejs.md index a87b86e..58fadaa 100644 --- a/for-developers/module-development/module-lifecycle/updating-nodejs.md +++ b/for-developers/module-development/module-lifecycle/updating-nodejs.md @@ -27,7 +27,7 @@ Companion knows what version of nodejs your module is compatible with by looking `node26` was added in [API 2.1](../api-changes/v2.1.md) (Companion 5.0). Node 26 is an LTS release and is recommended for new modules, or modules that want to adopt the latest platform features. `node22` remains supported, but we encourage modules to update when they can. ::: -Make sure that your version of the `@companion-module/base` dependency is appropriate for the version of Companion too. A table of compatibility is listed in [the readme](https://github.com/bitfocus/companion-module-base#supported-versions-of-this-library) +Make sure that your version of the `@companion-module/base` dependency is appropriate for the version of Companion too. A table of compatibility is listed in [the readme](https://github.com/bitfocus/companion-module-base/tree/main/packages/base#supported-versions-of-this-library) If you are using TypeScript, you should update your preset to have sensible `target` and `lib` values. The config presets in `@companion-module/tools`, have versions for each supported version of nodejs to make this easier for you.