Skip to content

Commit

Permalink
Complete samchon/typia#1415: support TS 5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed Dec 5, 2024
1 parent f08bf03 commit cab7390
Show file tree
Hide file tree
Showing 17 changed files with 52 additions and 50 deletions.
4 changes: 2 additions & 2 deletions benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"reflect-metadata": "^0.2.2",
"tgrid": "^1.1.0",
"tstl": "^3.0.0",
"typia": "^7.0.1"
"typia": "^7.0.2"
},
"devDependencies": {
"@types/autocannon": "^7.9.0",
Expand All @@ -53,6 +53,6 @@
"rimraf": "^5.0.1",
"ts-node": "^10.9.1",
"ts-patch": "^3.2.1",
"typescript": "~5.6.3"
"typescript": "~5.7.2"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@nestia/station",
"version": "4.0.2",
"version": "4.0.3",
"description": "Nestia station",
"scripts": {
"build": "node build/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"nestia": "^5.5.0",
"ts-node": "^10.9.2",
"ts-patch": "^3.2.1",
"typescript": "~5.6.3",
"typescript": "~5.7.2",
"typescript-transform-paths": "^3.4.7",
"typia": "^7.0.1",
"typia": "^7.0.2",
"uuid": "^10.0.0"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nestia",
"version": "6.3.0",
"version": "6.3.1",
"description": "Nestia CLI tool",
"main": "bin/index.js",
"bin": {
Expand Down Expand Up @@ -42,7 +42,7 @@
"@types/inquirer": "^9.0.3",
"@types/node": "^18.11.16",
"rimraf": "^3.0.2",
"typescript": "~5.6.3"
"typescript": "~5.7.2"
},
"files": [
"bin",
Expand Down
4 changes: 3 additions & 1 deletion packages/cli/src/internal/ArgumentParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ export namespace ArgumentParser {
"npm" | "pnpm" | "yarn" | "bun" | null
> => {
const result: DetectResult | null = await detect({ cwd: process.cwd() });
if (result?.name === "npm") return null; // NPM case is still selectable
if (result?.name === "npm")
return null; // NPM case is still selectable
else if (result?.name === "deno") return null; // Deno case is not supported
return result?.name ?? null;
};
}
14 changes: 7 additions & 7 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nestia/core",
"version": "4.0.2",
"version": "4.0.3",
"description": "Super-fast validation decorators of NestJS",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -36,10 +36,10 @@
},
"homepage": "https://nestia.io",
"dependencies": {
"@nestia/fetcher": "^4.0.2",
"@nestia/fetcher": "^4.0.3",
"@nestjs/common": ">=7.0.1",
"@nestjs/core": ">=7.0.1",
"@samchon/openapi": "^2.0.0",
"@samchon/openapi": "^2.0.1",
"detect-ts-node": "^1.0.5",
"get-function-location": "^2.0.0",
"glob": "^7.2.0",
Expand All @@ -48,16 +48,16 @@
"reflect-metadata": ">=0.1.12",
"rxjs": ">=6.0.3",
"tgrid": "^1.1.0",
"typia": "^7.0.1",
"typia": "^7.0.2",
"ws": "^7.5.3"
},
"peerDependencies": {
"@nestia/fetcher": ">=4.0.2",
"@nestia/fetcher": ">=4.0.3",
"@nestjs/common": ">=7.0.1",
"@nestjs/core": ">=7.0.1",
"reflect-metadata": ">=0.1.12",
"rxjs": ">=6.0.3",
"typia": ">=7.0.1 <8.0.0"
"typia": ">=7.0.2 <8.0.0"
},
"devDependencies": {
"@nestjs/common": "^10.3.3",
Expand All @@ -80,7 +80,7 @@
"ts-node": "^10.9.1",
"ts-patch": "^3.2.1",
"tstl": "^3.0.0",
"typescript": "~5.6.3"
"typescript": "~5.7.2"
},
"files": [
"README.md",
Expand Down
4 changes: 2 additions & 2 deletions packages/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"rimraf": "^4.1.2",
"ts-node": "^10.9.1",
"ts-patch": "^3.2.1",
"typescript": "~5.6.3",
"typescript": "~5.7.2",
"typescript-transform-paths": "^3.4.7",
"typia": "^7.0.1"
"typia": "^7.0.2"
},
"files": [
"lib",
Expand Down
4 changes: 2 additions & 2 deletions packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"js-yaml": "^4.1.0",
"prettier": "3.3.3",
"react-mui-fileuploader": "^0.5.2",
"typia": "^7.0.1"
"typia": "^7.0.2"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
Expand All @@ -62,7 +62,7 @@
"react-dom": "^18.3.1",
"rollup": "^4.24.2",
"ts-node": "^10.9.2",
"typescript": "~5.6.3",
"typescript": "~5.7.2",
"typescript-eslint": "^8.10.0",
"vite": "^5.4.9"
},
Expand Down
10 changes: 5 additions & 5 deletions packages/fetcher/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nestia/fetcher",
"version": "4.0.2",
"version": "4.0.3",
"description": "Fetcher library of Nestia SDK",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand All @@ -26,8 +26,8 @@
},
"homepage": "https://nestia.io",
"dependencies": {
"@samchon/openapi": "^2.0.0",
"typia": "^7.0.1"
"@samchon/openapi": "^2.0.1",
"typia": "^7.0.2"
},
"peerDependencies": {
"typescript": ">= 4.8.0"
Expand All @@ -37,8 +37,8 @@
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"rimraf": "^3.0.2",
"typescript": "~5.6.3",
"typia": "^7.0.1"
"typescript": "~5.7.2",
"typia": "^7.0.2"
},
"files": [
"README.md",
Expand Down
4 changes: 2 additions & 2 deletions packages/migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
"inquirer": "8.2.5",
"prettier": "^3.2.5",
"tstl": "^3.0.0",
"typescript": "~5.6.3",
"typia": "^7.0.1"
"typescript": "~5.7.2",
"typia": "^7.0.2"
},
"files": [
"lib",
Expand Down
18 changes: 9 additions & 9 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nestia/sdk",
"version": "4.0.2",
"version": "4.0.3",
"description": "Nestia SDK and Swagger generator",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -32,9 +32,9 @@
},
"homepage": "https://nestia.io",
"dependencies": {
"@nestia/core": "^4.0.2",
"@nestia/fetcher": "^4.0.2",
"@samchon/openapi": "^2.0.0",
"@nestia/core": "^4.0.3",
"@nestia/fetcher": "^4.0.3",
"@samchon/openapi": "^2.0.1",
"cli": "^1.0.1",
"get-function-location": "^2.0.0",
"glob": "^7.2.0",
Expand All @@ -44,16 +44,16 @@
"tsconfck": "^2.1.2",
"tsconfig-paths": "^4.1.1",
"tstl": "^3.0.0",
"typia": "^7.0.1"
"typia": "^7.0.2"
},
"peerDependencies": {
"@nestia/core": ">=4.0.2",
"@nestia/fetcher": ">=4.0.2",
"@nestia/core": ">=4.0.3",
"@nestia/fetcher": ">=4.0.3",
"@nestjs/common": ">=7.0.1",
"@nestjs/core": ">=7.0.1",
"reflect-metadata": ">=0.1.12",
"ts-node": ">=10.6.0",
"typia": ">=7.0.1 <8.0.0"
"typia": ">=7.0.2 <8.0.0"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
Expand All @@ -70,7 +70,7 @@
"rimraf": "^3.0.2",
"tgrid": "^1.1.0",
"ts-patch": "^3.2.1",
"typescript": "~5.6.3",
"typescript": "~5.7.2",
"typescript-transform-paths": "^3.4.4",
"uuid": "^9.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"devDependencies": {
"rimraf": "^6.0.1",
"ts-patch": "^3.2.1",
"typescript": "~5.6.3"
"typescript": "~5.7.2"
},
"dependencies": {
"@nestia/fetcher": "^4.0.1-dev.20241203",
"typia": "^7.0.1"
"typia": "^7.0.2"
}
}
4 changes: 2 additions & 2 deletions test/features/distribute-assert/packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"devDependencies": {
"rimraf": "^6.0.1",
"ts-patch": "^3.2.1",
"typescript": "~5.6.3"
"typescript": "~5.7.2"
},
"dependencies": {
"@nestia/fetcher": "^4.0.1-dev.20241203",
"typia": "^7.0.1"
"typia": "^7.0.2"
}
}
4 changes: 2 additions & 2 deletions test/features/distribute-json/packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"devDependencies": {
"rimraf": "^6.0.1",
"ts-patch": "^3.2.1",
"typescript": "~5.6.3"
"typescript": "~5.7.2"
},
"dependencies": {
"@nestia/fetcher": "^4.0.1-dev.20241203",
"typia": "^7.0.1"
"typia": "^7.0.2"
}
}
4 changes: 2 additions & 2 deletions test/features/distribute/packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"devDependencies": {
"rimraf": "^6.0.1",
"ts-patch": "^3.2.1",
"typescript": "~5.6.3"
"typescript": "~5.7.2"
},
"dependencies": {
"@nestia/fetcher": "^4.0.1-dev.20241203",
"typia": "^7.0.1"
"typia": "^7.0.2"
}
}
12 changes: 6 additions & 6 deletions test/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@samchon/nestia-test",
"version": "4.0.2",
"version": "4.0.3",
"description": "Test program of Nestia",
"main": "index.js",
"scripts": {
Expand All @@ -26,7 +26,7 @@
},
"homepage": "https://nestia.io",
"devDependencies": {
"@nestia/sdk": "^4.0.2",
"@nestia/sdk": "^4.0.3",
"@nestjs/swagger": "^8.1.0",
"@types/express": "^4.17.17",
"@types/multer": "^1.4.12",
Expand All @@ -35,14 +35,14 @@
"nestia": "^6.2.0",
"ts-node": "^10.9.2",
"ts-patch": "v3.2.1",
"typescript": "~5.6.3",
"typescript": "~5.7.2",
"typescript-transform-paths": "^3.5.2"
},
"dependencies": {
"@fastify/multipart": "^8.1.0",
"@nestia/core": "^4.0.2",
"@nestia/core": "^4.0.3",
"@nestia/e2e": "^0.7.0",
"@nestia/fetcher": "^4.0.2",
"@nestia/fetcher": "^4.0.3",
"@nestjs/common": "^10.4.13",
"@nestjs/core": "^10.4.13",
"@nestjs/platform-express": "^10.4.13",
Expand All @@ -54,7 +54,7 @@
"multer": "^1.4.5-lts.1",
"tgrid": "^1.1.0",
"tstl": "^3.0.0",
"typia": "^7.0.1",
"typia": "^7.0.2",
"uuid": "^9.0.1"
}
}
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"rimraf": "^5.0.0",
"ts-node": "^10.9.2",
"typedoc": "^0.26.2",
"typescript": "~5.6.3"
"typescript": "~5.7.2"
}
}

0 comments on commit cab7390

Please sign in to comment.