@companion-module/tools 0.5.1 → 0.5.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 +7 -0
- package/package.json +8 -8
- package/scripts/build.js +6 -1
- package/scripts/check.js +3 -1
- package/scripts/generate-manifest.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.5.2](https://github.com/bitfocus/companion-module-tools/compare/v0.5.1...v0.5.2) (2023-01-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* scripts unable to resolve dependencies ([312caf3](https://github.com/bitfocus/companion-module-tools/commit/312caf36f42bb17965fc010e80bd2184c4bf8a62))
|
|
9
|
+
|
|
3
10
|
## [0.5.1](https://github.com/bitfocus/companion-module-tools/compare/v0.5.0...v0.5.1) (2022-12-01)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@companion-module/tools",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
"webpack.*"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
27
|
-
"@typescript-eslint/parser": "^5.
|
|
28
|
-
"eslint": "^8.
|
|
29
|
-
"eslint-config-prettier": "^8.
|
|
26
|
+
"@typescript-eslint/eslint-plugin": "^5.48.1",
|
|
27
|
+
"@typescript-eslint/parser": "^5.48.1",
|
|
28
|
+
"eslint": "^8.31.0",
|
|
29
|
+
"eslint-config-prettier": "^8.6.0",
|
|
30
30
|
"eslint-plugin-node": "^11.1.0",
|
|
31
31
|
"eslint-plugin-prettier": "^4.2.1",
|
|
32
32
|
"find-up": "^6.3.0",
|
|
33
33
|
"parse-author": "^2.0.0",
|
|
34
|
-
"prettier": "^2.8.
|
|
35
|
-
"tar": "^6.1.
|
|
34
|
+
"prettier": "^2.8.2",
|
|
35
|
+
"tar": "^6.1.13",
|
|
36
36
|
"webpack": "^5.75.0",
|
|
37
|
-
"webpack-cli": "^5.0.
|
|
37
|
+
"webpack-cli": "^5.0.1",
|
|
38
38
|
"zx": "^7.1.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
package/scripts/build.js
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// The zx shebang doesn't resolve dependencies correctly
|
|
3
|
+
import 'zx/globals'
|
|
2
4
|
|
|
3
5
|
import path from 'path'
|
|
4
6
|
import { fs } from 'zx'
|
|
5
7
|
import { findUp } from 'find-up'
|
|
6
8
|
import * as tar from 'tar'
|
|
7
9
|
import { validateManifest } from '@companion-module/base'
|
|
10
|
+
import { createRequire } from 'module'
|
|
11
|
+
|
|
12
|
+
const require = createRequire(import.meta.url)
|
|
8
13
|
|
|
9
14
|
async function findModuleDir(cwd) {
|
|
10
15
|
const stat = await fs.stat(cwd)
|
package/scripts/check.js
CHANGED