Skip to content

Commit c08c2b2

Browse files
committed
chore: bump minimum node version
BREAKING CHANGE: now Node 14 (lts) and 17 are out-of-life
1 parent 52feb9e commit c08c2b2

9 files changed

+12
-11
lines changed

.github/workflows/commitlint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
version: latest
1414
- uses: actions/setup-node@v3
1515
with:
16-
node-version-file: '.nvmrc'
16+
node-version-file: '.node-version'
1717
cache: pnpm
1818
- run: pnpm install --frozen-lockfile
1919
- uses: wagoid/commitlint-github-action@v5

.github/workflows/coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
version: latest
1616
- uses: actions/setup-node@v3
1717
with:
18-
node-version-file: '.nvmrc'
18+
node-version-file: '.node-version'
1919
cache: pnpm
2020
- run: pnpm install --frozen-lockfile
2121
- run: pnpm test:cov

.github/workflows/quality.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
version: latest
1515
- uses: actions/setup-node@v3
1616
with:
17-
node-version-file: '.nvmrc'
17+
node-version-file: '.node-version'
1818
cache: pnpm
1919
- run: pnpm install --frozen-lockfile
2020
- run: pnpm format:ci
@@ -27,7 +27,7 @@ jobs:
2727
version: latest
2828
- uses: actions/setup-node@v3
2929
with:
30-
node-version-file: '.nvmrc'
30+
node-version-file: '.node-version'
3131
cache: pnpm
3232
- run: pnpm install --frozen-lockfile
3333
- run: pnpm lint:ci
@@ -40,7 +40,7 @@ jobs:
4040
version: latest
4141
- uses: actions/setup-node@v3
4242
with:
43-
node-version-file: '.nvmrc'
43+
node-version-file: '.node-version'
4444
cache: pnpm
4545
- run: pnpm install --frozen-lockfile
4646
- run: pnpm typecheck
@@ -53,7 +53,7 @@ jobs:
5353
version: latest
5454
- uses: actions/setup-node@v3
5555
with:
56-
node-version-file: '.nvmrc'
56+
node-version-file: '.node-version'
5757
cache: pnpm
5858
- run: pnpm install --frozen-lockfile
5959
- run: pnpm test:ci

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
version: latest
1818
- uses: actions/setup-node@v3
1919
with:
20-
node-version-file: '.nvmrc'
20+
node-version-file: '.node-version'
2121
cache: pnpm
2222
- run: pnpm install --frozen-lockfile
2323
- run: pnpm build

.nvmrc renamed to .node-version

File renamed without changes.

.npmignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/test
66
.editorconfig
77
.eslintrc.js
8-
.nvmrc
8+
.node-version
99
.prettierrc
1010
.releaserc.json
1111
.sgcrc

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"typescript": "4.9.5"
3737
},
3838
"engines": {
39-
"node": ">=14"
39+
"node": ">=16, !=17"
4040
},
4141
"keywords": [
4242
"typeorm",

tsconfig.build.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"extends": "./tsconfig.json",
3-
"exclude": ["dist", "jest.config.ts", "node_modules", "test"],
3+
"exclude": ["dist", "coverage", "examples", "jest.config.ts", "node_modules", "test"],
44
"compilerOptions": {
55
"declaration": true,
66
"importHelpers": true,
77
"outDir": "dist",
88
"sourceMap": true,
9-
"target": "es2020"
9+
"target": "es2021"
1010
}
1111
}

tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"extends": "@tsconfig/node18-strictest",
3+
"exclude": ["dist", "coverage"],
34
"compilerOptions": {
45
"emitDecoratorMetadata": true,
56
"experimentalDecorators": true

0 commit comments

Comments
 (0)