@companion-module/tools 2.2.0 → 2.2.2

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.2.2](https://github.com/bitfocus/companion-module-tools/compare/v2.2.1...v2.2.2) (2025-03-09)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * package always being created with old filename ([412014c](https://github.com/bitfocus/companion-module-tools/commit/412014c4c34d591b42ba49ddadbec8a2ef2dab80))
9
+
10
+ ## [2.2.1](https://github.com/bitfocus/companion-module-tools/compare/v2.2.0...v2.2.1) (2025-03-06)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * incorrect isPrerelease capitalisation ([b3399d3](https://github.com/bitfocus/companion-module-tools/commit/b3399d36ea04d65e65774e019d7f03af152f6107))
16
+
3
17
  ## [2.2.0](https://github.com/bitfocus/companion-module-tools/compare/v2.1.1...v2.2.0) (2025-03-06)
4
18
 
5
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@companion-module/tools",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
package/scripts/build.js CHANGED
@@ -82,7 +82,7 @@ manifestJson.runtime.apiVersion = frameworkPackageJson.version
82
82
 
83
83
  // Bake in the prerelease flag if using module-base which is new enough
84
84
  if (semver.gt(manifestJson.runtime.apiVersion, '1.12.0-0')) {
85
- manifestJson.isPreRelease = !!argv.prerelease
85
+ manifestJson.isPrerelease = !!argv.prerelease
86
86
  }
87
87
 
88
88
  await fs.writeFile(path.join(packageBaseDir, 'companion/manifest.json'), JSON.stringify(manifestJson))
@@ -216,4 +216,4 @@ await tar
216
216
  },
217
217
  [packageBaseDir],
218
218
  )
219
- .pipe(fs.createWriteStream('pkg.tgz'))
219
+ .pipe(fs.createWriteStream(tgzFile))