@nestia/core 3.2.2-dev.20240617 → 3.2.3-dev.20240620-2
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.
|
@@ -5,7 +5,11 @@ exports.NoTransformConfigureError = void 0;
|
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
function NoTransformConfigureError(method) {
|
|
8
|
-
return new Error(
|
|
8
|
+
return new Error([
|
|
9
|
+
`Error on nestia.core.${method}(): no transform has been configured.`,
|
|
10
|
+
`Run "npx typia setup" command, or check if you're using non-standard TypeScript compiler like Babel or SWC.`,
|
|
11
|
+
`Otherwise you're running "npx nestia sdk/swagger" or similar, run "npx tsc" command to find the reason why.`,
|
|
12
|
+
].join(" "));
|
|
9
13
|
}
|
|
10
14
|
exports.NoTransformConfigureError = NoTransformConfigureError;
|
|
11
15
|
//# sourceMappingURL=NoTransformConfigureError.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NoTransformConfigureError.js","sourceRoot":"","sources":["../../../src/decorators/internal/NoTransformConfigureError.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,SAAgB,yBAAyB,CAAC,MAAc;IACtD,OAAO,IAAI,KAAK,CACd,wBAAwB,MAAM,
|
|
1
|
+
{"version":3,"file":"NoTransformConfigureError.js","sourceRoot":"","sources":["../../../src/decorators/internal/NoTransformConfigureError.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,SAAgB,yBAAyB,CAAC,MAAc;IACtD,OAAO,IAAI,KAAK,CACd;QACE,wBAAwB,MAAM,uCAAuC;QACrE,6GAA6G;QAC7G,6GAA6G;KAC9G,CAAC,IAAI,CAAC,GAAG,CAAC,CACZ,CAAC;AACJ,CAAC;AARD,8DAQC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestia/core",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.3-dev.20240620-2",
|
|
4
4
|
"description": "Super-fast validation decorators of NestJS",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"homepage": "https://nestia.io",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@nestia/fetcher": "^3.2.
|
|
39
|
+
"@nestia/fetcher": "^3.2.3-dev.20240620-2",
|
|
40
40
|
"@nestjs/common": ">=7.0.1",
|
|
41
41
|
"@nestjs/core": ">=7.0.1",
|
|
42
42
|
"@samchon/openapi": "^0.1.21",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"ws": "^7.5.3"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@nestia/fetcher": ">=3.2.
|
|
56
|
+
"@nestia/fetcher": ">=3.2.3-dev.20240620-2",
|
|
57
57
|
"@nestjs/common": ">=7.0.1",
|
|
58
58
|
"@nestjs/core": ">=7.0.1",
|
|
59
59
|
"reflect-metadata": ">=0.1.12",
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export function NoTransformConfigureError(method: string): Error {
|
|
5
5
|
return new Error(
|
|
6
|
-
|
|
6
|
+
[
|
|
7
|
+
`Error on nestia.core.${method}(): no transform has been configured.`,
|
|
8
|
+
`Run "npx typia setup" command, or check if you're using non-standard TypeScript compiler like Babel or SWC.`,
|
|
9
|
+
`Otherwise you're running "npx nestia sdk/swagger" or similar, run "npx tsc" command to find the reason why.`,
|
|
10
|
+
].join(" "),
|
|
7
11
|
);
|
|
8
12
|
}
|