Skip to content

Commit

Permalink
chore: update to node22 (#39)
Browse files Browse the repository at this point in the history
* chore: update to node22

* chore: version up
  • Loading branch information
bryce-seifert authored Jan 20, 2025
1 parent d4ce54a commit a8541ec
Show file tree
Hide file tree
Showing 8 changed files with 2,614 additions and 1,765 deletions.
1 change: 0 additions & 1 deletion .github/workflows/companion-module-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ jobs:
uses: bitfocus/actions/.github/workflows/module-checks.yaml@main
# with:
# upload-artifact: true # uncomment this to upload the built package as an artifact to this workflow that you can download and share with others

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
.DS_Store
/pkg
/pkg.tgz
/pkg.tgz
/.yarn
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ See [HELP.md](./companion/HELP.md) and LICENSE

## Changelog

### v2.1.2

- Fix
- Collect control nodes by ID instead of title

### v2.1.1

- Minor
Expand Down
2 changes: 1 addition & 1 deletion companion/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
],
"legacyIds": [],
"runtime": {
"type": "node18",
"type": "node22",
"api": "nodejs-ipc",
"apiVersion": "0.0.0",
"entrypoint": "../index.js"
Expand Down
14 changes: 14 additions & 0 deletions eslint.config.mjs
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
20 changes: 14 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "singularlive-studio",
"version": "2.1.1",
"version": "2.1.2",
"main": "index.js",
"license": "MIT",
"repository": {
Expand All @@ -9,15 +9,23 @@
},
"type": "module",
"scripts": {
"format": "prettier -w ."
"format": "prettier -w .",
"package": "companion-module-build",
"lint:raw": "eslint",
"lint": "yarn lint:raw ."
},
"dependencies": {
"@companion-module/base": "~1.10.0",
"@companion-module/base": "~1.11.3",
"eslint": "^9.18.0",
"node-fetch": "^3.3.2"
},
"devDependencies": {
"@companion-module/tools": "^2.0.0",
"prettier": "^3.3.3"
"@companion-module/tools": "^2.1.1",
"prettier": "^3.4.2"
},
"prettier": "@companion-module/tools/.prettierrc.json"
"engines": {
"node": "^22.12"
},
"prettier": "@companion-module/tools/.prettierrc.json",
"packageManager": "[email protected]"
}
Loading

0 comments on commit a8541ec

Please sign in to comment.