Skip to content

Commit

Permalink
chore: update to node22, update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bryce-seifert authored Dec 27, 2024
1 parent 45e88b0 commit 1e720b5
Show file tree
Hide file tree
Showing 6 changed files with 3,418 additions and 2,425 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

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ dist/
/pkg.tgz
/.vscode
DEBUG-*
/.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
15 changes: 12 additions & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
import { generateEslintConfig } from '@companion-module/tools/eslint/config.mjs'

export default generateEslintConfig({
enableTypescript: true,
})
const baseConfig = await generateEslintConfig({})

const customConfig = [
...baseConfig,
{
languageOptions: {
sourceType: 'module',
},
},
]

export default customConfig
25 changes: 15 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,25 @@
},
"license": "MIT",
"dependencies": {
"@companion-module/base": "~1.11.1",
"@slack/webhook": "^7.0.3"
"@companion-module/base": "~1.11.3",
"@slack/webhook": "^7.0.4"
},
"devDependencies": {
"@companion-module/tools": "^2.1.0",
"@types/node": "^22.9.0",
"eslint": "^9.14.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"typescript": "^5.6.3",
"typescript-eslint": "^8.13.0"
"@companion-module/tools": "^2.1.1",
"@types/node": "^22.10.2",
"eslint": "^9.17.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.2"
},
"engines": {
"node": "^22.12"
},
"prettier": "@companion-module/tools/.prettierrc.json",
"packageManager": "[email protected]",
"lint-staged": {
"*.{css,json,md,scss}": [
"prettier --write"
Expand Down
Loading

0 comments on commit 1e720b5

Please sign in to comment.