@elliemae/pui-cli 5.1.0 → 5.2.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.
@@ -10,7 +10,7 @@ const nodeEnvPreset = {
10
10
  const webEnvPreset = {
11
11
  modules: process.env.ES_MODULES === 'false' ? 'commonjs' : false,
12
12
  useBuiltIns: 'usage',
13
- corejs: { version: '3.16', proposals: true },
13
+ corejs: { version: '3.17', proposals: true },
14
14
  };
15
15
 
16
16
  const presetEnvOptions =
@@ -79,4 +79,15 @@ if (process.env.TARGET_ENV === 'node') {
79
79
  config.plugins.push('babel-plugin-add-import-extension');
80
80
  }
81
81
 
82
+ // ToDo: Once ECC team migrates from webpack 3 to webpack 5 remove tis strip-block plugin from commonjs output. without this they are receiving error when import.meta is used in app sdk
83
+ if (process.env.ES_MODULES === 'false') {
84
+ config.plugins.push([
85
+ 'babel-plugin-transform-strip-block',
86
+ {
87
+ requireDirective: true,
88
+ identifiers: [{ start: 'block:start', end: 'block:end' }],
89
+ },
90
+ ]);
91
+ }
92
+
82
93
  module.exports = config;
@@ -31,7 +31,7 @@ const baseRules = {
31
31
  'import/no-dynamic-require': 0,
32
32
  'import/no-extraneous-dependencies': 0,
33
33
  'import/no-named-as-default': 0,
34
- 'import/no-unresolved': 2,
34
+ 'import/no-unresolved': 0, // ToDo: set this to error once this issue is resolved https://github.com/import-js/eslint-plugin-import/issues/1868
35
35
  'import/no-webpack-loader-syntax': 0,
36
36
  'import/prefer-default-export': 0,
37
37
  'import/extensions': [
@@ -1,5 +1,5 @@
1
1
  module.exports = {
2
- '*.{ts|tsx}': ['tsc -p tsconfig.json'],
2
+ '*.{ts,tsx}': ['tsc'],
3
3
  '*.{js,ts,jsx,tsx}': [
4
4
  'npm run lint:fix',
5
5
  'npm run test:staged',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "5.1.0",
3
+ "version": "5.2.0",
4
4
  "private": false,
5
5
  "description": "EllieMae Platform UI CLI",
6
6
  "sideEffects": false,
@@ -47,7 +47,7 @@
47
47
  "indent": 4
48
48
  },
49
49
  "dependencies": {
50
- "@babel/cli": "~7.15.4",
50
+ "@babel/cli": "~7.15.7",
51
51
  "@babel/core": "~7.15.5",
52
52
  "@babel/node": "~7.15.4",
53
53
  "@babel/plugin-proposal-class-properties": "~7.14.5",
@@ -58,14 +58,14 @@
58
58
  "@babel/plugin-transform-react-inline-elements": "~7.14.5",
59
59
  "@babel/plugin-transform-react-jsx-source": "~7.14.5",
60
60
  "@babel/plugin-transform-runtime": "~7.15.0",
61
- "@babel/preset-env": "~7.15.4",
61
+ "@babel/preset-env": "~7.15.6",
62
62
  "@babel/preset-react": "~7.14.5",
63
63
  "@babel/preset-typescript": "~7.15.0",
64
64
  "@babel/runtime": "~7.15.4",
65
65
  "@commitlint/cli": "~13.1.0",
66
66
  "@commitlint/config-conventional": "~13.1.0",
67
67
  "@elliemae/browserslist-config-elliemae": "~1.2.1",
68
- "@pmmmwh/react-refresh-webpack-plugin": "~0.4.3",
68
+ "@pmmmwh/react-refresh-webpack-plugin": "~0.5.1",
69
69
  "@semantic-release/changelog": "~5.0.1",
70
70
  "@semantic-release/exec": "~5.0.0",
71
71
  "@semantic-release/git": "~9.0.1",
@@ -88,14 +88,14 @@
88
88
  "@storybook/theming": "~6.3.8",
89
89
  "@svgr/webpack": "~5.5.0",
90
90
  "@testing-library/jest-dom": "~5.14.1",
91
- "@testing-library/react": "~12.0.0",
91
+ "@testing-library/react": "~12.1.0",
92
92
  "@testing-library/react-hooks": "~7.0.2",
93
93
  "@types/jest": "~27.0.1",
94
- "@types/node": "~16.7.12",
94
+ "@types/node": "~16.9.4",
95
95
  "@types/rimraf": "~3.0.2",
96
96
  "@types/testing-library__jest-dom": "~5.14.1",
97
- "@typescript-eslint/eslint-plugin": "~4.31.0",
98
- "@typescript-eslint/parser": "~4.31.0",
97
+ "@typescript-eslint/eslint-plugin": "~4.31.2",
98
+ "@typescript-eslint/parser": "~4.31.2",
99
99
  "autoprefixer": "~10.3.4",
100
100
  "axe-core": "~4.3.3",
101
101
  "babel-eslint": "~10.1.0",
@@ -116,11 +116,11 @@
116
116
  "classnames": "~2.3.1",
117
117
  "compare-versions": "~3.6.0",
118
118
  "compression": "~1.7.4",
119
- "compression-webpack-plugin": "~8.0.1",
119
+ "compression-webpack-plugin": "~9.0.0",
120
120
  "copy-webpack-plugin": "~9.0.1",
121
121
  "cors": "~2.8.5",
122
122
  "cross-env": "~7.0.3",
123
- "css-loader": "~6.2.0",
123
+ "css-loader": "~6.3.0",
124
124
  "css-minimizer-webpack-plugin": "~3.0.2",
125
125
  "depcheck": "~1.4.2",
126
126
  "docdash": "~1.2.0",
@@ -134,21 +134,21 @@
134
134
  "eslint-config-prettier": "~8.3.0",
135
135
  "eslint-config-react-app": "~6.0.0",
136
136
  "eslint-import-resolver-babel-module": "~5.3.1",
137
- "eslint-import-resolver-typescript": "~2.4.0",
137
+ "eslint-import-resolver-typescript": "~2.5.0",
138
138
  "eslint-import-resolver-webpack": "~0.13.1",
139
139
  "eslint-loader": "~4.0.2",
140
140
  "eslint-plugin-compat": "~3.13.0",
141
141
  "eslint-plugin-eslint-comments": "~3.2.0",
142
142
  "eslint-plugin-import": "~2.24.2",
143
- "eslint-plugin-jest": "~24.4.0",
144
- "eslint-plugin-jsdoc": "~36.0.8",
143
+ "eslint-plugin-jest": "~24.4.2",
144
+ "eslint-plugin-jsdoc": "~36.1.0",
145
145
  "eslint-plugin-jsx-a11y": "~6.4.1",
146
- "eslint-plugin-mdx": "~1.15.0",
146
+ "eslint-plugin-mdx": "~1.15.1",
147
147
  "eslint-plugin-prettier": "~4.0.0",
148
- "eslint-plugin-react": "~7.25.1",
148
+ "eslint-plugin-react": "~7.25.3",
149
149
  "eslint-plugin-react-hooks": "~4.2.0",
150
150
  "eslint-plugin-redux-saga": "~1.2.1",
151
- "eslint-plugin-testing-library": "~4.12.1",
151
+ "eslint-plugin-testing-library": "~4.12.3",
152
152
  "eslint-plugin-wdio": "~7.4.2",
153
153
  "eslint-webpack-plugin": "~3.0.1",
154
154
  "execa": "~5.1.1",
@@ -159,24 +159,24 @@
159
159
  "helmet-csp": "~3.4.0",
160
160
  "html-loader": "~2.1.2",
161
161
  "html-webpack-plugin": "~5.3.2",
162
- "http-server": "~13.0.1",
162
+ "http-server": "~13.0.2",
163
163
  "husky": "~7.0.2",
164
164
  "husky-init": "~7.0.0",
165
165
  "image-minimizer-webpack-plugin": "~2.2.0",
166
166
  "imagemin-gifsicle": "~7.0.0",
167
167
  "imagemin-jpegtran": "~7.0.0",
168
168
  "imagemin-optipng": "~8.0.0",
169
- "imagemin-svgo": "~9.0.0",
169
+ "imagemin-svgo": "~10.0.0",
170
170
  "imports-loader": "~3.0.0",
171
171
  "ip": "~1.1.5",
172
172
  "jest-axe": "~5.0.1",
173
- "jest-cli": "~27.1.0",
173
+ "jest-cli": "~27.2.1",
174
174
  "jest-sonar-reporter": "~2.0.0",
175
175
  "jest-styled-components": "~7.0.5",
176
176
  "jscodeshift": "~0.13.0",
177
177
  "jsdoc": "~3.6.7",
178
178
  "lint-staged": "~11.1.2",
179
- "mini-css-extract-plugin": "~2.2.2",
179
+ "mini-css-extract-plugin": "~2.3.0",
180
180
  "minimist": "~1.2.5",
181
181
  "moment": "~2.29.1",
182
182
  "moment-locales-webpack-plugin": "~1.2.0",
@@ -186,13 +186,13 @@
186
186
  "npm-check-updates": "~11.8.5",
187
187
  "null-loader": "~4.0.1",
188
188
  "pino": "~6.13.2",
189
- "pino-pretty": "~6.0.0",
189
+ "pino-pretty": "~7.0.1",
190
190
  "pinst": "~2.1.6",
191
191
  "plop": "~2.7.4",
192
192
  "postcss": "~8.3.6",
193
193
  "postcss-loader": "~6.1.1",
194
194
  "postcss-preset-env": "~6.7.0",
195
- "prettier": "~2.3.2",
195
+ "prettier": "~2.4.1",
196
196
  "pug": "~3.0.2",
197
197
  "pug-loader": "~2.4.0",
198
198
  "raf": "~3.4.1",
@@ -204,7 +204,7 @@
204
204
  "resize-observer-polyfill": "~1.5.1",
205
205
  "rimraf": "~3.0.2",
206
206
  "script-loader": "~0.7.2",
207
- "semantic-release": "~17.4.7",
207
+ "semantic-release": "~18.0.0",
208
208
  "shelljs": "~0.8.4",
209
209
  "slackify-markdown": "~4.3.0",
210
210
  "storybook-react-router": "~1.0.8",
@@ -217,28 +217,28 @@
217
217
  "stylelint-processor-styled-components": "~1.10.0",
218
218
  "stylelint-webpack-plugin": "~3.0.1",
219
219
  "svg-url-loader": "~7.1.1",
220
- "svgo": "~2.5.0",
221
- "terser-webpack-plugin": "~5.2.3",
220
+ "svgo": "~2.6.1",
221
+ "terser-webpack-plugin": "~5.2.4",
222
222
  "ts-node": "~10.2.1",
223
223
  "tsc-alias": "~1.3.9",
224
224
  "tsconfig-paths": "~3.11.0",
225
225
  "tsconfig-paths-webpack-plugin": "~3.5.1",
226
- "type-fest": "~2.2.0",
227
- "typescript": "~4.4.2",
226
+ "type-fest": "~2.3.4",
227
+ "typescript": "~4.4.3",
228
228
  "update-notifier": "~5.1.0",
229
229
  "url-loader": "~4.1.1",
230
230
  "uuid": "~8.3.2",
231
- "webpack": "~5.52.0",
231
+ "webpack": "~5.53.0",
232
232
  "webpack-bundle-analyzer": "~4.4.2",
233
233
  "webpack-cli": "~4.8.0",
234
- "webpack-dev-middleware": "~5.0.0",
235
- "webpack-hot-middleware": "~2.25.0",
234
+ "webpack-dev-middleware": "~5.1.0",
235
+ "webpack-hot-middleware": "~2.25.1",
236
236
  "webpack-manifest-plugin": "~4.0.2",
237
237
  "webpack-merge": "~5.8.0",
238
238
  "webpack-pwa-manifest": "~4.3.0",
239
239
  "webpack-strip-block": "~0.3.0",
240
240
  "whatwg-fetch": "~3.6.2",
241
- "workbox-webpack-plugin": "~6.2.4",
241
+ "workbox-webpack-plugin": "~6.3.0",
242
242
  "yargs": "~17.1.1"
243
243
  },
244
244
  "devDependencies": {