@companion-module/tools 1.2.0 → 1.2.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 +2 -2
- package/scripts/build.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.2.1](https://github.com/bitfocus/companion-module-tools/compare/v1.2.0...v1.2.1) (2023-05-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* use name from package.json when building externals dependencies object ([6563d0e](https://github.com/bitfocus/companion-module-tools/commit/6563d0e1b23123a056146576e7721c3e2f9e4cfd))
|
|
9
|
+
|
|
3
10
|
## [1.2.0](https://github.com/bitfocus/companion-module-tools/compare/v1.1.0...v1.2.0) (2023-03-06)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@companion-module/tools",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"parse-author": "^2.0.0",
|
|
34
34
|
"prettier": "^2.8.3",
|
|
35
35
|
"tar": "^6.1.13",
|
|
36
|
-
"webpack": "^5.
|
|
36
|
+
"webpack": "^5.76.0",
|
|
37
37
|
"webpack-cli": "^5.0.1",
|
|
38
38
|
"zx": "^7.1.1"
|
|
39
39
|
},
|
package/scripts/build.js
CHANGED
|
@@ -84,7 +84,7 @@ if (fs.existsSync(webpackExtPath)) {
|
|
|
84
84
|
for (const external of Object.keys(extGroup)) {
|
|
85
85
|
const extPath = await findUp('package.json', { cwd: require.resolve(external) })
|
|
86
86
|
const extJson = JSON.parse(await fs.readFile(extPath))
|
|
87
|
-
packageJson.dependencies[
|
|
87
|
+
packageJson.dependencies[extJson.name] = extJson.version
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
}
|