@rxap/plugin-nestjs 19.1.3-dev.5 → 19.1.3-dev.6
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.
- package/CHANGELOG.md +7 -0
- package/package.json +2 -2
- package/src/generators/init-application/assert-main-statements.d.ts +1 -1
- package/src/generators/init-application/assert-main-statements.js +1 -1
- package/src/generators/init-application/assert-main-statements.js.map +1 -1
- package/src/generators/swagger/files/swagger.ts__tmpl__ +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [19.1.3-dev.6](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@19.1.3-dev.5...@rxap/plugin-nestjs@19.1.3-dev.6) (2024-08-15)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- print stack on bootstrap failure ([2c01ac5](https://gitlab.com/rxap/packages/commit/2c01ac5dbd8447246be240be752107dfbdd137f4))
|
|
11
|
+
- swagger server is stopped ([6b419e9](https://gitlab.com/rxap/packages/commit/6b419e9206b0d381f28b939d1d4d3a019dc651c4))
|
|
12
|
+
|
|
6
13
|
## [19.1.3-dev.5](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@19.1.3-dev.4...@rxap/plugin-nestjs@19.1.3-dev.5) (2024-08-15)
|
|
7
14
|
|
|
8
15
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "19.1.3-dev.
|
|
2
|
+
"version": "19.1.3-dev.6",
|
|
3
3
|
"name": "@rxap/plugin-nestjs",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"dependencies": {
|
|
@@ -54,6 +54,6 @@
|
|
|
54
54
|
},
|
|
55
55
|
"schematics": "./generators.json",
|
|
56
56
|
"type": "commonjs",
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "c222fa68fda329fe854f8dc348def4d787e63e9d",
|
|
58
58
|
"main": "./src/index.js"
|
|
59
59
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SourceFile } from 'ts-morph';
|
|
2
|
-
export declare const MAIN_BOOTSTRAP_STATEMENT = "server.bootstrap().catch((e) => console.error('Server bootstrap failed: ' + e.message));";
|
|
2
|
+
export declare const MAIN_BOOTSTRAP_STATEMENT = "server.bootstrap().catch((e) => console.error('Server bootstrap failed: ' + e.message, e.stack));";
|
|
3
3
|
export declare function assertMainStatements(sourceFile: SourceFile): void;
|
|
@@ -4,7 +4,7 @@ exports.assertMainStatements = exports.MAIN_BOOTSTRAP_STATEMENT = void 0;
|
|
|
4
4
|
const ts_morph_1 = require("@rxap/ts-morph");
|
|
5
5
|
const MAIN_BOOTSTRAP_OPTIONS_STATEMENT = 'const bootstrapOptions: Partial<MonolithicBootstrapOptions> = {};';
|
|
6
6
|
const MAIN_SERVER_STATEMENT = 'const server = new Monolithic<NestApplicationOptions, RxapLogger, NestExpressApplication>(AppModule, environment, options, bootstrapOptions);';
|
|
7
|
-
exports.MAIN_BOOTSTRAP_STATEMENT = 'server.bootstrap().catch((e) => console.error(\'Server bootstrap failed: \' + e.message));';
|
|
7
|
+
exports.MAIN_BOOTSTRAP_STATEMENT = 'server.bootstrap().catch((e) => console.error(\'Server bootstrap failed: \' + e.message, e.stack));';
|
|
8
8
|
const MAIN_SETUP_HELMET_STATEMENT = 'server.after(SetupHelmet());';
|
|
9
9
|
const MAIN_SETUP_COOKIE_STATEMENT = 'server.after(SetupCookieParser());';
|
|
10
10
|
const MAIN_SETUP_CORS_STATEMENT = 'server.after(SetupCors());';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assert-main-statements.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/nestjs/src/generators/init-application/assert-main-statements.ts"],"names":[],"mappings":";;;AAAA,6CAA+C;AAG/C,MAAM,gCAAgC,GAAG,mEAAmE,CAAC;AAC7G,MAAM,qBAAqB,GAAG,+IAA+I,CAAC;AACjK,QAAA,wBAAwB,GAAG,
|
|
1
|
+
{"version":3,"file":"assert-main-statements.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/nestjs/src/generators/init-application/assert-main-statements.ts"],"names":[],"mappings":";;;AAAA,6CAA+C;AAG/C,MAAM,gCAAgC,GAAG,mEAAmE,CAAC;AAC7G,MAAM,qBAAqB,GAAG,+IAA+I,CAAC;AACjK,QAAA,wBAAwB,GAAG,qGAAqG,CAAC;AAC9I,MAAM,2BAA2B,GAAG,8BAA8B,CAAC;AACnE,MAAM,2BAA2B,GAAG,oCAAoC,CAAC;AACzE,MAAM,yBAAyB,GAAG,4BAA4B,CAAC;AAC/D,MAAM,+BAA+B,GAAG,6CAA6C,CAAC;AAEtF,SAAgB,oBAAoB,CAAC,UAAsB;;IACzD,MAAM,UAAU,GAAa,EAAE,CAAC;IAEhC,UAAU,CAAC,IAAI,CAAC,+BAA+B,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;IACnE,UAAU,CAAC,IAAI,CAAC,gCAAgC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;IACpE,UAAU,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;IAEvC,MAAM,kBAAkB,GAAG,MAAA,UAAU,CAAC,aAAa,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,mCAAI,EAAE,CAAC;IAClF,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;QACnC,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;YAC5C,OAAO,CAAC,KAAK,CAAC,2CAA4C,SAAU,EAAE,CAAC,CAAC;YACxE,UAAU,CAAC,GAAG,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