@elliemae/pui-cli 8.0.0-next.1 → 8.0.0-next.3
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/app.tsconfig.json +23 -0
- package/dist/cjs/server/appRoutes.js +2 -1
- package/dist/esm/server/appRoutes.js +2 -1
- package/library.tsconfig.json +23 -0
- package/package.json +13 -10
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": ["dom", "dom.iterable", "esnext"],
|
|
4
|
+
"module": "esnext",
|
|
5
|
+
"target": "es2015",
|
|
6
|
+
"allowJs": true,
|
|
7
|
+
"allowSyntheticDefaultImports": true,
|
|
8
|
+
"esModuleInterop": true,
|
|
9
|
+
"forceConsistentCasingInFileNames": true,
|
|
10
|
+
"isolatedModules": true,
|
|
11
|
+
"jsx": "react-jsx",
|
|
12
|
+
"moduleResolution": "node",
|
|
13
|
+
"noEmit": true,
|
|
14
|
+
"noFallthroughCasesInSwitch": true,
|
|
15
|
+
"resolveJsonModule": true,
|
|
16
|
+
"skipLibCheck": true,
|
|
17
|
+
"strict": true,
|
|
18
|
+
"preserveConstEnums": true,
|
|
19
|
+
"sourceMap": true
|
|
20
|
+
},
|
|
21
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
22
|
+
"display": "pui-cli app"
|
|
23
|
+
}
|
|
@@ -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}`
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": ["dom", "dom.iterable", "es2022"],
|
|
4
|
+
"moduleResolution": "node",
|
|
5
|
+
"target": "es2022",
|
|
6
|
+
"module": "es2022",
|
|
7
|
+
"allowJs": true,
|
|
8
|
+
"allowSyntheticDefaultImports": true,
|
|
9
|
+
"strict": true,
|
|
10
|
+
"esModuleInterop": true,
|
|
11
|
+
"skipLibCheck": true,
|
|
12
|
+
"jsx": "react-jsx",
|
|
13
|
+
"noFallthroughCasesInSwitch": true,
|
|
14
|
+
"resolveJsonModule": true,
|
|
15
|
+
"forceConsistentCasingInFileNames": true,
|
|
16
|
+
"preserveConstEnums": true,
|
|
17
|
+
"sourceMap": true,
|
|
18
|
+
"declaration": true,
|
|
19
|
+
"emitDeclarationOnly": true
|
|
20
|
+
},
|
|
21
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
22
|
+
"display": "pui-cli library"
|
|
23
|
+
}
|
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.3",
|
|
4
4
|
"description": "ICE MT UI Platform CLI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -23,7 +23,9 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
|
-
"dist"
|
|
26
|
+
"dist",
|
|
27
|
+
"./app.tsconfig.json",
|
|
28
|
+
"./library.tsconfig.json"
|
|
27
29
|
],
|
|
28
30
|
"publishConfig": {
|
|
29
31
|
"access": "public"
|
|
@@ -87,9 +89,9 @@
|
|
|
87
89
|
"@commitlint/config-conventional": "~17.4.2",
|
|
88
90
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.6.0",
|
|
89
91
|
"@faker-js/faker": "7.6.0",
|
|
90
|
-
"@nrwl/cli": "15.6.
|
|
91
|
-
"@nrwl/tao": "15.6.
|
|
92
|
-
"@nrwl/workspace": "15.6.
|
|
92
|
+
"@nrwl/cli": "15.6.2",
|
|
93
|
+
"@nrwl/tao": "15.6.2",
|
|
94
|
+
"@nrwl/workspace": "15.6.2",
|
|
93
95
|
"@pmmmwh/react-refresh-webpack-plugin": "~0.5.10",
|
|
94
96
|
"@semantic-release/changelog": "~6.0.2",
|
|
95
97
|
"@semantic-release/exec": "~6.0.3",
|
|
@@ -119,7 +121,7 @@
|
|
|
119
121
|
"@types/compression": "~1.7.2",
|
|
120
122
|
"@types/duplicate-package-checker-webpack-plugin": "~2.1.2",
|
|
121
123
|
"@types/ip": "~1.1.0",
|
|
122
|
-
"@types/jest": "~29.
|
|
124
|
+
"@types/jest": "~29.4.0",
|
|
123
125
|
"@types/jest-axe": "~3.5.5",
|
|
124
126
|
"@types/moment-locales-webpack-plugin": "~1.2.3",
|
|
125
127
|
"@types/node": "~18.11.18",
|
|
@@ -134,7 +136,7 @@
|
|
|
134
136
|
"@typescript-eslint/eslint-plugin": "~5.49.0",
|
|
135
137
|
"@typescript-eslint/parser": "~5.49.0",
|
|
136
138
|
"@vitejs/plugin-react": "~3.0.1",
|
|
137
|
-
"@vitest/coverage-c8": "~0.28.
|
|
139
|
+
"@vitest/coverage-c8": "~0.28.2",
|
|
138
140
|
"autoprefixer": "~10.4.13",
|
|
139
141
|
"axe-core": "~4.6.3",
|
|
140
142
|
"babel-plugin-date-fns": "~2.0.0",
|
|
@@ -222,7 +224,8 @@
|
|
|
222
224
|
"minimist": "~1.2.7",
|
|
223
225
|
"moment": "~2.29.4",
|
|
224
226
|
"moment-locales-webpack-plugin": "~1.2.0",
|
|
225
|
-
"msw": "~0.
|
|
227
|
+
"msw": "~1.0.0",
|
|
228
|
+
"npm-run-all": "~4.1.5",
|
|
226
229
|
"node-gyp": "~9.3.1",
|
|
227
230
|
"node-plop": "~0.31.0",
|
|
228
231
|
"nodemon": "~2.0.20",
|
|
@@ -250,7 +253,7 @@
|
|
|
250
253
|
"resize-observer-polyfill": "~1.5.1",
|
|
251
254
|
"resolve-typescript-plugin": "~2.0.0",
|
|
252
255
|
"rimraf": "~4.1.2",
|
|
253
|
-
"semantic-release": "~
|
|
256
|
+
"semantic-release": "~20.1.0",
|
|
254
257
|
"slackify-markdown": "~4.3.1",
|
|
255
258
|
"speed-measure-webpack-plugin": "~1.5.0",
|
|
256
259
|
"storybook-addon-turbo-build": "~1.1.0",
|
|
@@ -269,7 +272,7 @@
|
|
|
269
272
|
"url-loader": "~4.1.1",
|
|
270
273
|
"uuid": "~9.0.0",
|
|
271
274
|
"vite": "~4.0.4",
|
|
272
|
-
"vitest": "~0.28.
|
|
275
|
+
"vitest": "~0.28.2",
|
|
273
276
|
"vite-tsconfig-paths": "~4.0.5",
|
|
274
277
|
"webpack": "~5.75.0",
|
|
275
278
|
"webpack-bundle-analyzer": "~4.7.0",
|