@elliemae/pui-cli 5.17.1 → 5.19.0
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable max-lines */
|
|
1
2
|
const webpack = require('webpack');
|
|
2
3
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
3
4
|
const PostcssPresetEnv = require('postcss-preset-env');
|
|
@@ -120,10 +121,19 @@ module.exports = (options) => ({
|
|
|
120
121
|
module: {
|
|
121
122
|
rules: [
|
|
122
123
|
{
|
|
123
|
-
test: /\.(jpe?g|png|gif|ico
|
|
124
|
-
|
|
124
|
+
test: /\.(jpe?g|png|gif|svg|ico)$/,
|
|
125
|
+
use: [
|
|
126
|
+
'file-loader',
|
|
127
|
+
{
|
|
128
|
+
loader: 'image-webpack-loader',
|
|
129
|
+
options: {
|
|
130
|
+
gifsicle: {
|
|
131
|
+
enabled: false,
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
],
|
|
125
136
|
enforce: 'pre',
|
|
126
|
-
// eslint-disable-next-line max-lines
|
|
127
137
|
},
|
|
128
138
|
{
|
|
129
139
|
test: /\.(js|ts|jsx|tsx)$/,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable max-lines */
|
|
1
2
|
const path = require('path');
|
|
2
3
|
const webpack = require('webpack');
|
|
3
4
|
const {
|
|
@@ -10,6 +11,7 @@ const DuplicatePackageCheckerPlugin = require('duplicate-package-checker-webpack
|
|
|
10
11
|
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
|
|
11
12
|
const MomentLocalesPlugin = require('moment-locales-webpack-plugin');
|
|
12
13
|
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
|
|
14
|
+
const ResolveTypeScriptPlugin = require('resolve-typescript-plugin').default;
|
|
13
15
|
|
|
14
16
|
const {
|
|
15
17
|
excludeNodeModulesExcept,
|
|
@@ -87,8 +89,18 @@ module.exports = (options) => ({
|
|
|
87
89
|
module: {
|
|
88
90
|
rules: [
|
|
89
91
|
{
|
|
90
|
-
test: /\.(jpe?g|png|gif|ico
|
|
91
|
-
|
|
92
|
+
test: /\.(jpe?g|png|gif|svg|ico)$/,
|
|
93
|
+
use: [
|
|
94
|
+
'file-loader',
|
|
95
|
+
{
|
|
96
|
+
loader: 'image-webpack-loader',
|
|
97
|
+
options: {
|
|
98
|
+
gifsicle: {
|
|
99
|
+
enabled: false,
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
],
|
|
92
104
|
enforce: 'pre',
|
|
93
105
|
},
|
|
94
106
|
{
|
|
@@ -118,7 +130,6 @@ module.exports = (options) => ({
|
|
|
118
130
|
loader: 'babel-loader',
|
|
119
131
|
options: {
|
|
120
132
|
cacheDirectory: true,
|
|
121
|
-
// eslint-disable-next-line max-lines
|
|
122
133
|
compact: !devMode,
|
|
123
134
|
...(options.babelQuery || {}),
|
|
124
135
|
},
|
|
@@ -221,6 +232,7 @@ module.exports = (options) => ({
|
|
|
221
232
|
...getAlias(),
|
|
222
233
|
...((options.resolve || {}).alias || {}),
|
|
223
234
|
},
|
|
235
|
+
plugins: [new ResolveTypeScriptPlugin()],
|
|
224
236
|
},
|
|
225
237
|
externals: {
|
|
226
238
|
'@elliemae/pui-user-monitoring': 'emuiUserMonitoring',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable max-lines */
|
|
1
2
|
const webpack = require('webpack');
|
|
2
3
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
3
4
|
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
|
@@ -59,8 +60,18 @@ const compressionPlugin = new CompressionPlugin({
|
|
|
59
60
|
|
|
60
61
|
const getModulePreRules = () => [
|
|
61
62
|
{
|
|
62
|
-
test: /\.(jpe?g|png|gif|ico
|
|
63
|
-
|
|
63
|
+
test: /\.(jpe?g|png|gif|svg|ico)$/,
|
|
64
|
+
use: [
|
|
65
|
+
'file-loader',
|
|
66
|
+
{
|
|
67
|
+
loader: 'image-webpack-loader',
|
|
68
|
+
options: {
|
|
69
|
+
gifsicle: {
|
|
70
|
+
enabled: false,
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
],
|
|
64
75
|
enforce: 'pre',
|
|
65
76
|
},
|
|
66
77
|
{
|
|
@@ -119,7 +130,6 @@ const getModuleRules = () => [
|
|
|
119
130
|
{
|
|
120
131
|
test: /\.(jpe?g|png|gif)$/i,
|
|
121
132
|
exclude: excludeNodeModulesExcept(['@elliemae/*']),
|
|
122
|
-
// eslint-disable-next-line max-lines
|
|
123
133
|
type: 'asset',
|
|
124
134
|
},
|
|
125
135
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.19.0",
|
|
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.3",
|
|
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,15 +89,15 @@
|
|
|
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.
|
|
92
|
+
"@testing-library/jest-dom": "~5.16.0",
|
|
93
93
|
"@testing-library/react": "~12.1.2",
|
|
94
94
|
"@testing-library/react-hooks": "~7.0.2",
|
|
95
95
|
"@types/jest": "~27.0.3",
|
|
96
|
-
"@types/node": "~16.11.
|
|
96
|
+
"@types/node": "~16.11.11",
|
|
97
97
|
"@types/rimraf": "~3.0.2",
|
|
98
|
-
"@types/testing-library__jest-dom": "~5.14.
|
|
99
|
-
"@typescript-eslint/eslint-plugin": "~5.
|
|
100
|
-
"@typescript-eslint/parser": "~5.
|
|
98
|
+
"@types/testing-library__jest-dom": "~5.14.2",
|
|
99
|
+
"@typescript-eslint/eslint-plugin": "~5.5.0",
|
|
100
|
+
"@typescript-eslint/parser": "~5.5.0",
|
|
101
101
|
"autoprefixer": "~10.4.0",
|
|
102
102
|
"axe-core": "~4.3.5",
|
|
103
103
|
"babel-loader": "~8.2.3",
|
|
@@ -107,7 +107,8 @@
|
|
|
107
107
|
"babel-plugin-import-remove-resource-query": "~1.0.0",
|
|
108
108
|
"babel-plugin-lodash": "~3.3.4",
|
|
109
109
|
"babel-plugin-module-resolver": "~4.1.0",
|
|
110
|
-
"babel-plugin-
|
|
110
|
+
"babel-plugin-source-map-support": "~2.1.3",
|
|
111
|
+
"babel-plugin-styled-components": "~2.0.2",
|
|
111
112
|
"babel-plugin-transform-react-remove-prop-types": "~0.4.24",
|
|
112
113
|
"babel-plugin-transform-remove-console": "~6.9.4",
|
|
113
114
|
"babel-plugin-transform-strip-block": "~0.0.4",
|
|
@@ -125,13 +126,13 @@
|
|
|
125
126
|
"cors": "~2.8.5",
|
|
126
127
|
"cross-env": "~7.0.3",
|
|
127
128
|
"css-loader": "~6.5.1",
|
|
128
|
-
"css-minimizer-webpack-plugin": "~3.
|
|
129
|
+
"css-minimizer-webpack-plugin": "~3.2.0",
|
|
129
130
|
"depcheck": "~1.4.2",
|
|
130
131
|
"docdash": "~1.2.0",
|
|
131
132
|
"dotenv": "~10.0.0",
|
|
132
133
|
"dotenv-webpack": "~7.0.3",
|
|
133
134
|
"duplicate-package-checker-webpack-plugin": "~3.0.0",
|
|
134
|
-
"eslint": "~8.
|
|
135
|
+
"eslint": "~8.4.0",
|
|
135
136
|
"eslint-config-airbnb": "~18.2.1",
|
|
136
137
|
"eslint-config-airbnb-base": "~15.0.0",
|
|
137
138
|
"eslint-config-airbnb-typescript": "~15.0.0",
|
|
@@ -144,20 +145,20 @@
|
|
|
144
145
|
"eslint-plugin-eslint-comments": "~3.2.0",
|
|
145
146
|
"eslint-plugin-import": "~2.25.3",
|
|
146
147
|
"eslint-plugin-jest": "~25.3.0",
|
|
147
|
-
"eslint-plugin-jsdoc": "~37.0
|
|
148
|
+
"eslint-plugin-jsdoc": "~37.1.0",
|
|
148
149
|
"eslint-plugin-jsx-a11y": "~6.5.1",
|
|
149
150
|
"eslint-plugin-mdx": "~1.16.0",
|
|
150
151
|
"eslint-plugin-prettier": "~4.0.0",
|
|
151
152
|
"eslint-plugin-react": "~7.27.1",
|
|
152
153
|
"eslint-plugin-react-hooks": "~4.3.0",
|
|
153
154
|
"eslint-plugin-redux-saga": "~1.2.1",
|
|
154
|
-
"eslint-plugin-testing-library": "~5.0.
|
|
155
|
+
"eslint-plugin-testing-library": "~5.0.1",
|
|
155
156
|
"eslint-plugin-wdio": "~7.4.2",
|
|
156
157
|
"execa": "~5.1.1",
|
|
157
158
|
"express": "~4.17.1",
|
|
158
159
|
"express-pino-logger": "~7.0.0",
|
|
159
160
|
"file-loader": "~6.2.0",
|
|
160
|
-
"fork-ts-checker-webpack-plugin": "~6.
|
|
161
|
+
"fork-ts-checker-webpack-plugin": "~6.5.0",
|
|
161
162
|
"helmet-csp": "~3.4.0",
|
|
162
163
|
"html-loader": "~3.0.1",
|
|
163
164
|
"html-webpack-plugin": "~5.5.0",
|
|
@@ -168,7 +169,7 @@
|
|
|
168
169
|
"imports-loader": "~3.1.1",
|
|
169
170
|
"ip": "~1.1.5",
|
|
170
171
|
"jest-axe": "~5.0.1",
|
|
171
|
-
"jest-cli": "~27.3
|
|
172
|
+
"jest-cli": "~27.4.3",
|
|
172
173
|
"jest-sonar-reporter": "~2.0.0",
|
|
173
174
|
"jest-styled-components": "~7.0.8",
|
|
174
175
|
"jscodeshift": "~0.13.0",
|
|
@@ -178,23 +179,23 @@
|
|
|
178
179
|
"minimist": "~1.2.5",
|
|
179
180
|
"moment": "~2.29.1",
|
|
180
181
|
"moment-locales-webpack-plugin": "~1.2.0",
|
|
181
|
-
"msw": "~0.
|
|
182
|
-
"node-plop": "~0.
|
|
182
|
+
"msw": "~0.36.0",
|
|
183
|
+
"node-plop": "~0.30.0",
|
|
183
184
|
"nodemon": "~2.0.15",
|
|
184
185
|
"npm-check-updates": "12.0.2",
|
|
185
186
|
"null-loader": "~4.0.1",
|
|
186
|
-
"pino": "~7.
|
|
187
|
+
"pino": "~7.5.1",
|
|
187
188
|
"pino-pretty": "~7.2.0",
|
|
188
189
|
"pinst": "~2.1.6",
|
|
189
|
-
"plop": "~
|
|
190
|
-
"postcss": "~8.
|
|
190
|
+
"plop": "~3.0.2",
|
|
191
|
+
"postcss": "~8.4.4",
|
|
191
192
|
"postcss-jsx": "~0.36.4",
|
|
192
|
-
"postcss-html": "~1.
|
|
193
|
-
"postcss-markdown": "~1.
|
|
193
|
+
"postcss-html": "~1.3.0",
|
|
194
|
+
"postcss-markdown": "~1.2.0",
|
|
194
195
|
"postcss-syntax": "~0.36.2",
|
|
195
|
-
"postcss-loader": "~6.2.
|
|
196
|
+
"postcss-loader": "~6.2.1",
|
|
196
197
|
"postcss-preset-env": "~7.0.1",
|
|
197
|
-
"prettier": "~2.
|
|
198
|
+
"prettier": "~2.5.1",
|
|
198
199
|
"pug": "~3.0.2",
|
|
199
200
|
"pug-loader": "~2.4.0",
|
|
200
201
|
"raf": "~3.4.1",
|
|
@@ -203,10 +204,11 @@
|
|
|
203
204
|
"react-docgen": "~5.4.0",
|
|
204
205
|
"react-refresh": "~0.11.0",
|
|
205
206
|
"react-test-renderer": "~17.0.2",
|
|
207
|
+
"resolve-typescript-plugin": "~1.1.1",
|
|
206
208
|
"resize-observer-polyfill": "~1.5.1",
|
|
207
209
|
"rimraf": "~3.0.2",
|
|
208
210
|
"script-loader": "~0.7.2",
|
|
209
|
-
"semantic-release": "~18.0.
|
|
211
|
+
"semantic-release": "~18.0.1",
|
|
210
212
|
"shelljs": "~0.8.4",
|
|
211
213
|
"slackify-markdown": "~4.3.0",
|
|
212
214
|
"storybook-react-router": "~1.0.8",
|
|
@@ -220,16 +222,16 @@
|
|
|
220
222
|
"svgo": "~2.8.0",
|
|
221
223
|
"terser-webpack-plugin": "~5.2.5",
|
|
222
224
|
"ts-node": "~10.4.0",
|
|
223
|
-
"tsc-alias": "~1.4.
|
|
225
|
+
"tsc-alias": "~1.4.2",
|
|
224
226
|
"tsc-files": "~1.1.3",
|
|
225
227
|
"tsconfig-paths": "~3.12.0",
|
|
226
228
|
"tsconfig-paths-webpack-plugin": "~3.5.2",
|
|
227
|
-
"type-fest": "~2.
|
|
229
|
+
"type-fest": "~2.8.0",
|
|
228
230
|
"typescript": "~4.5.2",
|
|
229
231
|
"update-notifier": "~5.1.0",
|
|
230
232
|
"url-loader": "~4.1.1",
|
|
231
233
|
"uuid": "~8.3.2",
|
|
232
|
-
"webpack": "~5.64.
|
|
234
|
+
"webpack": "~5.64.4",
|
|
233
235
|
"webpack-bundle-analyzer": "~4.5.0",
|
|
234
236
|
"webpack-cli": "~4.9.1",
|
|
235
237
|
"webpack-dev-middleware": "~5.2.2",
|
|
@@ -239,8 +241,8 @@
|
|
|
239
241
|
"webpack-pwa-manifest": "~4.3.0",
|
|
240
242
|
"webpack-strip-block": "~0.3.0",
|
|
241
243
|
"whatwg-fetch": "~3.6.2",
|
|
242
|
-
"workbox-webpack-plugin": "~6.4.
|
|
243
|
-
"yargs": "~17.
|
|
244
|
+
"workbox-webpack-plugin": "~6.4.2",
|
|
245
|
+
"yargs": "~17.3.0"
|
|
244
246
|
},
|
|
245
247
|
"devDependencies": {
|
|
246
248
|
"redux": "~4.1.2",
|