@elliemae/pui-cli 7.20.0 → 7.20.2
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/dist/cjs/commands/build.js +3 -2
- package/dist/cjs/commands/lint.js +4 -3
- package/dist/cjs/commands/pack.js +6 -3
- package/dist/cjs/commands/storybook.js +2 -2
- package/dist/cjs/commands/test.js +2 -3
- package/dist/cjs/commands/utils.js +2 -0
- package/dist/cjs/commands/vitest.js +2 -3
- package/dist/cjs/webpack/webpack.base.babel.js +1 -2
- package/dist/cjs/webpack/webpack.dev.babel.js +3 -1
- package/dist/cjs/webpack/webpack.lib.base.babel.js +1 -2
- package/dist/cjs/webpack/webpack.lib.dev.babel.js +3 -1
- package/dist/esm/commands/build.js +5 -3
- package/dist/esm/commands/lint.js +5 -4
- package/dist/esm/commands/pack.js +7 -4
- package/dist/esm/commands/storybook.js +2 -2
- package/dist/esm/commands/test.js +3 -4
- package/dist/esm/commands/utils.js +2 -0
- package/dist/esm/commands/vitest.js +3 -4
- package/dist/esm/webpack/webpack.base.babel.js +1 -2
- package/dist/esm/webpack/webpack.dev.babel.js +3 -1
- package/dist/esm/webpack/webpack.lib.base.babel.js +1 -2
- package/dist/esm/webpack/webpack.lib.dev.babel.js +3 -1
- package/dist/types/commands/utils.d.ts +1 -0
- package/package.json +17 -17
|
@@ -35,12 +35,13 @@ var import_esbuild = require("../transpile/esbuild.js");
|
|
|
35
35
|
const import_meta = {};
|
|
36
36
|
const __dirname = import_node_path.default.dirname((0, import_node_url.fileURLToPath)(import_meta.url));
|
|
37
37
|
const buildWebApp = async () => {
|
|
38
|
+
const cliOptions = (0, import_utils.getCIEnv)() ? "--no-stats-colors --stats errors-only" : "";
|
|
38
39
|
await (0, import_utils.exec)(`rimraf ./build`);
|
|
39
40
|
await (0, import_utils.exec)(
|
|
40
|
-
`cross-env NODE_ENV=production webpack --config ${import_node_path.default.resolve(
|
|
41
|
+
`cross-env NODE_ENV=production webpack ${cliOptions} --config ${import_node_path.default.resolve(
|
|
41
42
|
__dirname,
|
|
42
43
|
"../webpack/webpack.prod.babel.js"
|
|
43
|
-
)}
|
|
44
|
+
)}`
|
|
44
45
|
);
|
|
45
46
|
await (0, import_utils.copyBuildAssetsToVersionedFolder)();
|
|
46
47
|
await (0, import_utils.writeAppInfo)();
|
|
@@ -31,11 +31,10 @@ var import_node_path = __toESM(require("node:path"), 1);
|
|
|
31
31
|
var import_yargs = __toESM(require("yargs"), 1);
|
|
32
32
|
var import_utils = require("./utils.js");
|
|
33
33
|
var import_utils2 = require("../utils.cjs");
|
|
34
|
-
const { CI = false } = process.env;
|
|
35
34
|
const lintCSS = async (fix = false) => {
|
|
36
35
|
const fixIssues = fix ? "--fix" : "";
|
|
37
36
|
await (0, import_utils.exec)(
|
|
38
|
-
`stylelint ./{lib,app}/**/*.{js,jsx,ts,tsx} ${fixIssues} ${!
|
|
37
|
+
`stylelint ./{lib,app}/**/*.{js,jsx,ts,tsx} ${fixIssues} ${!(0, import_utils.getCIEnv)() ? "--color" : "--no-color"} --allow-empty-input --config ${import_node_path.default.join(
|
|
39
38
|
process.cwd(),
|
|
40
39
|
"stylelint.config.cjs"
|
|
41
40
|
)}`
|
|
@@ -43,7 +42,9 @@ const lintCSS = async (fix = false) => {
|
|
|
43
42
|
};
|
|
44
43
|
const lintJS = async (fix = false) => {
|
|
45
44
|
const fixIssues = fix ? "--fix" : "";
|
|
46
|
-
await (0, import_utils.exec)(
|
|
45
|
+
await (0, import_utils.exec)(
|
|
46
|
+
`eslint ${!(0, import_utils.getCIEnv)() ? "--color" : "--no-color"} ${fixIssues} .`
|
|
47
|
+
);
|
|
47
48
|
};
|
|
48
49
|
const lintCmd = {
|
|
49
50
|
handler: async (argv) => {
|
|
@@ -42,15 +42,18 @@ const compileTypeScript = async () => {
|
|
|
42
42
|
};
|
|
43
43
|
const webBuild = async (productionBuild) => {
|
|
44
44
|
(0, import_utils.logInfo)("Building source files for browser environment...");
|
|
45
|
+
const cliOptions = (0, import_utils.getCIEnv)() ? "--no-stats-colors --stats errors-only" : "";
|
|
45
46
|
const devCmd = `${import_node_path.default.resolve(
|
|
46
47
|
__dirname,
|
|
47
48
|
"../webpack/webpack.lib.dev.babel.js"
|
|
48
|
-
)}
|
|
49
|
+
)}`;
|
|
49
50
|
const prodCmd = `${import_node_path.default.resolve(
|
|
50
51
|
__dirname,
|
|
51
52
|
"../webpack/webpack.lib.prod.babel.js"
|
|
52
|
-
)}
|
|
53
|
-
await (0, import_utils.exec)(
|
|
53
|
+
)}`;
|
|
54
|
+
await (0, import_utils.exec)(
|
|
55
|
+
`webpack ${cliOptions} --config ${productionBuild ? prodCmd : devCmd}`
|
|
56
|
+
);
|
|
54
57
|
(0, import_utils.logInfo)("Building source files for browser environment completed...");
|
|
55
58
|
};
|
|
56
59
|
const pack = async ({ production, target, srcPath }) => {
|
|
@@ -32,12 +32,12 @@ var import_utils = require("./utils.js");
|
|
|
32
32
|
const buildStoryBook = async (outputDir = "demo", isDoc = false) => {
|
|
33
33
|
const additionalParams = isDoc ? `--docs -o ${outputDir}/docs` : `-o ${outputDir}`;
|
|
34
34
|
await (0, import_utils.exec)(
|
|
35
|
-
`cross-env NODE_ENV=production
|
|
35
|
+
`cross-env NODE_ENV=production build-storybook --quiet ${additionalParams}`
|
|
36
36
|
);
|
|
37
37
|
};
|
|
38
38
|
const startStoryBook = async (isDoc = false) => {
|
|
39
39
|
await (0, import_utils.exec)(
|
|
40
|
-
`cross-env NODE_ENV=development STORYBOOK_BUILD=true
|
|
40
|
+
`cross-env NODE_ENV=development STORYBOOK_BUILD=true start-storybook ${isDoc && "--docs"} -p 11000 --quiet`
|
|
41
41
|
);
|
|
42
42
|
};
|
|
43
43
|
const storybookCmd = {
|
|
@@ -29,7 +29,6 @@ __export(test_exports, {
|
|
|
29
29
|
module.exports = __toCommonJS(test_exports);
|
|
30
30
|
var import_yargs = __toESM(require("yargs"), 1);
|
|
31
31
|
var import_utils = require("./utils.js");
|
|
32
|
-
const { CI = false } = process.env;
|
|
33
32
|
const test = async (commandOptions) => {
|
|
34
33
|
await (0, import_utils.exec)(`cross-env NODE_ENV=test jest ${commandOptions}`);
|
|
35
34
|
};
|
|
@@ -45,7 +44,7 @@ const testCmd = {
|
|
|
45
44
|
commandOptions = "-u";
|
|
46
45
|
else if (argv.watch)
|
|
47
46
|
commandOptions = "--watchAll";
|
|
48
|
-
if (
|
|
47
|
+
if ((0, import_utils.getCIEnv)())
|
|
49
48
|
commandOptions += " --ci --no-colors";
|
|
50
49
|
if (argv.p)
|
|
51
50
|
commandOptions += " --passWithNoTests";
|
|
@@ -54,7 +53,7 @@ const testCmd = {
|
|
|
54
53
|
if (argv.s)
|
|
55
54
|
commandOptions += " --silent";
|
|
56
55
|
try {
|
|
57
|
-
if (
|
|
56
|
+
if ((0, import_utils.getCIEnv)()) {
|
|
58
57
|
await (0, import_utils.exec)("rimraf ./reports");
|
|
59
58
|
}
|
|
60
59
|
if (argv.debug) {
|
|
@@ -26,6 +26,7 @@ var utils_exports = {};
|
|
|
26
26
|
__export(utils_exports, {
|
|
27
27
|
copyBuildAssetsToVersionedFolder: () => copyBuildAssetsToVersionedFolder,
|
|
28
28
|
exec: () => exec,
|
|
29
|
+
getCIEnv: () => getCIEnv,
|
|
29
30
|
isApp: () => isApp,
|
|
30
31
|
isPathExist: () => isPathExist,
|
|
31
32
|
logError: () => logError,
|
|
@@ -155,3 +156,4 @@ const isPathExist = async (pathToCheck) => {
|
|
|
155
156
|
}
|
|
156
157
|
};
|
|
157
158
|
const isApp = async () => isPathExist(import_node_path.default.join(process.cwd(), "app"));
|
|
159
|
+
const getCIEnv = () => process.env.CI === "true";
|
|
@@ -29,9 +29,8 @@ __export(vitest_exports, {
|
|
|
29
29
|
module.exports = __toCommonJS(vitest_exports);
|
|
30
30
|
var import_yargs = __toESM(require("yargs"), 1);
|
|
31
31
|
var import_utils = require("./utils.js");
|
|
32
|
-
const { CI = false } = process.env;
|
|
33
32
|
const test = async (commandOptions) => {
|
|
34
|
-
await (0, import_utils.exec)(`
|
|
33
|
+
await (0, import_utils.exec)(`vitest ${commandOptions}`);
|
|
35
34
|
};
|
|
36
35
|
const vitestCmd = {
|
|
37
36
|
handler: async (argv) => {
|
|
@@ -47,7 +46,7 @@ const vitestCmd = {
|
|
|
47
46
|
if (argv.s)
|
|
48
47
|
commandOptions += " --silent";
|
|
49
48
|
try {
|
|
50
|
-
if (
|
|
49
|
+
if ((0, import_utils.getCIEnv)()) {
|
|
51
50
|
await (0, import_utils.exec)("rimraf ./reports");
|
|
52
51
|
}
|
|
53
52
|
await test(commandOptions);
|
|
@@ -29,6 +29,7 @@ __export(webpack_dev_babel_exports, {
|
|
|
29
29
|
module.exports = __toCommonJS(webpack_dev_babel_exports);
|
|
30
30
|
var import_node_path = __toESM(require("node:path"), 1);
|
|
31
31
|
var import_node_url = require("node:url");
|
|
32
|
+
var import_webpack = __toESM(require("webpack"), 1);
|
|
32
33
|
var import_html_webpack_plugin = __toESM(require("html-webpack-plugin"), 1);
|
|
33
34
|
var import_circular_dependency_plugin = __toESM(require("circular-dependency-plugin"), 1);
|
|
34
35
|
var import_mini_css_extract_plugin = __toESM(require("mini-css-extract-plugin"), 1);
|
|
@@ -111,7 +112,8 @@ const devConfig = {
|
|
|
111
112
|
new import_mini_css_extract_plugin.default({
|
|
112
113
|
filename: "[name].css",
|
|
113
114
|
chunkFilename: "[name].chunk.css"
|
|
114
|
-
})
|
|
115
|
+
}),
|
|
116
|
+
new import_webpack.default.ProgressPlugin()
|
|
115
117
|
],
|
|
116
118
|
devtool: "eval-source-map",
|
|
117
119
|
performance: {
|
|
@@ -71,8 +71,7 @@ const plugins = [
|
|
|
71
71
|
new import_webpack.default.optimize.LimitChunkCountPlugin({
|
|
72
72
|
maxChunks: 1
|
|
73
73
|
}),
|
|
74
|
-
new import_moment_locales_webpack_plugin.default({ localesToKeep: ["es-us"] })
|
|
75
|
-
new import_webpack.default.ProgressPlugin()
|
|
74
|
+
new import_moment_locales_webpack_plugin.default({ localesToKeep: ["es-us"] })
|
|
76
75
|
];
|
|
77
76
|
const baseConfig = (options) => ({
|
|
78
77
|
mode: options.mode,
|
|
@@ -28,6 +28,7 @@ __export(webpack_lib_dev_babel_exports, {
|
|
|
28
28
|
});
|
|
29
29
|
module.exports = __toCommonJS(webpack_lib_dev_babel_exports);
|
|
30
30
|
var import_node_path = __toESM(require("node:path"), 1);
|
|
31
|
+
var import_webpack = __toESM(require("webpack"), 1);
|
|
31
32
|
var import_fast_glob = __toESM(require("fast-glob"), 1);
|
|
32
33
|
var import_circular_dependency_plugin = __toESM(require("circular-dependency-plugin"), 1);
|
|
33
34
|
var import_mini_css_extract_plugin = __toESM(require("mini-css-extract-plugin"), 1);
|
|
@@ -62,7 +63,8 @@ var webpack_lib_dev_babel_default = (0, import_webpack_lib_base_babel.baseConfig
|
|
|
62
63
|
exclude: /a\.(js|ts|jsx|tsx)|node_modules/,
|
|
63
64
|
failOnError: false
|
|
64
65
|
}),
|
|
65
|
-
new import_mini_css_extract_plugin.default({})
|
|
66
|
+
new import_mini_css_extract_plugin.default({}),
|
|
67
|
+
new import_webpack.default.ProgressPlugin()
|
|
66
68
|
],
|
|
67
69
|
devtool: "eval-source-map",
|
|
68
70
|
performance: {
|
|
@@ -7,17 +7,19 @@ import {
|
|
|
7
7
|
logError,
|
|
8
8
|
logSuccess,
|
|
9
9
|
writeAppInfo,
|
|
10
|
-
copyBuildAssetsToVersionedFolder
|
|
10
|
+
copyBuildAssetsToVersionedFolder,
|
|
11
|
+
getCIEnv
|
|
11
12
|
} from "./utils.js";
|
|
12
13
|
import { esBuild, TARGETS } from "../transpile/esbuild.js";
|
|
13
14
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
14
15
|
const buildWebApp = async () => {
|
|
16
|
+
const cliOptions = getCIEnv() ? "--no-stats-colors --stats errors-only" : "";
|
|
15
17
|
await exec(`rimraf ./build`);
|
|
16
18
|
await exec(
|
|
17
|
-
`cross-env NODE_ENV=production webpack --config ${path.resolve(
|
|
19
|
+
`cross-env NODE_ENV=production webpack ${cliOptions} --config ${path.resolve(
|
|
18
20
|
__dirname,
|
|
19
21
|
"../webpack/webpack.prod.babel.js"
|
|
20
|
-
)}
|
|
22
|
+
)}`
|
|
21
23
|
);
|
|
22
24
|
await copyBuildAssetsToVersionedFolder();
|
|
23
25
|
await writeAppInfo();
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
import yargs from "yargs";
|
|
3
|
-
import { exec, logError, logSuccess } from "./utils.js";
|
|
3
|
+
import { exec, logError, logSuccess, getCIEnv } from "./utils.js";
|
|
4
4
|
import { isTypeScriptEnabled } from "../utils.cjs";
|
|
5
|
-
const { CI = false } = process.env;
|
|
6
5
|
const lintCSS = async (fix = false) => {
|
|
7
6
|
const fixIssues = fix ? "--fix" : "";
|
|
8
7
|
await exec(
|
|
9
|
-
`stylelint ./{lib,app}/**/*.{js,jsx,ts,tsx} ${fixIssues} ${!
|
|
8
|
+
`stylelint ./{lib,app}/**/*.{js,jsx,ts,tsx} ${fixIssues} ${!getCIEnv() ? "--color" : "--no-color"} --allow-empty-input --config ${path.join(
|
|
10
9
|
process.cwd(),
|
|
11
10
|
"stylelint.config.cjs"
|
|
12
11
|
)}`
|
|
@@ -14,7 +13,9 @@ const lintCSS = async (fix = false) => {
|
|
|
14
13
|
};
|
|
15
14
|
const lintJS = async (fix = false) => {
|
|
16
15
|
const fixIssues = fix ? "--fix" : "";
|
|
17
|
-
await exec(
|
|
16
|
+
await exec(
|
|
17
|
+
`eslint ${!getCIEnv() ? "--color" : "--no-color"} ${fixIssues} .`
|
|
18
|
+
);
|
|
18
19
|
};
|
|
19
20
|
const lintCmd = {
|
|
20
21
|
handler: async (argv) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
3
|
import yargs from "yargs";
|
|
4
|
-
import { exec, logInfo, logError, logSuccess } from "./utils.js";
|
|
4
|
+
import { exec, logInfo, logError, logSuccess, getCIEnv } from "./utils.js";
|
|
5
5
|
import { isTypeScriptEnabled } from "../utils.cjs";
|
|
6
6
|
import { esBuild } from "../transpile/esbuild.js";
|
|
7
7
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
@@ -12,15 +12,18 @@ const compileTypeScript = async () => {
|
|
|
12
12
|
};
|
|
13
13
|
const webBuild = async (productionBuild) => {
|
|
14
14
|
logInfo("Building source files for browser environment...");
|
|
15
|
+
const cliOptions = getCIEnv() ? "--no-stats-colors --stats errors-only" : "";
|
|
15
16
|
const devCmd = `${path.resolve(
|
|
16
17
|
__dirname,
|
|
17
18
|
"../webpack/webpack.lib.dev.babel.js"
|
|
18
|
-
)}
|
|
19
|
+
)}`;
|
|
19
20
|
const prodCmd = `${path.resolve(
|
|
20
21
|
__dirname,
|
|
21
22
|
"../webpack/webpack.lib.prod.babel.js"
|
|
22
|
-
)}
|
|
23
|
-
await exec(
|
|
23
|
+
)}`;
|
|
24
|
+
await exec(
|
|
25
|
+
`webpack ${cliOptions} --config ${productionBuild ? prodCmd : devCmd}`
|
|
26
|
+
);
|
|
24
27
|
logInfo("Building source files for browser environment completed...");
|
|
25
28
|
};
|
|
26
29
|
const pack = async ({ production, target, srcPath }) => {
|
|
@@ -3,12 +3,12 @@ import { exec, logInfo, logError, logSuccess } from "./utils.js";
|
|
|
3
3
|
const buildStoryBook = async (outputDir = "demo", isDoc = false) => {
|
|
4
4
|
const additionalParams = isDoc ? `--docs -o ${outputDir}/docs` : `-o ${outputDir}`;
|
|
5
5
|
await exec(
|
|
6
|
-
`cross-env NODE_ENV=production
|
|
6
|
+
`cross-env NODE_ENV=production build-storybook --quiet ${additionalParams}`
|
|
7
7
|
);
|
|
8
8
|
};
|
|
9
9
|
const startStoryBook = async (isDoc = false) => {
|
|
10
10
|
await exec(
|
|
11
|
-
`cross-env NODE_ENV=development STORYBOOK_BUILD=true
|
|
11
|
+
`cross-env NODE_ENV=development STORYBOOK_BUILD=true start-storybook ${isDoc && "--docs"} -p 11000 --quiet`
|
|
12
12
|
);
|
|
13
13
|
};
|
|
14
14
|
const storybookCmd = {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import yargs from "yargs";
|
|
2
|
-
import { exec, logError, logSuccess } from "./utils.js";
|
|
3
|
-
const { CI = false } = process.env;
|
|
2
|
+
import { exec, logError, logSuccess, getCIEnv } from "./utils.js";
|
|
4
3
|
const test = async (commandOptions) => {
|
|
5
4
|
await exec(`cross-env NODE_ENV=test jest ${commandOptions}`);
|
|
6
5
|
};
|
|
@@ -16,7 +15,7 @@ const testCmd = {
|
|
|
16
15
|
commandOptions = "-u";
|
|
17
16
|
else if (argv.watch)
|
|
18
17
|
commandOptions = "--watchAll";
|
|
19
|
-
if (
|
|
18
|
+
if (getCIEnv())
|
|
20
19
|
commandOptions += " --ci --no-colors";
|
|
21
20
|
if (argv.p)
|
|
22
21
|
commandOptions += " --passWithNoTests";
|
|
@@ -25,7 +24,7 @@ const testCmd = {
|
|
|
25
24
|
if (argv.s)
|
|
26
25
|
commandOptions += " --silent";
|
|
27
26
|
try {
|
|
28
|
-
if (
|
|
27
|
+
if (getCIEnv()) {
|
|
29
28
|
await exec("rimraf ./reports");
|
|
30
29
|
}
|
|
31
30
|
if (argv.debug) {
|
|
@@ -131,9 +131,11 @@ const isPathExist = async (pathToCheck) => {
|
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
const isApp = async () => isPathExist(path.join(process.cwd(), "app"));
|
|
134
|
+
const getCIEnv = () => process.env.CI === "true";
|
|
134
135
|
export {
|
|
135
136
|
copyBuildAssetsToVersionedFolder,
|
|
136
137
|
exec,
|
|
138
|
+
getCIEnv,
|
|
137
139
|
isApp,
|
|
138
140
|
isPathExist,
|
|
139
141
|
logError,
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import yargs from "yargs";
|
|
2
|
-
import { exec, logError, logSuccess } from "./utils.js";
|
|
3
|
-
const { CI = false } = process.env;
|
|
2
|
+
import { exec, logError, logSuccess, getCIEnv } from "./utils.js";
|
|
4
3
|
const test = async (commandOptions) => {
|
|
5
|
-
await exec(`
|
|
4
|
+
await exec(`vitest ${commandOptions}`);
|
|
6
5
|
};
|
|
7
6
|
const vitestCmd = {
|
|
8
7
|
handler: async (argv) => {
|
|
@@ -18,7 +17,7 @@ const vitestCmd = {
|
|
|
18
17
|
if (argv.s)
|
|
19
18
|
commandOptions += " --silent";
|
|
20
19
|
try {
|
|
21
|
-
if (
|
|
20
|
+
if (getCIEnv()) {
|
|
22
21
|
await exec("rimraf ./reports");
|
|
23
22
|
}
|
|
24
23
|
await test(commandOptions);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
|
+
import webpack from "webpack";
|
|
3
4
|
import HtmlWebpackPlugin from "html-webpack-plugin";
|
|
4
5
|
import CircularDependencyPlugin from "circular-dependency-plugin";
|
|
5
6
|
import MiniCssExtractPlugin from "mini-css-extract-plugin";
|
|
@@ -85,7 +86,8 @@ const devConfig = {
|
|
|
85
86
|
new MiniCssExtractPlugin({
|
|
86
87
|
filename: "[name].css",
|
|
87
88
|
chunkFilename: "[name].chunk.css"
|
|
88
|
-
})
|
|
89
|
+
}),
|
|
90
|
+
new webpack.ProgressPlugin()
|
|
89
91
|
],
|
|
90
92
|
devtool: "eval-source-map",
|
|
91
93
|
performance: {
|
|
@@ -48,8 +48,7 @@ const plugins = [
|
|
|
48
48
|
new webpack.optimize.LimitChunkCountPlugin({
|
|
49
49
|
maxChunks: 1
|
|
50
50
|
}),
|
|
51
|
-
new MomentLocalesPlugin({ localesToKeep: ["es-us"] })
|
|
52
|
-
new webpack.ProgressPlugin()
|
|
51
|
+
new MomentLocalesPlugin({ localesToKeep: ["es-us"] })
|
|
53
52
|
];
|
|
54
53
|
const baseConfig = (options) => ({
|
|
55
54
|
mode: options.mode,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
|
+
import webpack from "webpack";
|
|
2
3
|
import fg from "fast-glob";
|
|
3
4
|
import CircularDependencyPlugin from "circular-dependency-plugin";
|
|
4
5
|
import MiniCssExtractPlugin from "mini-css-extract-plugin";
|
|
@@ -33,7 +34,8 @@ var webpack_lib_dev_babel_default = baseConfig({
|
|
|
33
34
|
exclude: /a\.(js|ts|jsx|tsx)|node_modules/,
|
|
34
35
|
failOnError: false
|
|
35
36
|
}),
|
|
36
|
-
new MiniCssExtractPlugin({})
|
|
37
|
+
new MiniCssExtractPlugin({}),
|
|
38
|
+
new webpack.ProgressPlugin()
|
|
37
39
|
],
|
|
38
40
|
devtool: "eval-source-map",
|
|
39
41
|
performance: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "7.20.
|
|
3
|
+
"version": "7.20.2",
|
|
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.3.0",
|
|
84
84
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.6.0",
|
|
85
85
|
"@faker-js/faker": "7.6.0",
|
|
86
|
-
"@nrwl/cli": "15.
|
|
87
|
-
"@nrwl/tao": "15.
|
|
88
|
-
"@nrwl/workspace": "15.
|
|
86
|
+
"@nrwl/cli": "15.3.0",
|
|
87
|
+
"@nrwl/tao": "15.3.0",
|
|
88
|
+
"@nrwl/workspace": "15.3.0",
|
|
89
89
|
"@pmmmwh/react-refresh-webpack-plugin": "~0.5.10",
|
|
90
90
|
"@semantic-release/changelog": "~6.0.2",
|
|
91
91
|
"@semantic-release/exec": "~6.0.3",
|
|
@@ -112,15 +112,15 @@
|
|
|
112
112
|
"@testing-library/user-event": "~14.4.3",
|
|
113
113
|
"@types/jest": "~29.2.4",
|
|
114
114
|
"@types/jest-axe": "~3.5.5",
|
|
115
|
-
"@types/node": "~18.11.
|
|
115
|
+
"@types/node": "~18.11.11",
|
|
116
116
|
"@types/rimraf": "~3.0.2",
|
|
117
117
|
"@types/supertest": "~2.0.12",
|
|
118
118
|
"@types/uuid": "~9.0.0",
|
|
119
119
|
"@types/testing-library__jest-dom": "~5.14.5",
|
|
120
|
-
"@typescript-eslint/eslint-plugin": "~5.45.
|
|
121
|
-
"@typescript-eslint/parser": "~5.45.
|
|
120
|
+
"@typescript-eslint/eslint-plugin": "~5.45.1",
|
|
121
|
+
"@typescript-eslint/parser": "~5.45.1",
|
|
122
122
|
"@vitejs/plugin-react": "~2.2.0",
|
|
123
|
-
"@vitest/coverage-c8": "~0.25.
|
|
123
|
+
"@vitest/coverage-c8": "~0.25.5",
|
|
124
124
|
"autoprefixer": "~10.4.13",
|
|
125
125
|
"axe-core": "~4.5.2",
|
|
126
126
|
"babel-plugin-date-fns": "~2.0.0",
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"dotenv-webpack": "~8.0.1",
|
|
152
152
|
"duplicate-package-checker-webpack-plugin": "~3.0.0",
|
|
153
153
|
"enhanced-resolve": "5.12.0",
|
|
154
|
-
"esbuild": "~0.
|
|
154
|
+
"esbuild": "~0.16.1",
|
|
155
155
|
"esbuild-loader": "~2.20.0",
|
|
156
156
|
"esbuild-plugin-svgr": "~1.0.1",
|
|
157
157
|
"eslint": "~8.29.0",
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"fast-glob": "~3.2.12",
|
|
187
187
|
"find-up": "~6.3.0",
|
|
188
188
|
"find-up-cli": "~5.0.0",
|
|
189
|
-
"happy-dom": "~7.
|
|
189
|
+
"happy-dom": "~7.8.1",
|
|
190
190
|
"helmet-csp": "~3.4.0",
|
|
191
191
|
"html-loader": "~4.2.0",
|
|
192
192
|
"html-webpack-plugin": "~5.5.0",
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
"jsdoc": "~4.0.0",
|
|
206
206
|
"lerna": "~6.1.0",
|
|
207
207
|
"lint-staged": "~13.1.0",
|
|
208
|
-
"mini-css-extract-plugin": "~2.7.
|
|
208
|
+
"mini-css-extract-plugin": "~2.7.2",
|
|
209
209
|
"minimist": "~1.2.7",
|
|
210
210
|
"moment": "~2.29.4",
|
|
211
211
|
"moment-locales-webpack-plugin": "~1.2.0",
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
"node-plop": "~0.31.0",
|
|
215
215
|
"nodemon": "~2.0.20",
|
|
216
216
|
"normalize-path": "~3.0.0",
|
|
217
|
-
"npm-check-updates": "16.
|
|
217
|
+
"npm-check-updates": "16.5.1",
|
|
218
218
|
"pino": "~8.7.0",
|
|
219
219
|
"pino-pretty": "~9.1.1",
|
|
220
220
|
"plop": "~3.1.1",
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
"postcss-markdown": "~1.2.0",
|
|
226
226
|
"postcss-preset-env": "~7.8.3",
|
|
227
227
|
"postcss-syntax": "~0.36.2",
|
|
228
|
-
"prettier": "~2.8.
|
|
228
|
+
"prettier": "~2.8.1",
|
|
229
229
|
"pug": "~3.0.2",
|
|
230
230
|
"pug-loader": "~2.4.0",
|
|
231
231
|
"raf": "~3.4.1",
|
|
@@ -248,18 +248,18 @@
|
|
|
248
248
|
"supertest": "~6.3.2",
|
|
249
249
|
"swc-loader": "~0.2.3",
|
|
250
250
|
"ts-node": "~10.9.1",
|
|
251
|
-
"tsc-alias": "~1.8.
|
|
251
|
+
"tsc-alias": "~1.8.2",
|
|
252
252
|
"typedoc": "~0.23.21",
|
|
253
253
|
"typescript": "~4.9.3",
|
|
254
254
|
"update-notifier": "~6.0.2",
|
|
255
255
|
"url-loader": "~4.1.1",
|
|
256
256
|
"uuid": "~9.0.0",
|
|
257
257
|
"vite": "~3.2.5",
|
|
258
|
-
"vitest": "~0.25.
|
|
259
|
-
"vite-tsconfig-paths": "~
|
|
258
|
+
"vitest": "~0.25.5",
|
|
259
|
+
"vite-tsconfig-paths": "~4.0.1",
|
|
260
260
|
"webpack": "~5.75.0",
|
|
261
261
|
"webpack-bundle-analyzer": "~4.7.0",
|
|
262
|
-
"webpack-cli": "~5.0.
|
|
262
|
+
"webpack-cli": "~5.0.1",
|
|
263
263
|
"webpack-dev-server": "~4.11.1",
|
|
264
264
|
"webpack-manifest-plugin": "~5.0.0",
|
|
265
265
|
"webpack-merge": "~5.8.0",
|