generated from bitfocus/companion-module-template-js
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from phillipivan/main
Use node 22
- Loading branch information
Showing
10 changed files
with
2,566 additions
and
2,220 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.vscode/ | ||
.yarn/ | ||
node_modules/ | ||
package-lock.json | ||
/pkg | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nodeLinker: node-modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { generateEslintConfig } from '@companion-module/tools/eslint/config.mjs' | ||
|
||
const baseConfig = await generateEslintConfig({}) | ||
|
||
const customConfig = [ | ||
...baseConfig, | ||
{ | ||
languageOptions: { | ||
sourceType: 'module', | ||
}, | ||
}, | ||
] | ||
|
||
export default customConfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,31 @@ | ||
{ | ||
"name": "generic-swp02", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"main": "src/main.js", | ||
"type": "module", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"format": "prettier --write", | ||
"lint:raw": "eslint --ext .ts --ext .js --ignore-pattern dist --ignore-pattern pkg", | ||
"lint": "yarn lint:raw ." | ||
"lint:raw": "eslint", | ||
"lint": "yarn lint:raw .", | ||
"package": "yarn companion-module-build" | ||
}, | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/bitfocus/companion-module-generic-swp02.git" | ||
}, | ||
"dependencies": { | ||
"@companion-module/base": "~1.8.0" | ||
"@companion-module/base": "~1.11.2" | ||
}, | ||
"devDependencies": { | ||
"@companion-module/tools": "^1.5.1" | ||
"@companion-module/tools": "^2.1.0", | ||
"eslint": "^9.15.0", | ||
"prettier": "^3.3.3" | ||
}, | ||
"prettier": "@companion-module/tools/.prettierrc.json" | ||
"prettier": "@companion-module/tools/.prettierrc.json", | ||
"engines": { | ||
"node": "^22.11" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.