Skip to content

Commit 7b9a884

Browse files
authored
maint: cleanup package.json and use Node LTS instead of v16 (#519)
* maint: remove outdated jest config * ci: use Node LTS instead of Node 16
1 parent bcc0f97 commit 7b9a884

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

.github/workflows/update-prettier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/setup-node@v4
1717
with:
1818
cache: npm
19-
node-version: 16
19+
node-version: lts/*
2020
- run: npm ci
2121
- run: npm run lint:fix
2222
- uses: gr2m/[email protected]

package.json

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -71,31 +71,6 @@
7171
]
7272
]
7373
},
74-
"jest": {
75-
"extensionsToTreatAsEsm": [
76-
".ts"
77-
],
78-
"transform": {
79-
"^.+\\.(ts|tsx)$": [
80-
"ts-jest",
81-
{
82-
"tsconfig": "test/tsconfig.test.json",
83-
"useESM": true
84-
}
85-
]
86-
},
87-
"coverageThreshold": {
88-
"global": {
89-
"statements": 100,
90-
"branches": 100,
91-
"functions": 100,
92-
"lines": 100
93-
}
94-
},
95-
"moduleNameMapper": {
96-
"^(.+)\\.jsx?$": "$1"
97-
}
98-
},
9974
"engines": {
10075
"node": ">= 18"
10176
}

0 commit comments

Comments
 (0)