tsgonest 0.4.2 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/migrate.cjs +5 -7
  2. package/package.json +9 -9
package/bin/migrate.cjs CHANGED
@@ -175855,8 +175855,8 @@ function transformNestia(file, report) {
175855
175855
  arguments: ["FormDataInterceptor"]
175856
175856
  });
175857
175857
  }
175858
+ nestiaImport.remove();
175858
175859
  if (count > 0) {
175859
- nestiaImport.remove();
175860
175860
  if (neededCommonImports.size > 0) {
175861
175861
  const commonImport = file.getImportDeclaration((d) => d.getModuleSpecifierValue() === "@nestjs/common");
175862
175862
  if (commonImport) {
@@ -176906,8 +176906,10 @@ const NESTIA_DEPS = [
176906
176906
  "@nestia/sdk",
176907
176907
  "@nestia/e2e",
176908
176908
  "@nestia/fetcher",
176909
+ "@nestia/benchmark",
176909
176910
  "nestia",
176910
- "typia"
176911
+ "typia",
176912
+ "ts-patch"
176911
176913
  ];
176912
176914
  /** Packages to remove when migrating from class-validator/class-transformer. */
176913
176915
  const CLASS_DEPS = ["class-validator", "class-transformer"];
@@ -177114,11 +177116,7 @@ function parseArgs(argv) {
177114
177116
  process.exit(0);
177115
177117
  }
177116
177118
  }
177117
- if (opts.include.length === 0) opts.include = [
177118
- "src/**/*.controller.ts",
177119
- "src/**/*.dto.ts",
177120
- "src/**/main.ts"
177121
- ];
177119
+ if (opts.include.length === 0) opts.include = ["src/**/*.ts"];
177122
177120
  return opts;
177123
177121
  }
177124
177122
  function printHelp() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsgonest",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "TypeScript compiler with runtime validation, serialization, and OpenAPI generation for NestJS",
5
5
  "keywords": [
6
6
  "typescript",
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "jsonc-parser": "^3.3.1",
35
- "@tsgonest/runtime": "0.4.2",
36
- "@tsgonest/types": "0.4.2"
35
+ "@tsgonest/runtime": "0.4.4",
36
+ "@tsgonest/types": "0.4.4"
37
37
  },
38
38
  "devDependencies": {
39
39
  "ts-morph": "^25.0.0",
@@ -42,12 +42,12 @@
42
42
  "vitest": "^4.0.0"
43
43
  },
44
44
  "optionalDependencies": {
45
- "@tsgonest/cli-darwin-x64": "0.4.2",
46
- "@tsgonest/cli-darwin-arm64": "0.4.2",
47
- "@tsgonest/cli-linux-arm64": "0.4.2",
48
- "@tsgonest/cli-linux-x64": "0.4.2",
49
- "@tsgonest/cli-win32-arm64": "0.4.2",
50
- "@tsgonest/cli-win32-x64": "0.4.2"
45
+ "@tsgonest/cli-darwin-arm64": "0.4.4",
46
+ "@tsgonest/cli-darwin-x64": "0.4.4",
47
+ "@tsgonest/cli-linux-arm64": "0.4.4",
48
+ "@tsgonest/cli-linux-x64": "0.4.4",
49
+ "@tsgonest/cli-win32-arm64": "0.4.4",
50
+ "@tsgonest/cli-win32-x64": "0.4.4"
51
51
  },
52
52
  "scripts": {
53
53
  "build": "tsdown",