Skip to content

Commit

Permalink
Merge pull request #1123 from samchon/v4.0
Browse files Browse the repository at this point in the history
Publish v4 update.
  • Loading branch information
samchon authored Dec 2, 2024
2 parents 27d25d7 + f79a207 commit f680b21
Show file tree
Hide file tree
Showing 781 changed files with 2,594 additions and 2,592 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Nestia is a set of helper libraries for NestJS, supporting below features:
- Advanced WebSocket routes
- `@nestia/sdk`:
- Swagger generator evolved than ever
- OpenAI function calling schema generator
- SDK library generator for clients
- Mockup Simulator for client applications
- Automatic E2E test functions generator
Expand Down
6 changes: 3 additions & 3 deletions benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://nestia.io",
"dependencies": {
"@nestia/core": "^3.10.0-dev.20240803-2",
"@nestia/core": "^4.0.0",
"@nestjs/common": "^10.3.7",
"@nestjs/core": "^10.3.7",
"@nestjs/platform-express": "^10.3.7",
Expand All @@ -42,7 +42,7 @@
"reflect-metadata": "^0.2.2",
"tgrid": "^1.0.3",
"tstl": "^3.0.0",
"typia": "^6.12.0"
"typia": "^7.0.0"
},
"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.5.4"
"typescript": "~5.6.3"
}
}
2 changes: 2 additions & 0 deletions deploy/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ const setup = (tag) => (version) => (directory) => {

// SETUP UPDATED DEPENDENCIES
fs.writeFileSync(file, JSON.stringify(info, null, 2), "utf8");
if (fs.existsSync(`${directory}/package-lock.json`))
fs.rmSync(`${directory}/package-lock.json`);
execute(directory)("npm cache clean --force");
execute(directory)(`npm install`);
};
Expand Down
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": "3.19.1",
"version": "4.0.0",
"description": "Nestia station",
"scripts": {
"build": "node build/index.js",
Expand Down
12 changes: 6 additions & 6 deletions packages/benchmark/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nestia/benchmark",
"version": "0.2.3",
"version": "0.3.0",
"description": "NestJS Performance Benchmark Program",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand All @@ -22,23 +22,23 @@
"author": "Jeongho Nam",
"license": "MIT",
"devDependencies": {
"@nestia/core": "^3.8.1",
"@nestia/core": "^4.0.0",
"@nestia/e2e": "^0.7.0",
"@nestia/sdk": "^3.8.1",
"@nestia/sdk": "^4.0.0",
"@nestjs/common": "^10.3.10",
"@nestjs/core": "^10.3.10",
"@nestjs/platform-express": "^10.3.10",
"@types/uuid": "^10.0.0",
"nestia": "^5.5.0",
"ts-node": "^10.9.2",
"ts-patch": "^3.2.1",
"typescript": "5.5.4",
"typescript": "~5.6.3",
"typescript-transform-paths": "^3.4.7",
"typia": "^6.12.0",
"typia": "^7.0.0",
"uuid": "^10.0.0"
},
"dependencies": {
"@nestia/fetcher": "^3.8.1",
"@nestia/fetcher": "^4.0.0",
"tgrid": "^1.0.3",
"tstl": "^3.0.0"
},
Expand Down
1 change: 0 additions & 1 deletion packages/benchmark/test/api/Primitive.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Nestia is a set of helper libraries for NestJS, supporting below features:
- Advanced WebSocket routes
- `@nestia/sdk`:
- Swagger generator evolved than ever
- OpenAI function calling schema generator
- SDK library generator for clients
- Mockup Simulator for client applications
- Automatic E2E test functions generator
Expand Down
20 changes: 9 additions & 11 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nestia/core",
"version": "3.19.1",
"version": "4.0.0",
"description": "Super-fast validation decorators of NestJS",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -36,53 +36,51 @@
},
"homepage": "https://nestia.io",
"dependencies": {
"@nestia/fetcher": "^3.19.1",
"@nestia/fetcher": "../fetcher/nestia-fetcher-4.0.0.tgz",
"@nestjs/common": ">=7.0.1",
"@nestjs/core": ">=7.0.1",
"@samchon/openapi": "^1.2.2",
"@samchon/openapi": "^2.0.0",
"detect-ts-node": "^1.0.5",
"get-function-location": "^2.0.0",
"glob": "^7.2.0",
"multer": "1.4.5-lts.1",
"path-parser": "^6.1.0",
"raw-body": "^2.0.0",
"reflect-metadata": ">=0.1.12",
"rxjs": ">=6.0.3",
"tgrid": "^1.0.0",
"typia": "^6.12.0",
"typia": "^7.0.0",
"ws": "^7.5.3"
},
"peerDependencies": {
"@nestia/fetcher": ">=3.19.1",
"@nestia/fetcher": ">=4.0.0",
"@nestjs/common": ">=7.0.1",
"@nestjs/core": ">=7.0.1",
"reflect-metadata": ">=0.1.12",
"rxjs": ">=6.0.3",
"typia": ">=6.12.0 <7.0.0"
"typia": ">=7.0.0 <8.0.0"
},
"devDependencies": {
"@fastify/multipart": "^8.1.0",
"@nestjs/common": "^10.3.3",
"@nestjs/core": "^10.3.3",
"@types/express": "^4.17.15",
"@types/glob": "^7.2.0",
"@types/inquirer": "^9.0.3",
"@types/multer": "^1.4.11",
"@types/multer": "^1.4.12",
"@types/ts-expose-internals": "npm:[email protected]",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"commander": "^10.0.0",
"comment-json": "^4.2.3",
"eslint-plugin-deprecation": "^1.4.1",
"fastify": "^4.25.2",
"fastify": "^4.28.1",
"git-last-commit": "^1.0.1",
"inquirer": "^8.2.5",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"ts-patch": "^3.2.1",
"tstl": "^3.0.0",
"typescript": "5.5.4"
"typescript": "~5.6.3"
},
"files": [
"README.md",
Expand Down
4 changes: 0 additions & 4 deletions packages/core/src/decorators/EncryptedBody.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
} from "@nestjs/common";
import type express from "express";
import type { FastifyRequest } from "fastify";
import { assert, is, validate } from "typia";

import { IRequestBodyValidator } from "../options/IRequestBodyValidator";
import { Singleton } from "../utils/Singleton";
Expand Down Expand Up @@ -75,9 +74,6 @@ export function EncryptedBody<T>(
return data;
})();
}
Object.assign(EncryptedBody, is);
Object.assign(EncryptedBody, assert);
Object.assign(EncryptedBody, validate);

/**
* @internal
Expand Down
2 changes: 0 additions & 2 deletions packages/core/src/decorators/PlainBody.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
} from "@nestjs/common";
import type express from "express";
import type { FastifyRequest } from "fastify";
import { assert } from "typia";

import { get_text_body } from "./internal/get_text_body";
import { is_request_body_undefined } from "./internal/is_request_body_undefined";
Expand Down Expand Up @@ -68,7 +67,6 @@ export function PlainBody(
return value;
})();
}
Object.assign(PlainBody, assert);

/**
* @internal
Expand Down
6 changes: 0 additions & 6 deletions packages/core/src/decorators/TypedBody.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
} from "@nestjs/common";
import type express from "express";
import type { FastifyRequest } from "fastify";
import { assert, is, misc, validate } from "typia";

import { IRequestBodyValidator } from "../options/IRequestBodyValidator";
import { is_request_body_undefined } from "./internal/is_request_body_undefined";
Expand Down Expand Up @@ -49,11 +48,6 @@ export function TypedBody<T>(
})();
}

Object.assign(TypedBody, misc.clone);
Object.assign(TypedBody, is);
Object.assign(TypedBody, assert);
Object.assign(TypedBody, validate);

/**
* @internal
*/
Expand Down
Loading

0 comments on commit f680b21

Please sign in to comment.