@companion-module/tools 1.1.0 → 1.2.0
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/build.js +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.2.0](https://github.com/bitfocus/companion-module-tools/compare/v1.1.0...v1.2.0) (2023-03-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* flatten directory structure for extra files ([edfff7d](https://github.com/bitfocus/companion-module-tools/commit/edfff7dc2d41d8215cde2b9d9158a08cbecb62e3))
|
|
9
|
+
|
|
3
10
|
## [1.1.0](https://github.com/bitfocus/companion-module-tools/compare/v1.0.2...v1.1.0) (2023-02-22)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED
package/scripts/build.js
CHANGED
|
@@ -107,8 +107,7 @@ if (fs.existsSync(webpackExtPath)) {
|
|
|
107
107
|
if (Array.isArray(webpackExt.extraFiles)) {
|
|
108
108
|
const files = await globby(webpackExt.extraFiles)
|
|
109
109
|
for (const file of files) {
|
|
110
|
-
await fs.copy(file, path.join('pkg', file), {
|
|
111
|
-
recursive: true,
|
|
110
|
+
await fs.copy(file, path.join('pkg', path.basename(file)), {
|
|
112
111
|
overwrite: false,
|
|
113
112
|
})
|
|
114
113
|
}
|