From 2e790be68786b694117b84ebc4b75b2976670804 Mon Sep 17 00:00:00 2001 From: Jeongho Nam Date: Tue, 4 Jun 2024 23:47:57 +0900 Subject: [PATCH] Adapt nonara/ts-patch#154: TS 5.5 issue --- .github/dependabot.yml | 6 ------ benchmark/package.json | 5 ++--- debug/package.json | 2 +- deploy/index.ts | 2 +- errors/package.json | 4 ++-- package.json | 4 ++-- test/package.json | 5 ++--- website/pages/docs/setup.mdx | 4 ++-- 8 files changed, 12 insertions(+), 20 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c292808fec..8dc98f7b2a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,14 +8,10 @@ updates: open-pull-requests-limit: 25 allow: - dependency-name: "@samchon/openapi" - - dependency-name: "ts-node" - - dependency-name: "typescript" groups: Ecosystem: patterns: - "@samchon/openapi" - - "ts-node" - - "typescript" - package-ecosystem: "npm" directory: "/test" schedule: @@ -23,14 +19,12 @@ updates: versioning-strategy: increase open-pull-requests-limit: 25 allow: - - dependency-name: "@samchon/openapi" - dependency-name: "ts-node" - dependency-name: "ts-patch" - dependency-name: "typescript" groups: Ecosystem: patterns: - - "@samchon/openapi" - "ts-node" - "ts-patch" - "typescript" \ No newline at end of file diff --git a/benchmark/package.json b/benchmark/package.json index 920b4e9c03..b203ba828a 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -60,19 +60,18 @@ "suppress-warnings": "^1.0.2", "tgrid": "^0.10.0", "ts-node": "^10.9.1", - "ts-patch": "^3.1.0", + "ts-patch": "^3.2.0", "tstl": "^3.0.0", "typescript": "^5.3.2", "uuid": "^8.3.2", "zod": "^3.19.1" }, "dependencies": { - "@samchon/openapi": "^0.1.18", "randexp": "^0.5.3", "source-map-support": "^0.5.21", "suppress-warnings": "^1.0.2", "tstl": "^3.0.0", "uuid": "^9.0.1", - "typia": "../typia-6.0.5.tgz" + "typia": "../typia-6.0.6-dev.20240604.tgz" } } \ No newline at end of file diff --git a/debug/package.json b/debug/package.json index 79699f3aa8..58f63ba2f0 100644 --- a/debug/package.json +++ b/debug/package.json @@ -11,7 +11,7 @@ "license": "ISC", "devDependencies": { "ts-node": "^10.9.2", - "ts-patch": "^3.1.2", + "ts-patch": "^3.2.0", "typescript": "^5.4.2" }, "dependencies": { diff --git a/deploy/index.ts b/deploy/index.ts index 23b5f56173..03d1630876 100644 --- a/deploy/index.ts +++ b/deploy/index.ts @@ -60,7 +60,7 @@ const test = fs.writeFileSync("package.json", JSON.stringify(pack, null, 2), "utf8"); if (commands.length) { - execute(`@typia/${name}`)("npm install"); + execute(`@typia/${name}`)("npm install --force"); commands.forEach(execute(`@typia/${name}`)); } process.chdir(__dirname + "/.."); diff --git a/errors/package.json b/errors/package.json index 1abc0f876a..630344df9a 100644 --- a/errors/package.json +++ b/errors/package.json @@ -28,10 +28,10 @@ "homepage": "https://github.com/samchon/typia#readme", "devDependencies": { "rimraf": "^5.0.5", - "ts-patch": "^3.0.2", + "ts-patch": "^3.2.0", "typescript": "^5.3.2" }, "dependencies": { - "typia": "../typia-6.0.5.tgz" + "typia": "../typia-6.0.6-dev.20240604.tgz" } } \ No newline at end of file diff --git a/package.json b/package.json index 8a1dda3dbb..b239fa9bc2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "typia", - "version": "6.0.5", + "version": "6.0.6-dev.20240604", "description": "Superfast runtime validators with only one line", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -72,7 +72,7 @@ "randexp": "^0.5.3" }, "peerDependencies": { - "typescript": ">=4.8.0 <5.5.0" + "typescript": ">=4.8.0 <5.6.0" }, "devDependencies": { "@trivago/prettier-plugin-sort-imports": "^4.3.0", diff --git a/test/package.json b/test/package.json index 6425ec2710..f6d7953500 100644 --- a/test/package.json +++ b/test/package.json @@ -40,10 +40,9 @@ "rimraf": "^5.0.5", "ts-node": "^10.9.2", "ts-patch": "^3.2.0", - "typescript": "^5.4.5" + "typescript": "5.5.0-beta" }, "dependencies": { - "@samchon/openapi": "^0.1.22", "cli": "^1.0.1", "protobufjs": "^7.2.5", "randexp": "^0.5.3", @@ -51,6 +50,6 @@ "suppress-warnings": "^1.0.2", "tstl": "^3.0.0", "uuid": "^9.0.1", - "typia": "../typia-6.0.5.tgz" + "typia": "../typia-6.0.6-dev.20240604.tgz" } } \ No newline at end of file diff --git a/website/pages/docs/setup.mdx b/website/pages/docs/setup.mdx index 3efca11e52..0c92e22741 100644 --- a/website/pages/docs/setup.mdx +++ b/website/pages/docs/setup.mdx @@ -213,8 +213,8 @@ As `typia` generates optimal operation code through transformation, it must be c }, "devDependencies": { "ts-node": "^10.9.1", - "ts-patch": "^3.0.2", - "typescript": "^5.1.6" + "ts-patch": "^3.2.0", + "typescript": "^6.0.6" } } ```