@companion-module/tools 1.0.0 → 1.0.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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.1](https://github.com/bitfocus/companion-module-tools/compare/v1.0.0...v1.0.1) (2023-02-17)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * missing prebuilds in built packages ([acd76e8](https://github.com/bitfocus/companion-module-tools/commit/acd76e84ed98916f31d251ddddc0a601514c91c0))
9
+
3
10
  ## [1.0.0](https://github.com/bitfocus/companion-module-tools/compare/v0.5.2...v1.0.0) (2023-02-05)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@companion-module/tools",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
package/scripts/build.js CHANGED
@@ -95,7 +95,7 @@ if (fs.existsSync(webpackExtPath)) {
95
95
  const srcDir = await findModuleDir(require.resolve(lib))
96
96
  const dirs = await fs.readdir(path.join(srcDir, 'prebuilds'))
97
97
  for (const dir of dirs) {
98
- fs.copy(path.join(srcDir, 'prebuilds', dir), path.join('pkg/prebuilds', dir))
98
+ await fs.copy(path.join(srcDir, 'prebuilds', dir), path.join('pkg/prebuilds', dir))
99
99
  }
100
100
  }
101
101
  }