Skip to content

Commit 7378ad7

Browse files
authored
feat(typescript5): Add compatibility to typescript 5
BREAKING CHANGE: Typescript 4 is not longer supported
1 parent 57994c5 commit 7378ad7

File tree

34 files changed

+1272
-630
lines changed

34 files changed

+1272
-630
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ updates:
99
interval: "daily"
1010
ignore:
1111
- dependency-name: "@types/node"
12-
# @types/node versions follow node versions. this project currently supports node lts/gallium and lts/fermium
12+
# @types/node versions follow node versions. this project currently supports node lts/gallium and lts/hydrogen
1313
versions: [ '>=17.0.0' ]

.github/workflows/definitely-type-check.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,18 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [ lts/gallium, lts/fermium ]
18+
node-version: [ lts/hydrogen ]
1919

2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v3
2222
- name: Use Node.js ${{ matrix.node-version }}
2323
uses: actions/setup-node@v3
2424
with:
2525
node-version: ${{ matrix.node-version }}
2626
- name: run definitely typed build
2727
run: |
2828
npm ci
29+
npm run ts-patch:install
2930
npm run build
3031
npm run build:transformer:definitelyTyped
3132
env:

.github/workflows/definitelyTyped.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
node-version: [ lts/gallium ]
11+
node-version: [ lts/hydrogen ]
1212

1313
steps:
1414
- uses: actions/checkout@v3
@@ -22,6 +22,7 @@ jobs:
2222
- name: install ts auto mock
2323
run: |
2424
npm ci
25+
npm run ts-patch:install
2526
npm run build
2627
npm run build:transformer:definitelyTyped
2728
- name: definitelyTyped

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
node-version: [ 12.x ]
1818

1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v3
2121
- name: Use Node.js ${{ matrix.node-version }}
2222
uses: actions/setup-node@v3
2323
with:

.github/workflows/performance.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,18 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
node-version: [ lts/gallium ]
17+
node-version: [ lts/hydrogen ]
1818

1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v3
2121
- name: Use Node.js ${{ matrix.node-version }}
2222
uses: actions/setup-node@v3
2323
with:
2424
node-version: ${{ matrix.node-version }}
2525
- name: install ts auto mock
2626
run: |
2727
npm ci
28+
npm run ts-patch:install
2829
npm run build
2930
env:
3031
CI: true

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
node-version: [ lts/gallium ]
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v3
1919
with:
2020
token: ${{ secrets.GITHUBTYPESCRIPTTDD }}
2121
- name: Use Node.js ${{ matrix.node-version }}

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [ lts/gallium, lts/fermium, lts/hydrogen ]
18+
node-version: [ lts/gallium, lts/hydrogen ]
1919

2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v3
2222
- name: Use Node.js ${{ matrix.node-version }}
2323
uses: actions/setup-node@v3
2424
with:
@@ -28,13 +28,14 @@ jobs:
2828
sudo apt-get update
2929
sudo apt-get install -y libgbm-dev
3030
npm ci
31+
npm run ts-patch:install
3132
npm run build
3233
npm test
3334
check-type:
3435
runs-on: ubuntu-latest
3536

3637
steps:
37-
- uses: actions/checkout@v2
38+
- uses: actions/checkout@v3
3839
- name: Use Node.js ${{ matrix.node-version }}
3940
uses: actions/setup-node@v3
4041
with:

0 commit comments

Comments
 (0)