@elliemae/pui-cli 8.0.0-next.1 → 8.0.0-next.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.
|
@@ -63,7 +63,8 @@ const loadRoutes = async (app) => {
|
|
|
63
63
|
routeFiles.map(async (routeFile) => {
|
|
64
64
|
const { default: init } = await import(routeFile);
|
|
65
65
|
try {
|
|
66
|
-
init
|
|
66
|
+
if (typeof init === "function")
|
|
67
|
+
init(app);
|
|
67
68
|
} catch (err) {
|
|
68
69
|
console.error(
|
|
69
70
|
`unable to load routes from ${routeFile}. ${err.message}`
|
|
@@ -30,7 +30,8 @@ const loadRoutes = async (app) => {
|
|
|
30
30
|
routeFiles.map(async (routeFile) => {
|
|
31
31
|
const { default: init } = await import(routeFile);
|
|
32
32
|
try {
|
|
33
|
-
init
|
|
33
|
+
if (typeof init === "function")
|
|
34
|
+
init(app);
|
|
34
35
|
} catch (err) {
|
|
35
36
|
console.error(
|
|
36
37
|
`unable to load routes from ${routeFile}. ${err.message}`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "8.0.0-next.
|
|
3
|
+
"version": "8.0.0-next.2",
|
|
4
4
|
"description": "ICE MT UI Platform CLI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"@commitlint/config-conventional": "~17.4.2",
|
|
88
88
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.6.0",
|
|
89
89
|
"@faker-js/faker": "7.6.0",
|
|
90
|
-
"@nrwl/cli": "15.6.
|
|
91
|
-
"@nrwl/tao": "15.6.
|
|
92
|
-
"@nrwl/workspace": "15.6.
|
|
90
|
+
"@nrwl/cli": "15.6.2",
|
|
91
|
+
"@nrwl/tao": "15.6.2",
|
|
92
|
+
"@nrwl/workspace": "15.6.2",
|
|
93
93
|
"@pmmmwh/react-refresh-webpack-plugin": "~0.5.10",
|
|
94
94
|
"@semantic-release/changelog": "~6.0.2",
|
|
95
95
|
"@semantic-release/exec": "~6.0.3",
|
|
@@ -222,7 +222,8 @@
|
|
|
222
222
|
"minimist": "~1.2.7",
|
|
223
223
|
"moment": "~2.29.4",
|
|
224
224
|
"moment-locales-webpack-plugin": "~1.2.0",
|
|
225
|
-
"msw": "~0.
|
|
225
|
+
"msw": "~1.0.0",
|
|
226
|
+
"npm-run-all": "~4.1.5",
|
|
226
227
|
"node-gyp": "~9.3.1",
|
|
227
228
|
"node-plop": "~0.31.0",
|
|
228
229
|
"nodemon": "~2.0.20",
|
|
@@ -250,7 +251,7 @@
|
|
|
250
251
|
"resize-observer-polyfill": "~1.5.1",
|
|
251
252
|
"resolve-typescript-plugin": "~2.0.0",
|
|
252
253
|
"rimraf": "~4.1.2",
|
|
253
|
-
"semantic-release": "~
|
|
254
|
+
"semantic-release": "~20.0.4",
|
|
254
255
|
"slackify-markdown": "~4.3.1",
|
|
255
256
|
"speed-measure-webpack-plugin": "~1.5.0",
|
|
256
257
|
"storybook-addon-turbo-build": "~1.1.0",
|