@elliemae/pui-cli 5.17.0 → 5.18.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|svg)$/,
124
- loader: 'image-webpack-loader',
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 {
@@ -87,8 +88,18 @@ module.exports = (options) => ({
87
88
  module: {
88
89
  rules: [
89
90
  {
90
- test: /\.(jpe?g|png|gif|ico|svg)$/,
91
- loader: 'image-webpack-loader',
91
+ test: /\.(jpe?g|png|gif|svg|ico)$/,
92
+ use: [
93
+ 'file-loader',
94
+ {
95
+ loader: 'image-webpack-loader',
96
+ options: {
97
+ gifsicle: {
98
+ enabled: false,
99
+ },
100
+ },
101
+ },
102
+ ],
92
103
  enforce: 'pre',
93
104
  },
94
105
  {
@@ -118,7 +129,6 @@ module.exports = (options) => ({
118
129
  loader: 'babel-loader',
119
130
  options: {
120
131
  cacheDirectory: true,
121
- // eslint-disable-next-line max-lines
122
132
  compact: !devMode,
123
133
  ...(options.babelQuery || {}),
124
134
  },
@@ -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|svg)$/,
63
- loader: 'image-webpack-loader',
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.17.0",
3
+ "version": "5.18.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.2",
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,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.0",
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
95
  "@types/jest": "~27.0.3",
96
- "@types/node": "~16.11.9",
96
+ "@types/node": "~16.11.10",
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",
@@ -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-styled-components": "~1.13.3",
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.1.4",
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.2.0",
135
+ "eslint": "~8.3.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",
@@ -143,7 +144,7 @@
143
144
  "eslint-plugin-compat": "~3.13.0",
144
145
  "eslint-plugin-eslint-comments": "~3.2.0",
145
146
  "eslint-plugin-import": "~2.25.3",
146
- "eslint-plugin-jest": "~25.2.4",
147
+ "eslint-plugin-jest": "~25.3.0",
147
148
  "eslint-plugin-jsdoc": "~37.0.3",
148
149
  "eslint-plugin-jsx-a11y": "~6.5.1",
149
150
  "eslint-plugin-mdx": "~1.16.0",
@@ -155,9 +156,9 @@
155
156
  "eslint-plugin-wdio": "~7.4.2",
156
157
  "execa": "~5.1.1",
157
158
  "express": "~4.17.1",
158
- "express-pino-logger": "~6.0.0",
159
+ "express-pino-logger": "~7.0.0",
159
160
  "file-loader": "~6.2.0",
160
- "fork-ts-checker-webpack-plugin": "~6.4.0",
161
+ "fork-ts-checker-webpack-plugin": "~6.4.2",
161
162
  "helmet-csp": "~3.4.0",
162
163
  "html-loader": "~3.0.1",
163
164
  "html-webpack-plugin": "~5.5.0",
@@ -165,40 +166,36 @@
165
166
  "husky": "~7.0.4",
166
167
  "husky-init": "~7.0.0",
167
168
  "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
169
  "imports-loader": "~3.1.1",
173
170
  "ip": "~1.1.5",
174
171
  "jest-axe": "~5.0.1",
175
- "jest-cli": "~27.3.1",
172
+ "jest-cli": "~27.4.0",
176
173
  "jest-sonar-reporter": "~2.0.0",
177
- "jest-styled-components": "~7.0.6",
174
+ "jest-styled-components": "~7.0.8",
178
175
  "jscodeshift": "~0.13.0",
179
176
  "jsdoc": "~3.6.7",
180
- "lint-staged": "~12.0.3",
177
+ "lint-staged": "~12.1.2",
181
178
  "mini-css-extract-plugin": "~2.4.5",
182
179
  "minimist": "~1.2.5",
183
180
  "moment": "~2.29.1",
184
181
  "moment-locales-webpack-plugin": "~1.2.0",
185
182
  "msw": "~0.35.0",
186
- "node-plop": "~0.26.3",
183
+ "node-plop": "~0.30.0",
187
184
  "nodemon": "~2.0.15",
188
185
  "npm-check-updates": "12.0.2",
189
186
  "null-loader": "~4.0.1",
190
- "pino": "~7.3.0",
187
+ "pino": "~7.5.0",
191
188
  "pino-pretty": "~7.2.0",
192
189
  "pinst": "~2.1.6",
193
- "plop": "~2.7.6",
194
- "postcss": "~8.3.11",
190
+ "plop": "~3.0.1",
191
+ "postcss": "~8.4.4",
195
192
  "postcss-jsx": "~0.36.4",
196
- "postcss-html": "~1.2.0",
197
- "postcss-markdown": "~1.1.0",
193
+ "postcss-html": "~1.3.0",
194
+ "postcss-markdown": "~1.2.0",
198
195
  "postcss-syntax": "~0.36.2",
199
- "postcss-loader": "~6.2.0",
196
+ "postcss-loader": "~6.2.1",
200
197
  "postcss-preset-env": "~7.0.1",
201
- "prettier": "~2.4.1",
198
+ "prettier": "~2.5.0",
202
199
  "pug": "~3.0.2",
203
200
  "pug-loader": "~2.4.0",
204
201
  "raf": "~3.4.1",
@@ -210,7 +207,7 @@
210
207
  "resize-observer-polyfill": "~1.5.1",
211
208
  "rimraf": "~3.0.2",
212
209
  "script-loader": "~0.7.2",
213
- "semantic-release": "~18.0.0",
210
+ "semantic-release": "~18.0.1",
214
211
  "shelljs": "~0.8.4",
215
212
  "slackify-markdown": "~4.3.0",
216
213
  "storybook-react-router": "~1.0.8",
@@ -226,14 +223,14 @@
226
223
  "ts-node": "~10.4.0",
227
224
  "tsc-alias": "~1.4.1",
228
225
  "tsc-files": "~1.1.3",
229
- "tsconfig-paths": "~3.11.0",
226
+ "tsconfig-paths": "~3.12.0",
230
227
  "tsconfig-paths-webpack-plugin": "~3.5.2",
231
- "type-fest": "~2.5.4",
228
+ "type-fest": "~2.6.0",
232
229
  "typescript": "~4.5.2",
233
230
  "update-notifier": "~5.1.0",
234
231
  "url-loader": "~4.1.1",
235
232
  "uuid": "~8.3.2",
236
- "webpack": "~5.64.1",
233
+ "webpack": "~5.64.4",
237
234
  "webpack-bundle-analyzer": "~4.5.0",
238
235
  "webpack-cli": "~4.9.1",
239
236
  "webpack-dev-middleware": "~5.2.2",