@elliemae/pui-cli 5.20.1 → 5.21.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.
|
@@ -15,7 +15,6 @@ const {
|
|
|
15
15
|
modulesToTranspile,
|
|
16
16
|
getAlias,
|
|
17
17
|
getPaths,
|
|
18
|
-
getMediaPath,
|
|
19
18
|
} = require('./helpers');
|
|
20
19
|
const { isTypeScriptEnabled } = require('../typescript/util');
|
|
21
20
|
|
|
@@ -128,21 +127,6 @@ module.exports = (options) => ({
|
|
|
128
127
|
optimization: options.optimization,
|
|
129
128
|
module: {
|
|
130
129
|
rules: [
|
|
131
|
-
{
|
|
132
|
-
test: /\.(jpe?g|png|gif|svg|ico)$/,
|
|
133
|
-
use: [
|
|
134
|
-
'file-loader',
|
|
135
|
-
{
|
|
136
|
-
loader: 'image-webpack-loader',
|
|
137
|
-
options: {
|
|
138
|
-
gifsicle: {
|
|
139
|
-
enabled: false,
|
|
140
|
-
},
|
|
141
|
-
},
|
|
142
|
-
},
|
|
143
|
-
],
|
|
144
|
-
enforce: 'pre',
|
|
145
|
-
},
|
|
146
130
|
{
|
|
147
131
|
test: /\.(js|ts|jsx|tsx)$/,
|
|
148
132
|
enforce: 'pre',
|
|
@@ -203,22 +187,12 @@ module.exports = (options) => ({
|
|
|
203
187
|
type: 'asset/resource',
|
|
204
188
|
},
|
|
205
189
|
{
|
|
206
|
-
test: /\.svg
|
|
207
|
-
|
|
208
|
-
use: [
|
|
209
|
-
{
|
|
210
|
-
loader: '@svgr/webpack',
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
loader: 'file-loader',
|
|
214
|
-
options: {
|
|
215
|
-
name: getMediaPath(),
|
|
216
|
-
},
|
|
217
|
-
},
|
|
218
|
-
],
|
|
190
|
+
test: /\.svg$/i,
|
|
191
|
+
issuer: /\.[jt]sx?$/,
|
|
192
|
+
use: ['@svgr/webpack'],
|
|
219
193
|
},
|
|
220
194
|
{
|
|
221
|
-
test: /\.(jpe?g|png|gif)$/i,
|
|
195
|
+
test: /\.(jpe?g|png|gif|ico)$/i,
|
|
222
196
|
exclude: excludeNodeModulesExcept(['@elliemae/*']),
|
|
223
197
|
type: 'asset',
|
|
224
198
|
},
|
|
@@ -231,6 +205,10 @@ module.exports = (options) => ({
|
|
|
231
205
|
resourceQuery: /resource/,
|
|
232
206
|
type: 'asset/resource',
|
|
233
207
|
},
|
|
208
|
+
{
|
|
209
|
+
type: 'asset',
|
|
210
|
+
resourceQuery: /url/,
|
|
211
|
+
},
|
|
234
212
|
],
|
|
235
213
|
},
|
|
236
214
|
plugins: plugins.concat(options.plugins),
|
|
@@ -20,7 +20,6 @@ const {
|
|
|
20
20
|
modulesToTranspile,
|
|
21
21
|
getAssetPath,
|
|
22
22
|
getAlias,
|
|
23
|
-
getMediaPath,
|
|
24
23
|
} = require('./helpers');
|
|
25
24
|
const { isTypeScriptEnabled } = require('../typescript/util');
|
|
26
25
|
|
|
@@ -88,21 +87,6 @@ module.exports = (options) => ({
|
|
|
88
87
|
optimization: options.optimization,
|
|
89
88
|
module: {
|
|
90
89
|
rules: [
|
|
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
|
-
],
|
|
104
|
-
enforce: 'pre',
|
|
105
|
-
},
|
|
106
90
|
{
|
|
107
91
|
test: /^(?!.*\.exec\.js$).*\.(js|ts|jsx|tsx)$/,
|
|
108
92
|
enforce: 'pre',
|
|
@@ -187,22 +171,12 @@ module.exports = (options) => ({
|
|
|
187
171
|
type: 'asset/resource',
|
|
188
172
|
},
|
|
189
173
|
{
|
|
190
|
-
test: /\.svg
|
|
191
|
-
|
|
192
|
-
use: [
|
|
193
|
-
{
|
|
194
|
-
loader: '@svgr/webpack',
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
loader: 'file-loader',
|
|
198
|
-
options: {
|
|
199
|
-
name: getMediaPath(),
|
|
200
|
-
},
|
|
201
|
-
},
|
|
202
|
-
],
|
|
174
|
+
test: /\.svg$/i,
|
|
175
|
+
issuer: /\.[jt]sx?$/,
|
|
176
|
+
use: ['@svgr/webpack'],
|
|
203
177
|
},
|
|
204
178
|
{
|
|
205
|
-
test: /\.(jpe?g|png|gif)$/i,
|
|
179
|
+
test: /\.(jpe?g|png|gif|ico)$/i,
|
|
206
180
|
exclude: excludeNodeModulesExcept(['@elliemae/*']),
|
|
207
181
|
type: 'asset',
|
|
208
182
|
},
|
|
@@ -220,6 +194,10 @@ module.exports = (options) => ({
|
|
|
220
194
|
resourceQuery: /resource/,
|
|
221
195
|
type: 'asset/resource',
|
|
222
196
|
},
|
|
197
|
+
{
|
|
198
|
+
type: 'asset',
|
|
199
|
+
resourceQuery: /url/,
|
|
200
|
+
},
|
|
223
201
|
],
|
|
224
202
|
},
|
|
225
203
|
plugins: plugins.concat(options.plugins || []),
|
|
@@ -11,7 +11,6 @@ const {
|
|
|
11
11
|
modulesToTranspile,
|
|
12
12
|
resolveExtensions,
|
|
13
13
|
mainFields,
|
|
14
|
-
getMediaPath,
|
|
15
14
|
getCompressionPlugins,
|
|
16
15
|
} = require('./helpers');
|
|
17
16
|
|
|
@@ -51,21 +50,6 @@ const getAdditionalPlugins = () => [
|
|
|
51
50
|
];
|
|
52
51
|
|
|
53
52
|
const getModulePreRules = () => [
|
|
54
|
-
{
|
|
55
|
-
test: /\.(jpe?g|png|gif|svg|ico)$/,
|
|
56
|
-
use: [
|
|
57
|
-
'file-loader',
|
|
58
|
-
{
|
|
59
|
-
loader: 'image-webpack-loader',
|
|
60
|
-
options: {
|
|
61
|
-
gifsicle: {
|
|
62
|
-
enabled: false,
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
],
|
|
67
|
-
enforce: 'pre',
|
|
68
|
-
},
|
|
69
53
|
{
|
|
70
54
|
test: /\.(js|ts|jsx|tsx)$/,
|
|
71
55
|
enforce: 'pre',
|
|
@@ -105,22 +89,16 @@ const getModuleRules = () => [
|
|
|
105
89
|
type: 'asset/resource',
|
|
106
90
|
},
|
|
107
91
|
{
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
loader: 'file-loader',
|
|
116
|
-
options: {
|
|
117
|
-
name: getMediaPath(),
|
|
118
|
-
},
|
|
119
|
-
},
|
|
120
|
-
],
|
|
92
|
+
type: 'asset',
|
|
93
|
+
resourceQuery: /url/,
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
test: /\.svg$/i,
|
|
97
|
+
issuer: /\.[jt]sx?$/,
|
|
98
|
+
use: ['@svgr/webpack'],
|
|
121
99
|
},
|
|
122
100
|
{
|
|
123
|
-
test: /\.(jpe?g|png|gif)$/i,
|
|
101
|
+
test: /\.(jpe?g|png|gif|ico)$/i,
|
|
124
102
|
exclude: excludeNodeModulesExcept(['@elliemae/*']),
|
|
125
103
|
type: 'asset',
|
|
126
104
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.21.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "EllieMae Platform UI CLI",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -88,16 +88,16 @@
|
|
|
88
88
|
"@storybook/react": "~6.3.12",
|
|
89
89
|
"@storybook/theming": "~6.3.12",
|
|
90
90
|
"@stylelint/postcss-css-in-js": "~0.37.2",
|
|
91
|
-
"@svgr/webpack": "~
|
|
92
|
-
"@testing-library/jest-dom": "~5.16.
|
|
91
|
+
"@svgr/webpack": "~6.1.1",
|
|
92
|
+
"@testing-library/jest-dom": "~5.16.1",
|
|
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
96
|
"@types/node": "~16.11.11",
|
|
97
97
|
"@types/rimraf": "~3.0.2",
|
|
98
98
|
"@types/testing-library__jest-dom": "~5.14.2",
|
|
99
|
-
"@typescript-eslint/eslint-plugin": "~5.
|
|
100
|
-
"@typescript-eslint/parser": "~5.
|
|
99
|
+
"@typescript-eslint/eslint-plugin": "~5.6.0",
|
|
100
|
+
"@typescript-eslint/parser": "~5.6.0",
|
|
101
101
|
"autoprefixer": "~10.4.0",
|
|
102
102
|
"axe-core": "~4.3.5",
|
|
103
103
|
"babel-loader": "~8.2.3",
|
|
@@ -180,9 +180,10 @@
|
|
|
180
180
|
"moment": "~2.29.1",
|
|
181
181
|
"moment-locales-webpack-plugin": "~1.2.0",
|
|
182
182
|
"msw": "~0.36.0",
|
|
183
|
+
"node-gyp": "~8.4.1",
|
|
183
184
|
"node-plop": "~0.30.0",
|
|
184
185
|
"nodemon": "~2.0.15",
|
|
185
|
-
"npm-check-updates": "12.0.
|
|
186
|
+
"npm-check-updates": "12.0.3",
|
|
186
187
|
"null-loader": "~4.0.1",
|
|
187
188
|
"pino": "~7.5.1",
|
|
188
189
|
"pino-pretty": "~7.2.0",
|
|
@@ -232,7 +233,7 @@
|
|
|
232
233
|
"update-notifier": "~5.1.0",
|
|
233
234
|
"url-loader": "~4.1.1",
|
|
234
235
|
"uuid": "~8.3.2",
|
|
235
|
-
"webpack": "~5.
|
|
236
|
+
"webpack": "~5.65.0",
|
|
236
237
|
"webpack-bundle-analyzer": "~4.5.0",
|
|
237
238
|
"webpack-cli": "~4.9.1",
|
|
238
239
|
"webpack-dev-middleware": "~5.2.2",
|