@elliemae/pui-cli 8.0.1 → 8.0.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.
|
@@ -33,6 +33,7 @@ __export(appRoutes_exports, {
|
|
|
33
33
|
module.exports = __toCommonJS(appRoutes_exports);
|
|
34
34
|
var import_node_fs = __toESM(require("node:fs"), 1);
|
|
35
35
|
var import_node_path = __toESM(require("node:path"), 1);
|
|
36
|
+
var import_node_url = require("node:url");
|
|
36
37
|
const allJS = /\.js$/;
|
|
37
38
|
const serviceEndpoints = /\.endpoint\.js$/;
|
|
38
39
|
const getFilesMatching = (filePattern) => {
|
|
@@ -61,7 +62,8 @@ const loadRoutes = async (app) => {
|
|
|
61
62
|
routeFiles.push(...getServiceEndpoints(import_node_path.default.join(process.cwd(), "lib")));
|
|
62
63
|
await Promise.all(
|
|
63
64
|
routeFiles.map(async (routeFile) => {
|
|
64
|
-
const
|
|
65
|
+
const routeFileURL = (0, import_node_url.pathToFileURL)(routeFile).href;
|
|
66
|
+
const { default: init } = await import(routeFileURL);
|
|
65
67
|
try {
|
|
66
68
|
if (typeof init === "function")
|
|
67
69
|
init(app);
|
|
@@ -151,9 +151,22 @@ const plugins = [
|
|
|
151
151
|
}),
|
|
152
152
|
new import_favicons_webpack_plugin.default({
|
|
153
153
|
outputPath: "./latest/assets",
|
|
154
|
+
prefix: "latest/assets/",
|
|
154
155
|
logo: "./app/view/images/favicon.png",
|
|
155
156
|
favicons: {
|
|
156
|
-
|
|
157
|
+
appName: "",
|
|
158
|
+
appShortName: "",
|
|
159
|
+
appDescription: "",
|
|
160
|
+
developerURL: "",
|
|
161
|
+
developerName: "ICE",
|
|
162
|
+
icons: {
|
|
163
|
+
favicons: true,
|
|
164
|
+
android: false,
|
|
165
|
+
appleIcon: false,
|
|
166
|
+
appleStartup: false,
|
|
167
|
+
windows: false,
|
|
168
|
+
yandex: false
|
|
169
|
+
}
|
|
157
170
|
}
|
|
158
171
|
})
|
|
159
172
|
];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import fs from "node:fs";
|
|
2
2
|
import path from "node:path";
|
|
3
|
+
import { pathToFileURL } from "node:url";
|
|
3
4
|
const allJS = /\.js$/;
|
|
4
5
|
const serviceEndpoints = /\.endpoint\.js$/;
|
|
5
6
|
const getFilesMatching = (filePattern) => {
|
|
@@ -28,7 +29,8 @@ const loadRoutes = async (app) => {
|
|
|
28
29
|
routeFiles.push(...getServiceEndpoints(path.join(process.cwd(), "lib")));
|
|
29
30
|
await Promise.all(
|
|
30
31
|
routeFiles.map(async (routeFile) => {
|
|
31
|
-
const
|
|
32
|
+
const routeFileURL = pathToFileURL(routeFile).href;
|
|
33
|
+
const { default: init } = await import(routeFileURL);
|
|
32
34
|
try {
|
|
33
35
|
if (typeof init === "function")
|
|
34
36
|
init(app);
|
|
@@ -124,9 +124,22 @@ const plugins = [
|
|
|
124
124
|
}),
|
|
125
125
|
new FaviconsWebpackPlugin({
|
|
126
126
|
outputPath: "./latest/assets",
|
|
127
|
+
prefix: "latest/assets/",
|
|
127
128
|
logo: "./app/view/images/favicon.png",
|
|
128
129
|
favicons: {
|
|
129
|
-
|
|
130
|
+
appName: "",
|
|
131
|
+
appShortName: "",
|
|
132
|
+
appDescription: "",
|
|
133
|
+
developerURL: "",
|
|
134
|
+
developerName: "ICE",
|
|
135
|
+
icons: {
|
|
136
|
+
favicons: true,
|
|
137
|
+
android: false,
|
|
138
|
+
appleIcon: false,
|
|
139
|
+
appleStartup: false,
|
|
140
|
+
windows: false,
|
|
141
|
+
yandex: false
|
|
142
|
+
}
|
|
130
143
|
}
|
|
131
144
|
})
|
|
132
145
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.3",
|
|
4
4
|
"description": "ICE MT UI Platform CLI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
"@commitlint/config-conventional": "~17.4.4",
|
|
95
95
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.6.0",
|
|
96
96
|
"@faker-js/faker": "7.6.0",
|
|
97
|
-
"@nrwl/cli": "15.8.
|
|
98
|
-
"@nrwl/tao": "15.8.
|
|
99
|
-
"@nrwl/workspace": "15.8.
|
|
97
|
+
"@nrwl/cli": "15.8.5",
|
|
98
|
+
"@nrwl/tao": "15.8.5",
|
|
99
|
+
"@nrwl/workspace": "15.8.5",
|
|
100
100
|
"@pmmmwh/react-refresh-webpack-plugin": "~0.5.10",
|
|
101
101
|
"@semantic-release/changelog": "~6.0.2",
|
|
102
102
|
"@semantic-release/exec": "~6.0.3",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"@stylelint/postcss-css-in-js": "~0.38.0",
|
|
116
116
|
"@svgr/webpack": "~6.5.1",
|
|
117
117
|
"@swc/cli": "~0.1.62",
|
|
118
|
-
"@swc/core": "~1.3.
|
|
118
|
+
"@swc/core": "~1.3.39",
|
|
119
119
|
"@swc/jest": "~0.2.24",
|
|
120
120
|
"@testing-library/jest-dom": "~5.16.5",
|
|
121
121
|
"@testing-library/react": "~14.0.0",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"@types/jest": "~29.4.0",
|
|
130
130
|
"@types/jest-axe": "~3.5.5",
|
|
131
131
|
"@types/moment-locales-webpack-plugin": "~1.2.3",
|
|
132
|
-
"@types/node": "~18.
|
|
132
|
+
"@types/node": "~18.15.0",
|
|
133
133
|
"@types/normalize-path": "~3.0.0",
|
|
134
134
|
"@types/postcss-preset-env": "~7.7.0",
|
|
135
135
|
"@types/rimraf": "~3.0.2",
|
|
@@ -138,11 +138,11 @@
|
|
|
138
138
|
"@types/uuid": "~9.0.1",
|
|
139
139
|
"@types/testing-library__jest-dom": "~5.14.5",
|
|
140
140
|
"@types/webpack-bundle-analyzer": "~4.6.0",
|
|
141
|
-
"@typescript-eslint/eslint-plugin": "~5.54.
|
|
142
|
-
"@typescript-eslint/parser": "~5.54.
|
|
141
|
+
"@typescript-eslint/eslint-plugin": "~5.54.1",
|
|
142
|
+
"@typescript-eslint/parser": "~5.54.1",
|
|
143
143
|
"@vitejs/plugin-react": "~3.1.0",
|
|
144
144
|
"@vitest/coverage-c8": "~0.29.2",
|
|
145
|
-
"autoprefixer": "~10.4.
|
|
145
|
+
"autoprefixer": "~10.4.14",
|
|
146
146
|
"axe-core": "~4.6.3",
|
|
147
147
|
"babel-plugin-date-fns": "~2.0.0",
|
|
148
148
|
"babel-plugin-dynamic-import-node": "~2.3.3",
|
|
@@ -172,14 +172,14 @@
|
|
|
172
172
|
"dotenv-webpack": "~8.0.1",
|
|
173
173
|
"duplicate-package-checker-webpack-plugin": "~3.0.0",
|
|
174
174
|
"enhanced-resolve": "5.12.0",
|
|
175
|
-
"esbuild": "~0.17.
|
|
175
|
+
"esbuild": "~0.17.11",
|
|
176
176
|
"esbuild-loader": "~3.0.1",
|
|
177
177
|
"esbuild-plugin-svgr": "~1.0.1",
|
|
178
|
-
"eslint": "~8.
|
|
178
|
+
"eslint": "~8.36.0",
|
|
179
179
|
"eslint-config-airbnb": "~19.0.4",
|
|
180
180
|
"eslint-config-airbnb-base": "~15.0.0",
|
|
181
181
|
"eslint-config-airbnb-typescript": "~17.0.0",
|
|
182
|
-
"eslint-config-prettier": "~8.
|
|
182
|
+
"eslint-config-prettier": "~8.7.0",
|
|
183
183
|
"eslint-config-react-app": "~7.0.1",
|
|
184
184
|
"eslint-import-resolver-babel-module": "~5.3.2",
|
|
185
185
|
"eslint-import-resolver-typescript": "~3.5.3",
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
"eslint-plugin-eslint-comments": "~3.2.0",
|
|
189
189
|
"eslint-plugin-import": "~2.27.5",
|
|
190
190
|
"eslint-plugin-jest": "~27.2.1",
|
|
191
|
-
"eslint-plugin-jsdoc": "~40.0.
|
|
191
|
+
"eslint-plugin-jsdoc": "~40.0.1",
|
|
192
192
|
"eslint-plugin-jsx-a11y": "~6.7.1",
|
|
193
193
|
"eslint-plugin-mdx": "~2.0.5",
|
|
194
194
|
"eslint-plugin-prettier": "~4.2.1",
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
"execa": "~7.0.0",
|
|
202
202
|
"express": "~4.18.2",
|
|
203
203
|
"express-static-gzip": "~2.1.7",
|
|
204
|
-
"favicons": "~7.1.
|
|
204
|
+
"favicons": "~7.1.1",
|
|
205
205
|
"favicons-webpack-plugin": "~6.0.0",
|
|
206
206
|
"fast-glob": "~3.2.12",
|
|
207
207
|
"find-up": "~6.3.0",
|
|
@@ -216,16 +216,16 @@
|
|
|
216
216
|
"imports-loader": "~4.0.1",
|
|
217
217
|
"ip": "~1.1.8",
|
|
218
218
|
"jest-axe": "~7.0.0",
|
|
219
|
-
"jest-cli": "~29.
|
|
220
|
-
"jest-environment-jsdom": "~29.
|
|
219
|
+
"jest-cli": "~29.5.0",
|
|
220
|
+
"jest-environment-jsdom": "~29.5.0",
|
|
221
221
|
"jest-sonar-reporter": "~2.0.0",
|
|
222
222
|
"jest-styled-components": "~7.1.1",
|
|
223
223
|
"jest-watch-typeahead": "~2.2.2",
|
|
224
224
|
"jscodeshift": "~0.14.0",
|
|
225
225
|
"jsdoc": "~4.0.2",
|
|
226
226
|
"lerna": "~6.5.1",
|
|
227
|
-
"lint-staged": "~13.
|
|
228
|
-
"mini-css-extract-plugin": "~2.7.
|
|
227
|
+
"lint-staged": "~13.2.0",
|
|
228
|
+
"mini-css-extract-plugin": "~2.7.3",
|
|
229
229
|
"minimist": "~1.2.8",
|
|
230
230
|
"moment": "~2.29.4",
|
|
231
231
|
"moment-locales-webpack-plugin": "~1.2.0",
|
|
@@ -233,9 +233,9 @@
|
|
|
233
233
|
"npm-run-all": "~4.1.5",
|
|
234
234
|
"node-gyp": "~9.3.1",
|
|
235
235
|
"node-plop": "~0.31.1",
|
|
236
|
-
"nodemon": "~2.0.
|
|
236
|
+
"nodemon": "~2.0.21",
|
|
237
237
|
"normalize-path": "~3.0.0",
|
|
238
|
-
"npm-check-updates": "16.7.
|
|
238
|
+
"npm-check-updates": "16.7.12",
|
|
239
239
|
"pino": "~8.11.0",
|
|
240
240
|
"pino-http": "~8.3.3",
|
|
241
241
|
"pino-pretty": "~9.4.0",
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
"react-test-renderer": "~18.2.0",
|
|
258
258
|
"resize-observer-polyfill": "~1.5.1",
|
|
259
259
|
"resolve-typescript-plugin": "~2.0.0",
|
|
260
|
-
"rimraf": "~4.
|
|
260
|
+
"rimraf": "~4.4.0",
|
|
261
261
|
"semantic-release": "~20.1.1",
|
|
262
262
|
"slackify-markdown": "~4.3.1",
|
|
263
263
|
"speed-measure-webpack-plugin": "~1.5.0",
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
"supertest": "~6.3.3",
|
|
271
271
|
"swc-loader": "~0.2.3",
|
|
272
272
|
"ts-node": "~10.9.1",
|
|
273
|
-
"tsc-alias": "~1.8.
|
|
273
|
+
"tsc-alias": "~1.8.3",
|
|
274
274
|
"typedoc": "~0.23.26",
|
|
275
275
|
"typescript": "~4.9.5",
|
|
276
276
|
"update-notifier": "~6.0.2",
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
"vite": "~4.1.4",
|
|
280
280
|
"vitest": "~0.29.2",
|
|
281
281
|
"vite-tsconfig-paths": "~4.0.5",
|
|
282
|
-
"webpack": "~5.
|
|
282
|
+
"webpack": "~5.76.1",
|
|
283
283
|
"webpack-bundle-analyzer": "~4.8.0",
|
|
284
284
|
"webpack-cli": "~5.0.1",
|
|
285
285
|
"webpack-dev-server": "~4.11.1",
|
|
@@ -295,6 +295,6 @@
|
|
|
295
295
|
"react-dom": "~18.2.0",
|
|
296
296
|
"redux": "~4.2.1",
|
|
297
297
|
"redux-saga": "~1.2.2",
|
|
298
|
-
"styled-components": "~5.3.
|
|
298
|
+
"styled-components": "~5.3.8"
|
|
299
299
|
}
|
|
300
300
|
}
|