@companion-module/tools 2.7.0 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/scripts/lib/build-util.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.7.1](https://github.com/bitfocus/companion-module-tools/compare/v2.7.0...v2.7.1) (2026-02-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* allow prerelease versions ([1edc0f6](https://github.com/bitfocus/companion-module-tools/commit/1edc0f6a12c3db1aaf0fc00919dc9ae0fed7a914))
|
|
9
|
+
|
|
3
10
|
## [2.7.0](https://github.com/bitfocus/companion-module-tools/compare/v2.6.1...v2.7.0) (2026-02-22)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED
|
@@ -45,7 +45,7 @@ export async function buildPackage(frameworkPackageName, validateManifest, modul
|
|
|
45
45
|
const frameworkPackageJson = JSON.parse(await fs.readFile(path.join(frameworkDir, 'package.json')))
|
|
46
46
|
|
|
47
47
|
// Check framework version if range is specified
|
|
48
|
-
if (versionRange && !semver.satisfies(frameworkPackageJson.version, versionRange)) {
|
|
48
|
+
if (versionRange && !semver.satisfies(frameworkPackageJson.version, versionRange, { includePrerelease: true })) {
|
|
49
49
|
console.error(`Error: ${frameworkPackageName} version ${frameworkPackageJson.version} is not supported.`)
|
|
50
50
|
console.error(`Required version range: ${versionRange}`)
|
|
51
51
|
process.exit(1)
|