Skip to content

Commit

Permalink
Pending TypeScript v5.3 update.
Browse files Browse the repository at this point in the history
As TypeScript v5.3 has break change on compiler API, current version of `ts-patch` does not work on the `[email protected]`.

Therefore, I've blocked the TypeScript v5.3 update by configuring `peedDependencies` of `package.json`.

This limitation would be resolved when `ts-patch` starts supporting the TypeScript v5.3 update.

  - Related issue: nonara/ts-patch#122
  • Loading branch information
samchon committed Oct 22, 2023
1 parent 28f9192 commit c365281
Show file tree
Hide file tree
Showing 13 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"homepage": "https://nestia.io",
"dependencies": {
"@nestia/core": "^2.2.1-dev.20231012",
"typia": "^5.2.3"
"typia": "^5.2.4"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nestia",
"version": "5.0.2",
"version": "5.0.3",
"description": "Nestia CLI tool",
"main": "bin/index.js",
"bin": {
Expand Down Expand Up @@ -37,8 +37,8 @@
"inquirer": "^8.2.5"
},
"devDependencies": {
"@nestia/core": "^2.0.0",
"@nestia/sdk": "^2.0.0",
"@nestia/core": "^2.3.4",
"@nestia/sdk": "^2.3.4",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/inquirer": "^9.0.3",
"@types/node": "^18.11.16",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/NestiaSetupWizard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export namespace NestiaSetupWizard {
// INSTALL TYPESCRIPT COMPILERS
pack.install({ dev: true, modulo: "ts-patch", version: "latest" });
pack.install({ dev: true, modulo: "ts-node", version: "latest" });
pack.install({ dev: true, modulo: "typescript", version: "latest" });
pack.install({ dev: true, modulo: "typescript", version: "5.2.2" });
args.project ??= (() => {
const runner: string =
pack.manager === "npm" ? "npx" : pack.manager;
Expand Down
12 changes: 6 additions & 6 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nestia/core",
"version": "2.3.3",
"version": "2.3.4",
"description": "Super-fast validation decorators of NestJS",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -34,7 +34,7 @@
},
"homepage": "https://nestia.io",
"dependencies": {
"@nestia/fetcher": "^2.3.3",
"@nestia/fetcher": "^2.3.4",
"@nestjs/common": ">=7.0.1",
"@nestjs/core": ">=7.0.1",
"@nestjs/platform-express": ">=7.0.1",
Expand All @@ -44,19 +44,19 @@
"raw-body": ">=2.0.0",
"reflect-metadata": ">=0.1.12",
"rxjs": ">=6.0.0",
"typia": "^5.2.3"
"typia": "^5.2.4"
},
"peerDependencies": {
"@nestia/fetcher": ">=2.3.3",
"@nestia/fetcher": ">=2.3.4",
"@nestjs/common": ">=7.0.1",
"@nestjs/core": ">=7.0.1",
"@nestjs/platform-express": ">=7.0.1",
"@nestjs/platform-fastify": ">=7.0.1",
"raw-body": ">=2.0.0",
"reflect-metadata": ">=0.1.12",
"rxjs": ">=6.0.0",
"typescript": ">=4.8.0",
"typia": ">=5.2.3 <6.0.0"
"typescript": ">=4.8.0 <5.3.0",
"typia": ">=5.2.4 <6.0.0"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"ts-node": "^10.9.1",
"ts-patch": "^3.0.2",
"typescript": "^5.2.2",
"typia": "^5.2.3"
"typia": "^5.2.4"
},
"dependencies": {
"chalk": "^4.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/fetcher/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nestia/fetcher",
"version": "2.3.3",
"version": "2.3.4",
"description": "Fetcher library of Nestia SDK",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"typescript-transform-paths": "^3.4.6"
},
"dependencies": {
"typia": "^5.2.3"
"typia": "^5.2.4"
},
"files": [
"lib",
Expand Down
12 changes: 6 additions & 6 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nestia/sdk",
"version": "2.3.3",
"version": "2.3.4",
"description": "Nestia SDK and Swagger generator",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"homepage": "https://nestia.io",
"dependencies": {
"@nestia/fetcher": "^2.3.3",
"@nestia/fetcher": "^2.3.4",
"cli": "^1.0.1",
"get-function-location": "^2.0.0",
"glob": "^7.2.0",
Expand All @@ -44,16 +44,16 @@
"tsconfck": "^2.0.1",
"tsconfig-paths": "^4.1.1",
"tstl": "^2.5.13",
"typia": "^5.2.3"
"typia": "^5.2.4"
},
"peerDependencies": {
"@nestia/fetcher": ">=2.3.3",
"@nestia/fetcher": ">=2.3.4",
"@nestjs/common": ">=7.0.1",
"@nestjs/core": ">=7.0.1",
"reflect-metadata": ">=0.1.12",
"ts-node": ">=10.6.0",
"typescript": ">=4.8.0",
"typia": ">=5.2.3 <6.0.0"
"typescript": ">=4.8.0 <5.3.0",
"typia": ">=5.2.4 <6.0.0"
},
"devDependencies": {
"@nestjs/common": ">= 7.0.1",
Expand Down
2 changes: 1 addition & 1 deletion test/features/distribute-assert/packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
},
"dependencies": {
"@nestia/fetcher": "file:../../../../../packages/fetcher/nestia-fetcher-0.0.0-dev.20991231.tgz",
"typia": "^5.2.3"
"typia": "^5.2.4"
}
}
2 changes: 1 addition & 1 deletion test/features/distribute-json/packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
},
"dependencies": {
"@nestia/fetcher": "file:../../../../../packages/fetcher/nestia-fetcher-0.0.0-dev.20991231.tgz",
"typia": "^5.2.3"
"typia": "^5.2.4"
}
}
2 changes: 1 addition & 1 deletion test/features/distribute/packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
},
"dependencies": {
"@nestia/fetcher": "file:../../../../../packages/fetcher/nestia-fetcher-0.0.0-dev.20991231.tgz",
"typia": "^5.2.3"
"typia": "^5.2.4"
}
}
10 changes: 5 additions & 5 deletions test/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@nestia/test",
"version": "2.3.3",
"version": "2.3.4",
"description": "Test program of Nestia",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -34,12 +34,12 @@
"ts-patch": "v3.0.2",
"typescript": "^5.2.2",
"typescript-transform-paths": "^3.4.4",
"typia": "^5.2.3",
"typia": "^5.2.4",
"uuid": "^9.0.0",
"nestia": "^4.5.0",
"@nestia/core": "^2.3.3",
"@nestia/core": "^2.3.4",
"@nestia/e2e": "^0.3.6",
"@nestia/fetcher": "^2.3.3",
"@nestia/sdk": "^2.3.3"
"@nestia/fetcher": "^2.3.4",
"@nestia/sdk": "^2.3.4"
}
}
4 changes: 2 additions & 2 deletions website/pages/docs/sdk/sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -890,8 +890,8 @@ Also, if your SDK library utilize special alias `paths`, you also need to custom
"ts-patch": "^3.0.2"
},
"dependencies": {
"@nestia/fetcher": "^2.3.2",
"typia": "^5.2.3"
"@nestia/fetcher": "^2.3.4",
"typia": "^5.2.4"
},
"files": [
"lib",
Expand Down

0 comments on commit c365281

Please sign in to comment.