@elliemae/pui-cli 7.9.0 → 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
|
-
|
|
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 {
|
|
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
|
-
|
|
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
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.10.0",
|
|
4
4
|
"description": "ICE MT UI Platform CLI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -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.8.
|
|
87
|
-
"@nrwl/tao": "14.8.
|
|
88
|
-
"@nrwl/workspace": "14.8.
|
|
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",
|
|
@@ -102,7 +102,7 @@
|
|
|
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.
|
|
105
|
+
"@svgr/webpack": "~6.4.0",
|
|
106
106
|
"@swc/cli": "~0.1.57",
|
|
107
107
|
"@swc/core": "~1.3.4",
|
|
108
108
|
"@swc/jest": "~0.2.23",
|
|
@@ -111,12 +111,12 @@
|
|
|
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.
|
|
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.
|
|
119
|
-
"@typescript-eslint/parser": "~5.
|
|
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
|
|
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",
|
|
@@ -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.7.
|
|
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",
|
|
@@ -199,7 +199,7 @@
|
|
|
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.
|
|
202
|
+
"jscodeshift": "~0.14.0",
|
|
203
203
|
"jsdoc": "~3.6.11",
|
|
204
204
|
"lerna": "~5.5.4",
|
|
205
205
|
"lint-staged": "~13.0.3",
|
|
@@ -207,14 +207,14 @@
|
|
|
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.
|
|
211
|
-
"node-gyp": "~9.
|
|
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.3.
|
|
215
|
+
"npm-check-updates": "16.3.8",
|
|
216
216
|
"pino": "~8.6.1",
|
|
217
|
-
"pino-pretty": "~9.1.
|
|
217
|
+
"pino-pretty": "~9.1.1",
|
|
218
218
|
"plop": "~3.1.1",
|
|
219
219
|
"postcss": "~8.4.17",
|
|
220
220
|
"postcss-html": "~1.5.0",
|
|
@@ -243,7 +243,7 @@
|
|
|
243
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.
|
|
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",
|
|
@@ -263,7 +263,7 @@
|
|
|
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.
|
|
266
|
+
"yargs": "~17.6.0"
|
|
267
267
|
},
|
|
268
268
|
"devDependencies": {
|
|
269
269
|
"react": "~18.2.0",
|