@elliemae/pui-cli 5.16.0 → 5.17.1
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/lib/cli-commands/lint.js
CHANGED
|
@@ -19,7 +19,8 @@ async function lintJS(fix = false) {
|
|
|
19
19
|
async function handler(argv) {
|
|
20
20
|
if (argv.js) {
|
|
21
21
|
// run typescript compilation
|
|
22
|
-
if (isTypeScriptEnabled())
|
|
22
|
+
if (isTypeScriptEnabled())
|
|
23
|
+
await exec('tsc --noEmit --emitDeclarationOnly false');
|
|
23
24
|
try {
|
|
24
25
|
await exec('rimraf ./reports/eslint.json');
|
|
25
26
|
await lintJS(argv.fix);
|
package/lib/server/csp.js
CHANGED
|
@@ -127,7 +127,21 @@ module.exports = (options) => ({
|
|
|
127
127
|
{
|
|
128
128
|
test: /\.exec\.js$/,
|
|
129
129
|
exclude: /node_modules/,
|
|
130
|
-
use: [
|
|
130
|
+
use: [
|
|
131
|
+
{
|
|
132
|
+
loader: 'imports-loader',
|
|
133
|
+
options: {
|
|
134
|
+
wrapper: {
|
|
135
|
+
thisArg: 'window',
|
|
136
|
+
args: {
|
|
137
|
+
module: false,
|
|
138
|
+
exports: false,
|
|
139
|
+
define: false,
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
],
|
|
131
145
|
},
|
|
132
146
|
{
|
|
133
147
|
test: /\.css$/,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.17.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "EllieMae Platform UI CLI",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@commitlint/cli": "~15.0.0",
|
|
67
67
|
"@commitlint/config-conventional": "~15.0.0",
|
|
68
68
|
"@elliemae/browserslist-config-elliemae": "~1.2.1",
|
|
69
|
-
"@pmmmwh/react-refresh-webpack-plugin": "~0.5.
|
|
69
|
+
"@pmmmwh/react-refresh-webpack-plugin": "~0.5.2",
|
|
70
70
|
"@semantic-release/changelog": "~6.0.1",
|
|
71
71
|
"@semantic-release/exec": "~6.0.2",
|
|
72
72
|
"@semantic-release/git": "~10.0.1",
|
|
@@ -89,11 +89,11 @@
|
|
|
89
89
|
"@storybook/theming": "~6.3.12",
|
|
90
90
|
"@stylelint/postcss-css-in-js": "~0.37.2",
|
|
91
91
|
"@svgr/webpack": "~5.5.0",
|
|
92
|
-
"@testing-library/jest-dom": "~5.15.
|
|
92
|
+
"@testing-library/jest-dom": "~5.15.1",
|
|
93
93
|
"@testing-library/react": "~12.1.2",
|
|
94
94
|
"@testing-library/react-hooks": "~7.0.2",
|
|
95
|
-
"@types/jest": "~27.0.
|
|
96
|
-
"@types/node": "~16.11.
|
|
95
|
+
"@types/jest": "~27.0.3",
|
|
96
|
+
"@types/node": "~16.11.9",
|
|
97
97
|
"@types/rimraf": "~3.0.2",
|
|
98
98
|
"@types/testing-library__jest-dom": "~5.14.1",
|
|
99
99
|
"@typescript-eslint/eslint-plugin": "~5.4.0",
|
|
@@ -131,33 +131,33 @@
|
|
|
131
131
|
"dotenv": "~10.0.0",
|
|
132
132
|
"dotenv-webpack": "~7.0.3",
|
|
133
133
|
"duplicate-package-checker-webpack-plugin": "~3.0.0",
|
|
134
|
-
"eslint": "~8.
|
|
135
|
-
"eslint-config-airbnb": "~
|
|
134
|
+
"eslint": "~8.3.0",
|
|
135
|
+
"eslint-config-airbnb": "~18.2.1",
|
|
136
136
|
"eslint-config-airbnb-base": "~15.0.0",
|
|
137
|
-
"eslint-config-airbnb-typescript": "~
|
|
137
|
+
"eslint-config-airbnb-typescript": "~15.0.0",
|
|
138
138
|
"eslint-config-prettier": "~8.3.0",
|
|
139
139
|
"eslint-config-react-app": "~6.0.0",
|
|
140
140
|
"eslint-import-resolver-babel-module": "~5.3.1",
|
|
141
141
|
"eslint-import-resolver-typescript": "~2.5.0",
|
|
142
142
|
"eslint-import-resolver-webpack": "~0.13.2",
|
|
143
|
-
"eslint-plugin-compat": "~
|
|
143
|
+
"eslint-plugin-compat": "~3.13.0",
|
|
144
144
|
"eslint-plugin-eslint-comments": "~3.2.0",
|
|
145
145
|
"eslint-plugin-import": "~2.25.3",
|
|
146
|
-
"eslint-plugin-jest": "~25.
|
|
146
|
+
"eslint-plugin-jest": "~25.3.0",
|
|
147
147
|
"eslint-plugin-jsdoc": "~37.0.3",
|
|
148
148
|
"eslint-plugin-jsx-a11y": "~6.5.1",
|
|
149
149
|
"eslint-plugin-mdx": "~1.16.0",
|
|
150
150
|
"eslint-plugin-prettier": "~4.0.0",
|
|
151
|
-
"eslint-plugin-react": "~7.27.
|
|
151
|
+
"eslint-plugin-react": "~7.27.1",
|
|
152
152
|
"eslint-plugin-react-hooks": "~4.3.0",
|
|
153
153
|
"eslint-plugin-redux-saga": "~1.2.1",
|
|
154
154
|
"eslint-plugin-testing-library": "~5.0.0",
|
|
155
155
|
"eslint-plugin-wdio": "~7.4.2",
|
|
156
156
|
"execa": "~5.1.1",
|
|
157
157
|
"express": "~4.17.1",
|
|
158
|
-
"express-pino-logger": "~
|
|
158
|
+
"express-pino-logger": "~7.0.0",
|
|
159
159
|
"file-loader": "~6.2.0",
|
|
160
|
-
"fork-ts-checker-webpack-plugin": "~6.4.
|
|
160
|
+
"fork-ts-checker-webpack-plugin": "~6.4.2",
|
|
161
161
|
"helmet-csp": "~3.4.0",
|
|
162
162
|
"html-loader": "~3.0.1",
|
|
163
163
|
"html-webpack-plugin": "~5.5.0",
|
|
@@ -165,19 +165,15 @@
|
|
|
165
165
|
"husky": "~7.0.4",
|
|
166
166
|
"husky-init": "~7.0.0",
|
|
167
167
|
"image-webpack-loader": "~8.0.1",
|
|
168
|
-
"imagemin-gifsicle": "~7.0.0",
|
|
169
|
-
"imagemin-jpegtran": "~7.0.0",
|
|
170
|
-
"imagemin-optipng": "~8.0.0",
|
|
171
|
-
"imagemin-svgo": "~10.0.0",
|
|
172
168
|
"imports-loader": "~3.1.1",
|
|
173
169
|
"ip": "~1.1.5",
|
|
174
170
|
"jest-axe": "~5.0.1",
|
|
175
171
|
"jest-cli": "~27.3.1",
|
|
176
172
|
"jest-sonar-reporter": "~2.0.0",
|
|
177
|
-
"jest-styled-components": "~7.0.
|
|
173
|
+
"jest-styled-components": "~7.0.8",
|
|
178
174
|
"jscodeshift": "~0.13.0",
|
|
179
175
|
"jsdoc": "~3.6.7",
|
|
180
|
-
"lint-staged": "~12.
|
|
176
|
+
"lint-staged": "~12.1.2",
|
|
181
177
|
"mini-css-extract-plugin": "~2.4.5",
|
|
182
178
|
"minimist": "~1.2.5",
|
|
183
179
|
"moment": "~2.29.1",
|
|
@@ -187,7 +183,7 @@
|
|
|
187
183
|
"nodemon": "~2.0.15",
|
|
188
184
|
"npm-check-updates": "12.0.2",
|
|
189
185
|
"null-loader": "~4.0.1",
|
|
190
|
-
"pino": "~7.
|
|
186
|
+
"pino": "~7.4.0",
|
|
191
187
|
"pino-pretty": "~7.2.0",
|
|
192
188
|
"pinst": "~2.1.6",
|
|
193
189
|
"plop": "~2.7.6",
|
|
@@ -197,7 +193,7 @@
|
|
|
197
193
|
"postcss-markdown": "~1.1.0",
|
|
198
194
|
"postcss-syntax": "~0.36.2",
|
|
199
195
|
"postcss-loader": "~6.2.0",
|
|
200
|
-
"postcss-preset-env": "~7.0.
|
|
196
|
+
"postcss-preset-env": "~7.0.1",
|
|
201
197
|
"prettier": "~2.4.1",
|
|
202
198
|
"pug": "~3.0.2",
|
|
203
199
|
"pug-loader": "~2.4.0",
|
|
@@ -225,15 +221,15 @@
|
|
|
225
221
|
"terser-webpack-plugin": "~5.2.5",
|
|
226
222
|
"ts-node": "~10.4.0",
|
|
227
223
|
"tsc-alias": "~1.4.1",
|
|
228
|
-
"tsc-files": "~1.1.
|
|
229
|
-
"tsconfig-paths": "~3.
|
|
224
|
+
"tsc-files": "~1.1.3",
|
|
225
|
+
"tsconfig-paths": "~3.12.0",
|
|
230
226
|
"tsconfig-paths-webpack-plugin": "~3.5.2",
|
|
231
|
-
"type-fest": "~2.
|
|
232
|
-
"typescript": "~4.
|
|
227
|
+
"type-fest": "~2.6.0",
|
|
228
|
+
"typescript": "~4.5.2",
|
|
233
229
|
"update-notifier": "~5.1.0",
|
|
234
230
|
"url-loader": "~4.1.1",
|
|
235
231
|
"uuid": "~8.3.2",
|
|
236
|
-
"webpack": "~5.64.
|
|
232
|
+
"webpack": "~5.64.2",
|
|
237
233
|
"webpack-bundle-analyzer": "~4.5.0",
|
|
238
234
|
"webpack-cli": "~4.9.1",
|
|
239
235
|
"webpack-dev-middleware": "~5.2.2",
|