@elliemae/pui-cli 7.8.1 → 7.10.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.
@@ -59,7 +59,7 @@ const getHtmlWebpackPlugins = () => {
59
59
  })
60
60
  );
61
61
  };
62
- var webpack_lib_prod_babel_default = (0, import_webpack_lib_base_babel.baseConfig)({
62
+ const prodConfig = {
63
63
  mode: "production",
64
64
  optimization: {
65
65
  moduleIds: "deterministic",
@@ -91,4 +91,13 @@ var webpack_lib_prod_babel_default = (0, import_webpack_lib_base_babel.baseConfi
91
91
  performance: {
92
92
  assetFilter: (assetFilename) => !/(\.map$)|(^(main\.|favicon\.))/.test(assetFilename)
93
93
  }
94
- });
94
+ };
95
+ const prodConfigWithHash = { ...prodConfig };
96
+ const libraryName = (0, import_helpers.getLibraryName)();
97
+ prodConfigWithHash.output = {
98
+ path: import_node_path.default.resolve(process.cwd(), "dist/public"),
99
+ filename: `js/${libraryName}.[chunkhash].js`,
100
+ chunkFilename: `js/${libraryName}.[chunkhash].chunk.js`,
101
+ assetModuleFilename: "assets/[name].[hash][ext][query]"
102
+ };
103
+ var webpack_lib_prod_babel_default = [(0, import_webpack_lib_base_babel.baseConfig)(prodConfig), (0, import_webpack_lib_base_babel.baseConfig)(prodConfigWithHash)];
@@ -5,7 +5,11 @@ import HtmlWebpackPlugin from "html-webpack-plugin";
5
5
  import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer";
6
6
  import { ESBuildMinifyPlugin } from "esbuild-loader";
7
7
  import browserslistToEsbuild from "browserslist-to-esbuild";
8
- import { getLibraryVariableName, getCompressionPlugins } from "./helpers.js";
8
+ import {
9
+ getLibraryVariableName,
10
+ getCompressionPlugins,
11
+ getLibraryName
12
+ } from "./helpers.js";
9
13
  import { baseConfig } from "./webpack.lib.base.babel.js";
10
14
  const getHtmlWebpackPlugins = () => {
11
15
  const htmlTemplateFiles = fg.sync([path.join(process.cwd(), "lib/*.html")]);
@@ -30,7 +34,7 @@ const getHtmlWebpackPlugins = () => {
30
34
  })
31
35
  );
32
36
  };
33
- var webpack_lib_prod_babel_default = baseConfig({
37
+ const prodConfig = {
34
38
  mode: "production",
35
39
  optimization: {
36
40
  moduleIds: "deterministic",
@@ -62,7 +66,16 @@ var webpack_lib_prod_babel_default = baseConfig({
62
66
  performance: {
63
67
  assetFilter: (assetFilename) => !/(\.map$)|(^(main\.|favicon\.))/.test(assetFilename)
64
68
  }
65
- });
69
+ };
70
+ const prodConfigWithHash = { ...prodConfig };
71
+ const libraryName = getLibraryName();
72
+ prodConfigWithHash.output = {
73
+ path: path.resolve(process.cwd(), "dist/public"),
74
+ filename: `js/${libraryName}.[chunkhash].js`,
75
+ chunkFilename: `js/${libraryName}.[chunkhash].chunk.js`,
76
+ assetModuleFilename: "assets/[name].[hash][ext][query]"
77
+ };
78
+ var webpack_lib_prod_babel_default = [baseConfig(prodConfig), baseConfig(prodConfigWithHash)];
66
79
  export {
67
80
  webpack_lib_prod_babel_default as default
68
81
  };
@@ -98,5 +98,5 @@ declare const _default: {
98
98
  devtool: any;
99
99
  performance: any;
100
100
  devServer: any;
101
- };
101
+ }[];
102
102
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "7.8.1",
3
+ "version": "7.10.0",
4
4
  "description": "ICE MT UI Platform CLI",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -62,9 +62,9 @@
62
62
  "sonar56x": true
63
63
  },
64
64
  "dependencies": {
65
- "@axe-core/react": "~4.4.4",
66
- "@babel/cli": "~7.18.10",
67
- "@babel/core": "~7.19.1",
65
+ "@axe-core/react": "~4.4.5",
66
+ "@babel/cli": "~7.19.3",
67
+ "@babel/core": "~7.19.3",
68
68
  "@babel/eslint-parser": "~7.19.1",
69
69
  "@babel/node": "~7.19.1",
70
70
  "@babel/plugin-proposal-class-properties": "~7.18.6",
@@ -75,7 +75,7 @@
75
75
  "@babel/plugin-transform-react-inline-elements": "~7.18.6",
76
76
  "@babel/plugin-transform-react-jsx-source": "~7.18.6",
77
77
  "@babel/plugin-transform-runtime": "~7.19.1",
78
- "@babel/preset-env": "~7.19.1",
78
+ "@babel/preset-env": "~7.19.3",
79
79
  "@babel/preset-react": "~7.18.6",
80
80
  "@babel/preset-typescript": "~7.18.6",
81
81
  "@babel/runtime": "~7.19.0",
@@ -83,9 +83,9 @@
83
83
  "@commitlint/config-conventional": "~17.1.0",
84
84
  "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.5.0",
85
85
  "@faker-js/faker": "7.5.0",
86
- "@nrwl/cli": "14.7.11",
87
- "@nrwl/tao": "14.7.11",
88
- "@nrwl/workspace": "14.7.11",
86
+ "@nrwl/cli": "14.8.3",
87
+ "@nrwl/tao": "14.8.3",
88
+ "@nrwl/workspace": "14.8.3",
89
89
  "@pmmmwh/react-refresh-webpack-plugin": "~0.5.7",
90
90
  "@semantic-release/changelog": "~6.0.1",
91
91
  "@semantic-release/exec": "~6.0.3",
@@ -96,27 +96,27 @@
96
96
  "@storybook/addon-interactions": "~6.5.12",
97
97
  "@storybook/addon-links": "~6.5.12",
98
98
  "@storybook/addon-storysource": "~6.5.12",
99
- "@storybook/builder-vite": "~0.2.2",
99
+ "@storybook/builder-vite": "~0.2.3",
100
100
  "@storybook/builder-webpack5": "~6.5.12",
101
101
  "@storybook/manager-webpack5": "~6.5.12",
102
102
  "@storybook/react": "~6.5.12",
103
103
  "@storybook/theming": "~6.5.12",
104
104
  "@stylelint/postcss-css-in-js": "~0.38.0",
105
- "@svgr/webpack": "~6.3.1",
105
+ "@svgr/webpack": "~6.4.0",
106
106
  "@swc/cli": "~0.1.57",
107
- "@swc/core": "~1.3.2",
108
- "@swc/jest": "~0.2.22",
107
+ "@swc/core": "~1.3.4",
108
+ "@swc/jest": "~0.2.23",
109
109
  "@testing-library/jest-dom": "~5.16.5",
110
110
  "@testing-library/react": "~13.4.0",
111
111
  "@testing-library/react-hooks": "~8.0.1",
112
112
  "@testing-library/user-event": "~14.4.3",
113
113
  "@types/jest": "~28.1.8",
114
- "@types/node": "~18.7.18",
114
+ "@types/node": "~18.8.2",
115
115
  "@types/rimraf": "~3.0.2",
116
116
  "@types/supertest": "~2.0.12",
117
117
  "@types/testing-library__jest-dom": "~5.14.5",
118
- "@typescript-eslint/eslint-plugin": "~5.38.0",
119
- "@typescript-eslint/parser": "~5.38.0",
118
+ "@typescript-eslint/eslint-plugin": "~5.39.0",
119
+ "@typescript-eslint/parser": "~5.39.0",
120
120
  "@vitejs/plugin-react": "~2.1.0",
121
121
  "@vitest/coverage-c8": "~0.23.4",
122
122
  "autoprefixer": "~10.4.12",
@@ -134,7 +134,7 @@
134
134
  "body-parser": "~1.20.0",
135
135
  "browserslist": "~4.21.4",
136
136
  "browserslist-to-esbuild": "~1.2.0",
137
- "chalk": "~5.0.1",
137
+ "chalk": "~5.1.0",
138
138
  "circular-dependency-plugin": "~5.2.2",
139
139
  "compression": "~1.7.4",
140
140
  "compression-webpack-plugin": "~10.0.0",
@@ -142,17 +142,17 @@
142
142
  "cors": "~2.8.5",
143
143
  "cross-env": "~7.0.3",
144
144
  "css-loader": "~6.7.1",
145
- "css-minimizer-webpack-plugin": "~4.1.0",
145
+ "css-minimizer-webpack-plugin": "~4.2.0",
146
146
  "depcheck": "~1.4.3",
147
147
  "docdash": "~1.2.0",
148
- "dotenv": "~16.0.2",
148
+ "dotenv": "~16.0.3",
149
149
  "dotenv-webpack": "~8.0.1",
150
150
  "duplicate-package-checker-webpack-plugin": "~3.0.0",
151
151
  "enhanced-resolve": "5.10.0",
152
- "esbuild": "~0.15.8",
152
+ "esbuild": "~0.15.10",
153
153
  "esbuild-loader": "~2.20.0",
154
154
  "esbuild-plugin-svgr": "~1.0.1",
155
- "eslint": "~8.23.1",
155
+ "eslint": "~8.24.0",
156
156
  "eslint-config-airbnb": "~19.0.4",
157
157
  "eslint-config-airbnb-base": "~15.0.0",
158
158
  "eslint-config-airbnb-typescript": "~17.0.0",
@@ -173,7 +173,7 @@
173
173
  "eslint-plugin-react-hooks": "~4.6.0",
174
174
  "eslint-plugin-redux-saga": "~1.3.2",
175
175
  "eslint-plugin-storybook": "~0.6.4",
176
- "eslint-plugin-testing-library": "~5.6.4",
176
+ "eslint-plugin-testing-library": "~5.7.2",
177
177
  "eslint-plugin-wdio": "~7.21.0",
178
178
  "execa": "~6.1.0",
179
179
  "express": "~4.18.1",
@@ -186,7 +186,7 @@
186
186
  "find-up-cli": "~5.0.0",
187
187
  "happy-dom": "~6.0.4",
188
188
  "helmet-csp": "~3.4.0",
189
- "html-loader": "~4.1.0",
189
+ "html-loader": "~4.2.0",
190
190
  "html-webpack-plugin": "~5.5.0",
191
191
  "http-server": "~14.1.1",
192
192
  "husky": "~8.0.1",
@@ -199,24 +199,24 @@
199
199
  "jest-sonar-reporter": "~2.0.0",
200
200
  "jest-styled-components": "~7.1.1",
201
201
  "jest-watch-typeahead": "~2.2.0",
202
- "jscodeshift": "~0.13.1",
202
+ "jscodeshift": "~0.14.0",
203
203
  "jsdoc": "~3.6.11",
204
- "lerna": "~5.5.2",
204
+ "lerna": "~5.5.4",
205
205
  "lint-staged": "~13.0.3",
206
206
  "mini-css-extract-plugin": "~2.6.1",
207
207
  "minimist": "~1.2.6",
208
208
  "moment": "~2.29.4",
209
209
  "moment-locales-webpack-plugin": "~1.2.0",
210
- "msw": "~0.47.3",
211
- "node-gyp": "~9.1.0",
210
+ "msw": "~0.47.4",
211
+ "node-gyp": "~9.2.0",
212
212
  "node-plop": "~0.31.0",
213
213
  "nodemon": "~2.0.20",
214
214
  "normalize-path": "~3.0.0",
215
- "npm-check-updates": "16.2.1",
216
- "pino": "~8.6.0",
217
- "pino-pretty": "~9.1.0",
215
+ "npm-check-updates": "16.3.8",
216
+ "pino": "~8.6.1",
217
+ "pino-pretty": "~9.1.1",
218
218
  "plop": "~3.1.1",
219
- "postcss": "~8.4.16",
219
+ "postcss": "~8.4.17",
220
220
  "postcss-html": "~1.5.0",
221
221
  "postcss-jsx": "~0.36.4",
222
222
  "postcss-loader": "~7.0.1",
@@ -240,21 +240,21 @@
240
240
  "storybook-builder-vite": "~0.1.23",
241
241
  "storybook-react-router": "~1.0.8",
242
242
  "style-loader": "~3.3.1",
243
- "stylelint": "~14.12.1",
243
+ "stylelint": "~14.13.0",
244
244
  "stylelint-config-recommended": "~9.0.0",
245
245
  "stylelint-config-styled-components": "~0.1.1",
246
- "supertest": "~6.2.4",
246
+ "supertest": "~6.3.0",
247
247
  "swc-loader": "~0.2.3",
248
248
  "ts-node": "~10.9.1",
249
249
  "tsc-alias": "~1.7.0",
250
250
  "typedoc": "~0.23.15",
251
- "typescript": "~4.8.3",
251
+ "typescript": "~4.8.4",
252
252
  "update-notifier": "~6.0.2",
253
253
  "url-loader": "~4.1.1",
254
254
  "uuid": "~9.0.0",
255
- "vite": "~3.1.3",
255
+ "vite": "~3.1.4",
256
256
  "vitest": "~0.23.4",
257
- "vite-tsconfig-paths": "~3.5.0",
257
+ "vite-tsconfig-paths": "~3.5.1",
258
258
  "webpack": "~5.74.0",
259
259
  "webpack-bundle-analyzer": "~4.6.1",
260
260
  "webpack-cli": "~4.10.0",
@@ -263,13 +263,13 @@
263
263
  "webpack-merge": "~5.8.0",
264
264
  "whatwg-fetch": "~3.6.2",
265
265
  "workbox-webpack-plugin": "~6.5.4",
266
- "yargs": "~17.5.1"
266
+ "yargs": "~17.6.0"
267
267
  },
268
268
  "devDependencies": {
269
269
  "react": "~18.2.0",
270
270
  "react-dom": "~18.2.0",
271
271
  "redux": "~4.2.0",
272
272
  "redux-saga": "~1.2.1",
273
- "styled-components": "~5.3.5"
273
+ "styled-components": "~5.3.6"
274
274
  }
275
275
  }