@elliemae/pui-cli 5.18.0 → 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.
- package/lib/testing/jest.config.js +1 -0
- package/lib/webpack/helpers.js +36 -1
- package/lib/webpack/webpack.base.babel.js +22 -36
- package/lib/webpack/webpack.lib.base.babel.js +10 -30
- package/lib/webpack/webpack.lib.prod.babel.js +2 -9
- package/lib/webpack/webpack.prod.babel.js +3 -10
- package/lib/webpack/webpack.storybook.js +11 -41
- package/package.json +25 -22
|
@@ -74,6 +74,7 @@ const jestConfig = {
|
|
|
74
74
|
testRegex: '(app|lib).*/tests/.*\\.test\\.(js|ts)$',
|
|
75
75
|
snapshotSerializers: [],
|
|
76
76
|
testResultsProcessor: 'jest-sonar-reporter',
|
|
77
|
+
resolver: 'ts-jest-resolver',
|
|
77
78
|
transformIgnorePatterns: [
|
|
78
79
|
'node_modules/(?!(@elliemae/*|lodash-es/*)/)',
|
|
79
80
|
'node_modules/@elliemae/em-platform-document-viewer',
|
package/lib/webpack/helpers.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
/* eslint-disable max-lines */
|
|
1
2
|
const path = require('path');
|
|
2
3
|
const fs = require('fs');
|
|
3
4
|
const _ = require('lodash');
|
|
5
|
+
const CompressionPlugin = require('compression-webpack-plugin');
|
|
6
|
+
const zlib = require('zlib');
|
|
4
7
|
|
|
5
8
|
let pathSep = path.sep;
|
|
6
9
|
if (pathSep === '\\')
|
|
@@ -122,7 +125,6 @@ const getAppLoaderFileName = () => {
|
|
|
122
125
|
|
|
123
126
|
const getDiagnosticsFileName = () => {
|
|
124
127
|
const libName = 'emuiDiagnostics';
|
|
125
|
-
// eslint-disable-next-line max-lines
|
|
126
128
|
const libPath = path.join(
|
|
127
129
|
process.cwd(),
|
|
128
130
|
'node_modules/@elliemae/pui-diagnostics/dist/public/js',
|
|
@@ -185,6 +187,38 @@ const isGoogleTagManagerEnabled = () => {
|
|
|
185
187
|
return !!appConfig?.googleTagManager;
|
|
186
188
|
};
|
|
187
189
|
|
|
190
|
+
const getCompressionPlugins = () => {
|
|
191
|
+
const commonConfig = {
|
|
192
|
+
test: /\.(js|css)$/,
|
|
193
|
+
exclude: [
|
|
194
|
+
/\/adrum-ext/,
|
|
195
|
+
/\/emuiUserMonitoring/,
|
|
196
|
+
/\/emuiDiagnostics/,
|
|
197
|
+
/\/emuiAppLoader/,
|
|
198
|
+
/\/encwLoader/,
|
|
199
|
+
],
|
|
200
|
+
// we are compressing all files since in aws cloudfront edge lambda, we don't want to whitelist files that are not compressed due to below limits
|
|
201
|
+
minRatio: Number.MAX_SAFE_INTEGER,
|
|
202
|
+
};
|
|
203
|
+
return [
|
|
204
|
+
new CompressionPlugin({
|
|
205
|
+
filename: '[path][base].gz',
|
|
206
|
+
algorithm: 'gzip',
|
|
207
|
+
...commonConfig,
|
|
208
|
+
}),
|
|
209
|
+
new CompressionPlugin({
|
|
210
|
+
filename: '[path][base].br',
|
|
211
|
+
algorithm: 'brotliCompress',
|
|
212
|
+
...commonConfig,
|
|
213
|
+
compressionOptions: {
|
|
214
|
+
params: {
|
|
215
|
+
[zlib.constants.BROTLI_PARAM_QUALITY]: 11,
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
}),
|
|
219
|
+
];
|
|
220
|
+
};
|
|
221
|
+
|
|
188
222
|
exports.excludeNodeModulesExcept = excludeNodeModulesExcept;
|
|
189
223
|
exports.getLibraryName = getLibraryName;
|
|
190
224
|
exports.getAppConfig = getAppConfig;
|
|
@@ -209,3 +243,4 @@ exports.resolveExtensions = [
|
|
|
209
243
|
];
|
|
210
244
|
exports.mainFields = ['browser', 'module', 'main'];
|
|
211
245
|
exports.isGoogleTagManagerEnabled = isGoogleTagManagerEnabled;
|
|
246
|
+
exports.getCompressionPlugins = getCompressionPlugins;
|
|
@@ -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
|
|
|
@@ -64,21 +63,29 @@ const plugins = [
|
|
|
64
63
|
{
|
|
65
64
|
from: 'node_modules/@elliemae/pui-user-monitoring/dist/public/js',
|
|
66
65
|
to: 'js',
|
|
66
|
+
toType: 'dir',
|
|
67
|
+
info: { minimized: true },
|
|
67
68
|
},
|
|
68
69
|
{
|
|
69
|
-
from: 'node_modules/@elliemae/pui-app-loader/dist/public/js
|
|
70
|
-
to: 'js
|
|
70
|
+
from: 'node_modules/@elliemae/pui-app-loader/dist/public/js',
|
|
71
|
+
to: 'js',
|
|
72
|
+
toType: 'dir',
|
|
71
73
|
noErrorOnMissing: true,
|
|
74
|
+
info: { minimized: true },
|
|
72
75
|
},
|
|
73
76
|
{
|
|
74
|
-
from: 'node_modules/@elliemae/encw-loader/dist/public/js
|
|
75
|
-
to: 'js
|
|
77
|
+
from: 'node_modules/@elliemae/encw-loader/dist/public/js',
|
|
78
|
+
to: 'js',
|
|
79
|
+
toType: 'dir',
|
|
76
80
|
noErrorOnMissing: true,
|
|
81
|
+
info: { minimized: true },
|
|
77
82
|
},
|
|
78
83
|
{
|
|
79
|
-
from: 'node_modules/@elliemae/pui-diagnostics/dist/public/js
|
|
80
|
-
to: 'js
|
|
84
|
+
from: 'node_modules/@elliemae/pui-diagnostics/dist/public/js',
|
|
85
|
+
to: 'js',
|
|
86
|
+
toType: 'dir',
|
|
81
87
|
noErrorOnMissing: true,
|
|
88
|
+
info: { minimized: true },
|
|
82
89
|
},
|
|
83
90
|
{
|
|
84
91
|
from: 'public',
|
|
@@ -120,21 +127,6 @@ module.exports = (options) => ({
|
|
|
120
127
|
optimization: options.optimization,
|
|
121
128
|
module: {
|
|
122
129
|
rules: [
|
|
123
|
-
{
|
|
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
|
-
],
|
|
136
|
-
enforce: 'pre',
|
|
137
|
-
},
|
|
138
130
|
{
|
|
139
131
|
test: /\.(js|ts|jsx|tsx)$/,
|
|
140
132
|
enforce: 'pre',
|
|
@@ -195,22 +187,12 @@ module.exports = (options) => ({
|
|
|
195
187
|
type: 'asset/resource',
|
|
196
188
|
},
|
|
197
189
|
{
|
|
198
|
-
test: /\.svg
|
|
199
|
-
|
|
200
|
-
use: [
|
|
201
|
-
{
|
|
202
|
-
loader: '@svgr/webpack',
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
loader: 'file-loader',
|
|
206
|
-
options: {
|
|
207
|
-
name: getMediaPath(),
|
|
208
|
-
},
|
|
209
|
-
},
|
|
210
|
-
],
|
|
190
|
+
test: /\.svg$/i,
|
|
191
|
+
issuer: /\.[jt]sx?$/,
|
|
192
|
+
use: ['@svgr/webpack'],
|
|
211
193
|
},
|
|
212
194
|
{
|
|
213
|
-
test: /\.(jpe?g|png|gif)$/i,
|
|
195
|
+
test: /\.(jpe?g|png|gif|ico)$/i,
|
|
214
196
|
exclude: excludeNodeModulesExcept(['@elliemae/*']),
|
|
215
197
|
type: 'asset',
|
|
216
198
|
},
|
|
@@ -223,6 +205,10 @@ module.exports = (options) => ({
|
|
|
223
205
|
resourceQuery: /resource/,
|
|
224
206
|
type: 'asset/resource',
|
|
225
207
|
},
|
|
208
|
+
{
|
|
209
|
+
type: 'asset',
|
|
210
|
+
resourceQuery: /url/,
|
|
211
|
+
},
|
|
226
212
|
],
|
|
227
213
|
},
|
|
228
214
|
plugins: plugins.concat(options.plugins),
|
|
@@ -11,6 +11,7 @@ const DuplicatePackageCheckerPlugin = require('duplicate-package-checker-webpack
|
|
|
11
11
|
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
|
|
12
12
|
const MomentLocalesPlugin = require('moment-locales-webpack-plugin');
|
|
13
13
|
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
|
|
14
|
+
const ResolveTypeScriptPlugin = require('resolve-typescript-plugin').default;
|
|
14
15
|
|
|
15
16
|
const {
|
|
16
17
|
excludeNodeModulesExcept,
|
|
@@ -19,7 +20,6 @@ const {
|
|
|
19
20
|
modulesToTranspile,
|
|
20
21
|
getAssetPath,
|
|
21
22
|
getAlias,
|
|
22
|
-
getMediaPath,
|
|
23
23
|
} = require('./helpers');
|
|
24
24
|
const { isTypeScriptEnabled } = require('../typescript/util');
|
|
25
25
|
|
|
@@ -87,21 +87,6 @@ module.exports = (options) => ({
|
|
|
87
87
|
optimization: options.optimization,
|
|
88
88
|
module: {
|
|
89
89
|
rules: [
|
|
90
|
-
{
|
|
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
|
-
],
|
|
103
|
-
enforce: 'pre',
|
|
104
|
-
},
|
|
105
90
|
{
|
|
106
91
|
test: /^(?!.*\.exec\.js$).*\.(js|ts|jsx|tsx)$/,
|
|
107
92
|
enforce: 'pre',
|
|
@@ -186,22 +171,12 @@ module.exports = (options) => ({
|
|
|
186
171
|
type: 'asset/resource',
|
|
187
172
|
},
|
|
188
173
|
{
|
|
189
|
-
test: /\.svg
|
|
190
|
-
|
|
191
|
-
use: [
|
|
192
|
-
{
|
|
193
|
-
loader: '@svgr/webpack',
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
loader: 'file-loader',
|
|
197
|
-
options: {
|
|
198
|
-
name: getMediaPath(),
|
|
199
|
-
},
|
|
200
|
-
},
|
|
201
|
-
],
|
|
174
|
+
test: /\.svg$/i,
|
|
175
|
+
issuer: /\.[jt]sx?$/,
|
|
176
|
+
use: ['@svgr/webpack'],
|
|
202
177
|
},
|
|
203
178
|
{
|
|
204
|
-
test: /\.(jpe?g|png|gif)$/i,
|
|
179
|
+
test: /\.(jpe?g|png|gif|ico)$/i,
|
|
205
180
|
exclude: excludeNodeModulesExcept(['@elliemae/*']),
|
|
206
181
|
type: 'asset',
|
|
207
182
|
},
|
|
@@ -219,6 +194,10 @@ module.exports = (options) => ({
|
|
|
219
194
|
resourceQuery: /resource/,
|
|
220
195
|
type: 'asset/resource',
|
|
221
196
|
},
|
|
197
|
+
{
|
|
198
|
+
type: 'asset',
|
|
199
|
+
resourceQuery: /url/,
|
|
200
|
+
},
|
|
222
201
|
],
|
|
223
202
|
},
|
|
224
203
|
plugins: plugins.concat(options.plugins || []),
|
|
@@ -231,6 +210,7 @@ module.exports = (options) => ({
|
|
|
231
210
|
...getAlias(),
|
|
232
211
|
...((options.resolve || {}).alias || {}),
|
|
233
212
|
},
|
|
213
|
+
plugins: [new ResolveTypeScriptPlugin()],
|
|
234
214
|
},
|
|
235
215
|
externals: {
|
|
236
216
|
'@elliemae/pui-user-monitoring': 'emuiUserMonitoring',
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
const path = require('path');
|
|
2
2
|
const TerserPlugin = require('terser-webpack-plugin');
|
|
3
|
-
const CompressionPlugin = require('compression-webpack-plugin');
|
|
4
3
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
5
4
|
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
6
5
|
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
|
|
7
6
|
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
|
|
8
|
-
const { getLibraryName } = require('./helpers');
|
|
7
|
+
const { getLibraryName, getCompressionPlugins } = require('./helpers');
|
|
9
8
|
|
|
10
9
|
const libraryName = getLibraryName();
|
|
11
10
|
|
|
@@ -69,13 +68,7 @@ module.exports = require('./webpack.lib.base.babel')({
|
|
|
69
68
|
chunkFilename: `css/${libraryName}.[contenthash].chunk.css`,
|
|
70
69
|
}),
|
|
71
70
|
|
|
72
|
-
|
|
73
|
-
filename: '[path][base].gz',
|
|
74
|
-
algorithm: 'gzip',
|
|
75
|
-
test: /\.js$|\.css$$/,
|
|
76
|
-
// we are compressing all files since in aws cloudfront edge lambda, we don't want to whitelist files that are not compressed due to below limits
|
|
77
|
-
minRatio: Number.MAX_SAFE_INTEGER,
|
|
78
|
-
}),
|
|
71
|
+
...getCompressionPlugins(),
|
|
79
72
|
|
|
80
73
|
new BundleAnalyzerPlugin({
|
|
81
74
|
analyzerMode: 'static',
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
/* eslint-disable max-lines */
|
|
1
2
|
const path = require('path');
|
|
2
3
|
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
3
4
|
const { GenerateSW } = require('workbox-webpack-plugin');
|
|
4
5
|
const TerserPlugin = require('terser-webpack-plugin');
|
|
5
|
-
const CompressionPlugin = require('compression-webpack-plugin');
|
|
6
6
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
7
7
|
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
|
|
8
8
|
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
|
|
@@ -15,6 +15,7 @@ const {
|
|
|
15
15
|
getPaths,
|
|
16
16
|
getAppVersion,
|
|
17
17
|
isGoogleTagManagerEnabled,
|
|
18
|
+
getCompressionPlugins,
|
|
18
19
|
} = require('./helpers');
|
|
19
20
|
|
|
20
21
|
const getProdConfig = ({ latestVersion = true } = {}) => {
|
|
@@ -74,14 +75,7 @@ const getProdConfig = ({ latestVersion = true } = {}) => {
|
|
|
74
75
|
chunkFilename: 'css/[name].[contenthash].chunk.css',
|
|
75
76
|
}),
|
|
76
77
|
|
|
77
|
-
|
|
78
|
-
filename: '[path][base].gz',
|
|
79
|
-
algorithm: 'gzip',
|
|
80
|
-
test: /\.js$|\.css$$/,
|
|
81
|
-
exclude: [/\/adrum-ext/, /\/emuiUserMonitoring/],
|
|
82
|
-
// we are compressing all files since in aws cloudfront edge lambda, we don't want to whitelist files that are not compressed due to below limits
|
|
83
|
-
minRatio: Number.MAX_SAFE_INTEGER,
|
|
84
|
-
}),
|
|
78
|
+
...getCompressionPlugins(),
|
|
85
79
|
|
|
86
80
|
new BundleAnalyzerPlugin({
|
|
87
81
|
analyzerMode: 'static',
|
|
@@ -120,7 +114,6 @@ const htmlWebpackPlugin = new HtmlWebpackPlugin({
|
|
|
120
114
|
? 'app/index.html'
|
|
121
115
|
: 'app/index-app-loader.html',
|
|
122
116
|
minify: {
|
|
123
|
-
// eslint-disable-next-line max-lines
|
|
124
117
|
removeComments: true,
|
|
125
118
|
collapseWhitespace: true,
|
|
126
119
|
removeRedundantAttributes: true,
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
const webpack = require('webpack');
|
|
3
3
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
4
4
|
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
|
5
|
-
const CompressionPlugin = require('compression-webpack-plugin');
|
|
6
5
|
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
|
|
7
6
|
const {
|
|
8
7
|
getAppConfig,
|
|
@@ -12,7 +11,7 @@ const {
|
|
|
12
11
|
modulesToTranspile,
|
|
13
12
|
resolveExtensions,
|
|
14
13
|
mainFields,
|
|
15
|
-
|
|
14
|
+
getCompressionPlugins,
|
|
16
15
|
} = require('./helpers');
|
|
17
16
|
|
|
18
17
|
const IS_APP = isApp();
|
|
@@ -50,30 +49,7 @@ const getAdditionalPlugins = () => [
|
|
|
50
49
|
}),
|
|
51
50
|
];
|
|
52
51
|
|
|
53
|
-
const compressionPlugin = new CompressionPlugin({
|
|
54
|
-
filename: '[path][base].gz',
|
|
55
|
-
algorithm: 'gzip',
|
|
56
|
-
test: /\.js$|\.css$$/,
|
|
57
|
-
// we are compressing all files since in aws cloudfront edge lambda, we don't want to whitelist files that are not compressed due to below limits
|
|
58
|
-
minRatio: Number.MAX_SAFE_INTEGER,
|
|
59
|
-
});
|
|
60
|
-
|
|
61
52
|
const getModulePreRules = () => [
|
|
62
|
-
{
|
|
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
|
-
],
|
|
75
|
-
enforce: 'pre',
|
|
76
|
-
},
|
|
77
53
|
{
|
|
78
54
|
test: /\.(js|ts|jsx|tsx)$/,
|
|
79
55
|
enforce: 'pre',
|
|
@@ -113,22 +89,16 @@ const getModuleRules = () => [
|
|
|
113
89
|
type: 'asset/resource',
|
|
114
90
|
},
|
|
115
91
|
{
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
loader: 'file-loader',
|
|
124
|
-
options: {
|
|
125
|
-
name: getMediaPath(),
|
|
126
|
-
},
|
|
127
|
-
},
|
|
128
|
-
],
|
|
92
|
+
type: 'asset',
|
|
93
|
+
resourceQuery: /url/,
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
test: /\.svg$/i,
|
|
97
|
+
issuer: /\.[jt]sx?$/,
|
|
98
|
+
use: ['@svgr/webpack'],
|
|
129
99
|
},
|
|
130
100
|
{
|
|
131
|
-
test: /\.(jpe?g|png|gif)$/i,
|
|
101
|
+
test: /\.(jpe?g|png|gif|ico)$/i,
|
|
132
102
|
exclude: excludeNodeModulesExcept(['@elliemae/*']),
|
|
133
103
|
type: 'asset',
|
|
134
104
|
},
|
|
@@ -150,7 +120,7 @@ exports.webpackFinal = async (config, { configType }) => {
|
|
|
150
120
|
|
|
151
121
|
config.plugins.push(...getAdditionalPlugins());
|
|
152
122
|
if (isProd) {
|
|
153
|
-
config.plugins.
|
|
123
|
+
config.plugins = config.plugins.concat(getCompressionPlugins());
|
|
154
124
|
}
|
|
155
125
|
|
|
156
126
|
config.resolve.alias = { ...config.resolve.alias, ...getAlias() };
|
|
@@ -168,7 +138,7 @@ exports.webpackFinal = async (config, { configType }) => {
|
|
|
168
138
|
|
|
169
139
|
// storybook manager webpack
|
|
170
140
|
exports.managerWebpack = async (config) => {
|
|
171
|
-
config.plugins.
|
|
141
|
+
config.plugins = config.plugins.concat(getCompressionPlugins());
|
|
172
142
|
config.resolve.alias = { ...config.resolve.alias, ...getAlias() };
|
|
173
143
|
return config;
|
|
174
144
|
};
|
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.
|
|
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
|
-
"@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.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",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"dotenv": "~10.0.0",
|
|
133
133
|
"dotenv-webpack": "~7.0.3",
|
|
134
134
|
"duplicate-package-checker-webpack-plugin": "~3.0.0",
|
|
135
|
-
"eslint": "~8.
|
|
135
|
+
"eslint": "~8.4.0",
|
|
136
136
|
"eslint-config-airbnb": "~18.2.1",
|
|
137
137
|
"eslint-config-airbnb-base": "~15.0.0",
|
|
138
138
|
"eslint-config-airbnb-typescript": "~15.0.0",
|
|
@@ -145,20 +145,20 @@
|
|
|
145
145
|
"eslint-plugin-eslint-comments": "~3.2.0",
|
|
146
146
|
"eslint-plugin-import": "~2.25.3",
|
|
147
147
|
"eslint-plugin-jest": "~25.3.0",
|
|
148
|
-
"eslint-plugin-jsdoc": "~37.0
|
|
148
|
+
"eslint-plugin-jsdoc": "~37.1.0",
|
|
149
149
|
"eslint-plugin-jsx-a11y": "~6.5.1",
|
|
150
150
|
"eslint-plugin-mdx": "~1.16.0",
|
|
151
151
|
"eslint-plugin-prettier": "~4.0.0",
|
|
152
152
|
"eslint-plugin-react": "~7.27.1",
|
|
153
153
|
"eslint-plugin-react-hooks": "~4.3.0",
|
|
154
154
|
"eslint-plugin-redux-saga": "~1.2.1",
|
|
155
|
-
"eslint-plugin-testing-library": "~5.0.
|
|
155
|
+
"eslint-plugin-testing-library": "~5.0.1",
|
|
156
156
|
"eslint-plugin-wdio": "~7.4.2",
|
|
157
157
|
"execa": "~5.1.1",
|
|
158
158
|
"express": "~4.17.1",
|
|
159
159
|
"express-pino-logger": "~7.0.0",
|
|
160
160
|
"file-loader": "~6.2.0",
|
|
161
|
-
"fork-ts-checker-webpack-plugin": "~6.
|
|
161
|
+
"fork-ts-checker-webpack-plugin": "~6.5.0",
|
|
162
162
|
"helmet-csp": "~3.4.0",
|
|
163
163
|
"html-loader": "~3.0.1",
|
|
164
164
|
"html-webpack-plugin": "~5.5.0",
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
"imports-loader": "~3.1.1",
|
|
170
170
|
"ip": "~1.1.5",
|
|
171
171
|
"jest-axe": "~5.0.1",
|
|
172
|
-
"jest-cli": "~27.4.
|
|
172
|
+
"jest-cli": "~27.4.3",
|
|
173
173
|
"jest-sonar-reporter": "~2.0.0",
|
|
174
174
|
"jest-styled-components": "~7.0.8",
|
|
175
175
|
"jscodeshift": "~0.13.0",
|
|
@@ -179,15 +179,16 @@
|
|
|
179
179
|
"minimist": "~1.2.5",
|
|
180
180
|
"moment": "~2.29.1",
|
|
181
181
|
"moment-locales-webpack-plugin": "~1.2.0",
|
|
182
|
-
"msw": "~0.
|
|
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
|
-
"pino": "~7.5.
|
|
188
|
+
"pino": "~7.5.1",
|
|
188
189
|
"pino-pretty": "~7.2.0",
|
|
189
190
|
"pinst": "~2.1.6",
|
|
190
|
-
"plop": "~3.0.
|
|
191
|
+
"plop": "~3.0.2",
|
|
191
192
|
"postcss": "~8.4.4",
|
|
192
193
|
"postcss-jsx": "~0.36.4",
|
|
193
194
|
"postcss-html": "~1.3.0",
|
|
@@ -195,7 +196,7 @@
|
|
|
195
196
|
"postcss-syntax": "~0.36.2",
|
|
196
197
|
"postcss-loader": "~6.2.1",
|
|
197
198
|
"postcss-preset-env": "~7.0.1",
|
|
198
|
-
"prettier": "~2.5.
|
|
199
|
+
"prettier": "~2.5.1",
|
|
199
200
|
"pug": "~3.0.2",
|
|
200
201
|
"pug-loader": "~2.4.0",
|
|
201
202
|
"raf": "~3.4.1",
|
|
@@ -204,6 +205,7 @@
|
|
|
204
205
|
"react-docgen": "~5.4.0",
|
|
205
206
|
"react-refresh": "~0.11.0",
|
|
206
207
|
"react-test-renderer": "~17.0.2",
|
|
208
|
+
"resolve-typescript-plugin": "~1.1.1",
|
|
207
209
|
"resize-observer-polyfill": "~1.5.1",
|
|
208
210
|
"rimraf": "~3.0.2",
|
|
209
211
|
"script-loader": "~0.7.2",
|
|
@@ -220,17 +222,18 @@
|
|
|
220
222
|
"svg-url-loader": "~7.1.1",
|
|
221
223
|
"svgo": "~2.8.0",
|
|
222
224
|
"terser-webpack-plugin": "~5.2.5",
|
|
225
|
+
"ts-jest-resolver": "~2.0.0",
|
|
223
226
|
"ts-node": "~10.4.0",
|
|
224
|
-
"tsc-alias": "~1.4.
|
|
227
|
+
"tsc-alias": "~1.4.2",
|
|
225
228
|
"tsc-files": "~1.1.3",
|
|
226
229
|
"tsconfig-paths": "~3.12.0",
|
|
227
230
|
"tsconfig-paths-webpack-plugin": "~3.5.2",
|
|
228
|
-
"type-fest": "~2.
|
|
231
|
+
"type-fest": "~2.8.0",
|
|
229
232
|
"typescript": "~4.5.2",
|
|
230
233
|
"update-notifier": "~5.1.0",
|
|
231
234
|
"url-loader": "~4.1.1",
|
|
232
235
|
"uuid": "~8.3.2",
|
|
233
|
-
"webpack": "~5.
|
|
236
|
+
"webpack": "~5.65.0",
|
|
234
237
|
"webpack-bundle-analyzer": "~4.5.0",
|
|
235
238
|
"webpack-cli": "~4.9.1",
|
|
236
239
|
"webpack-dev-middleware": "~5.2.2",
|
|
@@ -240,8 +243,8 @@
|
|
|
240
243
|
"webpack-pwa-manifest": "~4.3.0",
|
|
241
244
|
"webpack-strip-block": "~0.3.0",
|
|
242
245
|
"whatwg-fetch": "~3.6.2",
|
|
243
|
-
"workbox-webpack-plugin": "~6.4.
|
|
244
|
-
"yargs": "~17.
|
|
246
|
+
"workbox-webpack-plugin": "~6.4.2",
|
|
247
|
+
"yargs": "~17.3.0"
|
|
245
248
|
},
|
|
246
249
|
"devDependencies": {
|
|
247
250
|
"redux": "~4.1.2",
|