Skip to content

Commit

Permalink
feat(cb2-13920): node 20 upgrade (#107)
Browse files Browse the repository at this point in the history
* feat: node 20 upgrade and triage unneccessary dependencies

* fix: pre-push hook test command
  • Loading branch information
matthew2564 authored Oct 16, 2024
1 parent fbc292a commit 90ef922
Show file tree
Hide file tree
Showing 18 changed files with 2,703 additions and 1,465 deletions.
6 changes: 5 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": ["eamodio.gitlens", "dbaeumer.vscode-eslint", "EditorConfig.EditorConfig"]
"extensions": [
"eamodio.gitlens",
"dbaeumer.vscode-eslint",
"EditorConfig.EditorConfig"
]
}
}

Expand Down
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no -- commitlint --edit "$1"
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run audit && npm run lint && npm run format
1 change: 1 addition & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run test && npm run build && npm run test-i
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.*
20.16
16 changes: 8 additions & 8 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
roots: ['<rootDir>/src', '<rootDir>/tests'],
setupFiles: ['jest-plugin-context/setup'],
moduleFileExtensions: ['js', 'ts'],
testResultsProcessor: 'jest-sonar-reporter',
testMatch: ['**/*.*Test.ts'],
coverageDirectory: './coverage'
preset: "ts-jest",
testEnvironment: "node",
roots: ["<rootDir>/src", "<rootDir>/tests"],
setupFiles: ["jest-plugin-context/setup"],
moduleFileExtensions: ["js", "ts"],
testResultsProcessor: "jest-sonar-reporter",
testMatch: ["**/*.*Test.ts"],
coverageDirectory: "./coverage",
};
Loading

0 comments on commit 90ef922

Please sign in to comment.