From 9b1ca1f2dfc53b8098539e8ce3604ceaf4be0b16 Mon Sep 17 00:00:00 2001 From: geekact Date: Wed, 4 Oct 2023 21:47:25 +0800 Subject: [PATCH] ci: add typescript@5.2 to matrix --- .github/workflows/test.yml | 6 +++--- package.json | 2 +- pnpm-lock.yaml | 32 ++++++++++++++++---------------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 423a42f..c75d215 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,8 +27,8 @@ jobs: if: "!contains(toJson(github.event.commits), '[skip ci]')" strategy: matrix: - node-version: [16.x, 18.x] - ts-version: [5.0.x, 5.1.x] + node-version: [16.x, 18.x, 20.x] + ts-version: [5.0.x, 5.1.x, 5.2.x] react-version: [18.x] runs-on: ubuntu-latest steps: @@ -51,7 +51,7 @@ jobs: if: "!contains(toJson(github.event.commits), '[skip ci]')" strategy: matrix: - node-version: [16.x, 18.x] + node-version: [16.x, 18.x, 20.x] react-version: [18.x] runs-on: ubuntu-latest steps: diff --git a/package.json b/package.json index df5c84e..4ad6e33 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "sleep-promise": "^9.1.0", "ts-expect": "^1.3.0", "tsup": "^7.2.0", - "typescript": "^5.1.6", + "typescript": "^5.2.2", "vitest": "^0.34.3" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8ca94d7..fd24afa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -77,10 +77,10 @@ devDependencies: version: 1.3.0 tsup: specifier: ^7.2.0 - version: 7.2.0(@swc/core@1.3.83)(ts-node@10.9.1)(typescript@5.1.6) + version: 7.2.0(@swc/core@1.3.83)(ts-node@10.9.1)(typescript@5.2.2) typescript: - specifier: ^5.1.6 - version: 5.1.6 + specifier: ^5.2.2 + version: 5.2.2 vitest: specifier: ^0.34.3 version: 0.34.3(jsdom@22.1.0) @@ -216,13 +216,13 @@ packages: '@types/node': 20.4.7 chalk: 4.1.2 cosmiconfig: 8.2.0 - cosmiconfig-typescript-loader: 4.4.0(@types/node@20.4.7)(cosmiconfig@8.2.0)(ts-node@10.9.1)(typescript@5.1.6) + cosmiconfig-typescript-loader: 4.4.0(@types/node@20.4.7)(cosmiconfig@8.2.0)(ts-node@10.9.1)(typescript@5.2.2) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 resolve-from: 5.0.0 - ts-node: 10.9.1(@swc/core@1.3.83)(@types/node@20.4.9)(typescript@5.1.6) - typescript: 5.1.6 + ts-node: 10.9.1(@swc/core@1.3.83)(@types/node@20.4.9)(typescript@5.2.2) + typescript: 5.2.2 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -1355,7 +1355,7 @@ packages: resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} dev: true - /cosmiconfig-typescript-loader@4.4.0(@types/node@20.4.7)(cosmiconfig@8.2.0)(ts-node@10.9.1)(typescript@5.1.6): + /cosmiconfig-typescript-loader@4.4.0(@types/node@20.4.7)(cosmiconfig@8.2.0)(ts-node@10.9.1)(typescript@5.2.2): resolution: {integrity: sha512-BabizFdC3wBHhbI4kJh0VkQP9GkBfoHPydD0COMce1nJ1kJAB3F2TmJ/I7diULBKtmEWSwEbuN/KDtgnmUUVmw==} engines: {node: '>=v14.21.3'} peerDependencies: @@ -1366,8 +1366,8 @@ packages: dependencies: '@types/node': 20.4.7 cosmiconfig: 8.2.0 - ts-node: 10.9.1(@swc/core@1.3.83)(@types/node@20.4.9)(typescript@5.1.6) - typescript: 5.1.6 + ts-node: 10.9.1(@swc/core@1.3.83)(@types/node@20.4.9)(typescript@5.2.2) + typescript: 5.2.2 dev: true /cosmiconfig@8.2.0: @@ -3194,7 +3194,7 @@ packages: optional: true dependencies: lilconfig: 2.1.0 - ts-node: 10.9.1(@swc/core@1.3.83)(@types/node@20.4.9)(typescript@5.1.6) + ts-node: 10.9.1(@swc/core@1.3.83)(@types/node@20.4.9)(typescript@5.2.2) yaml: 2.3.1 dev: true @@ -3945,7 +3945,7 @@ packages: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} dev: true - /ts-node@10.9.1(@swc/core@1.3.83)(@types/node@20.4.9)(typescript@5.1.6): + /ts-node@10.9.1(@swc/core@1.3.83)(@types/node@20.4.9)(typescript@5.2.2): resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: @@ -3972,7 +3972,7 @@ packages: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.1.6 + typescript: 5.2.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 dev: true @@ -3981,7 +3981,7 @@ packages: resolution: {integrity: sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==} dev: true - /tsup@7.2.0(@swc/core@1.3.83)(ts-node@10.9.1)(typescript@5.1.6): + /tsup@7.2.0(@swc/core@1.3.83)(ts-node@10.9.1)(typescript@5.2.2): resolution: {integrity: sha512-vDHlczXbgUvY3rWvqFEbSqmC1L7woozbzngMqTtL2PGBODTtWlRwGDDawhvWzr5c1QjKe4OAKqJGfE1xeXUvtQ==} engines: {node: '>=16.14'} hasBin: true @@ -4012,7 +4012,7 @@ packages: source-map: 0.8.0-beta.0 sucrase: 3.34.0 tree-kill: 1.2.2 - typescript: 5.1.6 + typescript: 5.2.2 transitivePeerDependencies: - supports-color - ts-node @@ -4048,8 +4048,8 @@ packages: is-typedarray: 1.0.0 dev: true - /typescript@5.1.6: - resolution: {integrity: sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==} + /typescript@5.2.2: + resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} engines: {node: '>=14.17'} hasBin: true dev: true