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 `typescript@5.3` update. Therefore, 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.

nonara/ts-patch#122
  • Loading branch information
samchon committed Oct 22, 2023
1 parent b51c573 commit f00314c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typia",
"version": "5.2.3",
"version": "5.2.4",
"description": "Superfast runtime validators with only one line",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -81,7 +81,7 @@
"randexp": "^0.5.3"
},
"peerDependencies": {
"typescript": ">= 4.8.0"
"typescript": ">=4.8.0 <5.3.0"
},
"devDependencies": {
"@fastify/type-provider-typebox": "^3.5.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/typescript-json/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript-json",
"version": "5.2.3",
"version": "5.2.4",
"description": "Superfast runtime validators with only one line",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -72,10 +72,10 @@
},
"homepage": "https://typia.io",
"dependencies": {
"typia": "5.2.3"
"typia": "5.2.4"
},
"peerDependencies": {
"typescript": ">= 4.8.0"
"typescript": ">=4.8.0 <5.3.0"
},
"stackblitzs": {
"startCommand": "npm run prepare && npm run build && npm run build:test && npm run test"
Expand Down
2 changes: 1 addition & 1 deletion src/executable/TypiaSetupWizard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export namespace TypiaSetupWizard {
// 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
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
"prettier": "^2.8.8",
"rimraf": "^5.0.0",
"ts-node": "^10.9.1",
"typia": "^5.2.3"
"typia": "^5.2.4"
}
}

0 comments on commit f00314c

Please sign in to comment.