Skip to content

Commit c248fba

Browse files
authored
feat(simple-github-release): upgrade node minimal version to 18 (#82)
Now node 18 is minimal required version BREAKING CHANGE: Now node 18 is minimal required version
1 parent db71fc8 commit c248fba

File tree

10 files changed

+4351
-3336
lines changed

10 files changed

+4351
-3336
lines changed

.github/workflows/checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
- name: Install pnpm
2222
uses: pnpm/action-setup@v2
2323
with:
24-
version: 8
24+
version: 10
2525
- name: Install Node.js
2626
uses: actions/setup-node@v4
2727
with:
28-
node-version: 16
28+
node-version: 18
2929
cache: 'pnpm'
3030
- name: Check package.json files
3131
run: pnpm --package=@trigen/lint-package-json dlx lint-package-json --monorepo

.github/workflows/commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
- name: Install pnpm
1414
uses: pnpm/action-setup@v2
1515
with:
16-
version: 8
16+
version: 10
1717
- name: Install Node.js
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 16
20+
node-version: 18
2121
cache: 'pnpm'
2222
- name: Install dependencies
2323
run: pnpm install

.github/workflows/tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install Node.js
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: 16
21+
node-version: 18
2222
- id: set-matrix
2323
run: node .github/workflows/list-workspaces.js test:types lint test:unit >> $GITHUB_OUTPUT
2424
types:
@@ -34,11 +34,11 @@ jobs:
3434
- name: Install pnpm
3535
uses: pnpm/action-setup@v2
3636
with:
37-
version: 8
37+
version: 10
3838
- name: Install Node.js
3939
uses: actions/setup-node@v4
4040
with:
41-
node-version: 16
41+
node-version: 18
4242
cache: 'pnpm'
4343
- name: Install dependencies
4444
run: pnpm install
@@ -57,11 +57,11 @@ jobs:
5757
- name: Install pnpm
5858
uses: pnpm/action-setup@v2
5959
with:
60-
version: 8
60+
version: 10
6161
- name: Install Node.js
6262
uses: actions/setup-node@v4
6363
with:
64-
node-version: 16
64+
node-version: 18
6565
cache: 'pnpm'
6666
- name: Install dependencies
6767
run: pnpm install
@@ -80,11 +80,11 @@ jobs:
8080
- name: Install pnpm
8181
uses: pnpm/action-setup@v2
8282
with:
83-
version: 8
83+
version: 10
8484
- name: Install Node.js
8585
uses: actions/setup-node@v4
8686
with:
87-
node-version: 16
87+
node-version: 18
8888
cache: 'pnpm'
8989
- name: Install dependencies
9090
run: pnpm install

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
pnpm 8.15.8
1+
pnpm 10.11.0
22
nodejs 22.4.1

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"eslint": "^8.28.0",
4444
"nano-staged": "^0.8.0",
4545
"simple-git-hooks": "^2.7.0",
46-
"typescript": "^5.0.0",
46+
"typescript": "5.2.2",
4747
"vite": "^5.0.0",
4848
"vitest": "^0.34.4"
4949
}

packages/simple-github-release/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"release"
2525
],
2626
"engines": {
27-
"node": ">=14"
27+
"node": ">=18"
2828
},
2929
"bin": "./src/cli/index.ts",
3030
"exports": "./src/index.ts",

packages/simple-github-release/test/tsconfig.json

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"extends": "./tsconfig.build.json",
33
"include": [
4-
"src"
4+
"src",
5+
"test"
56
],
67
"exclude": []
78
}

0 commit comments

Comments
 (0)