@nattyjs/core 0.0.1-beta.0 → 0.0.1-beta.10
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/dist/index.cjs +2 -3
- package/dist/index.d.ts +1 -3
- package/dist/index.mjs +2 -3
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -117,12 +117,11 @@ function init(config, appConfig) {
|
|
|
117
117
|
common.commonContainer.setupConfig(config);
|
|
118
118
|
common.commonContainer.setEnvTsDefinition(appConfig.envTsDefinition);
|
|
119
119
|
nattyContainer.setup(config, appConfig.routes, appConfig.types);
|
|
120
|
-
initializeModule(config);
|
|
121
|
-
return appConfig.routes;
|
|
120
|
+
return initializeModule(config);
|
|
122
121
|
}
|
|
123
122
|
function initializeModule(config) {
|
|
124
123
|
if (config.app) {
|
|
125
|
-
config.app.init(config);
|
|
124
|
+
return config.app.init(config);
|
|
126
125
|
}
|
|
127
126
|
}
|
|
128
127
|
|
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -115,12 +115,11 @@ function init(config, appConfig) {
|
|
|
115
115
|
commonContainer.setupConfig(config);
|
|
116
116
|
commonContainer.setEnvTsDefinition(appConfig.envTsDefinition);
|
|
117
117
|
nattyContainer.setup(config, appConfig.routes, appConfig.types);
|
|
118
|
-
initializeModule(config);
|
|
119
|
-
return appConfig.routes;
|
|
118
|
+
return initializeModule(config);
|
|
120
119
|
}
|
|
121
120
|
function initializeModule(config) {
|
|
122
121
|
if (config.app) {
|
|
123
|
-
config.app.init(config);
|
|
122
|
+
return config.app.init(config);
|
|
124
123
|
}
|
|
125
124
|
}
|
|
126
125
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nattyjs/core",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "ajayojha",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"tsyringe": "^4.7.0",
|
|
19
19
|
"path-to-regexp": "6.2.1",
|
|
20
|
-
"@nattyjs/common": "0.0.1-beta.
|
|
20
|
+
"@nattyjs/common": "0.0.1-beta.10"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"unbuild": "1.2.1"
|