@elliemae/pui-cli 7.12.1 → 7.12.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.
|
@@ -29,8 +29,8 @@ __export(storybook_exports, {
|
|
|
29
29
|
module.exports = __toCommonJS(storybook_exports);
|
|
30
30
|
var import_yargs = __toESM(require("yargs"), 1);
|
|
31
31
|
var import_utils = require("./utils.js");
|
|
32
|
-
const buildStoryBook = async (isDoc = false) => {
|
|
33
|
-
const additionalParams = isDoc ?
|
|
32
|
+
const buildStoryBook = async (outputDir = "demo", isDoc = false) => {
|
|
33
|
+
const additionalParams = isDoc ? `--docs -o ${outputDir}/docs` : `-o ${outputDir}`;
|
|
34
34
|
await (0, import_utils.exec)(
|
|
35
35
|
`cross-env NODE_ENV=production FORCE_COLOR=true build-storybook --quiet ${additionalParams}`
|
|
36
36
|
);
|
|
@@ -47,7 +47,7 @@ const storybookCmd = {
|
|
|
47
47
|
await startStoryBook(argv.docs);
|
|
48
48
|
(0, import_utils.logInfo)("Storybook started");
|
|
49
49
|
} else {
|
|
50
|
-
await buildStoryBook(argv.docs);
|
|
50
|
+
await buildStoryBook(argv.output, argv.docs);
|
|
51
51
|
(0, import_utils.logSuccess)("Storybook build completed");
|
|
52
52
|
}
|
|
53
53
|
} catch (err) {
|
|
@@ -66,6 +66,11 @@ const storybookCmd = {
|
|
|
66
66
|
docs: {
|
|
67
67
|
type: "boolean",
|
|
68
68
|
default: false
|
|
69
|
+
},
|
|
70
|
+
output: {
|
|
71
|
+
alias: "o",
|
|
72
|
+
type: "string",
|
|
73
|
+
default: "demo"
|
|
69
74
|
}
|
|
70
75
|
}
|
|
71
76
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import yargs from "yargs";
|
|
2
2
|
import { exec, logInfo, logError, logSuccess } from "./utils.js";
|
|
3
|
-
const buildStoryBook = async (isDoc = false) => {
|
|
4
|
-
const additionalParams = isDoc ?
|
|
3
|
+
const buildStoryBook = async (outputDir = "demo", isDoc = false) => {
|
|
4
|
+
const additionalParams = isDoc ? `--docs -o ${outputDir}/docs` : `-o ${outputDir}`;
|
|
5
5
|
await exec(
|
|
6
6
|
`cross-env NODE_ENV=production FORCE_COLOR=true build-storybook --quiet ${additionalParams}`
|
|
7
7
|
);
|
|
@@ -18,7 +18,7 @@ const storybookCmd = {
|
|
|
18
18
|
await startStoryBook(argv.docs);
|
|
19
19
|
logInfo("Storybook started");
|
|
20
20
|
} else {
|
|
21
|
-
await buildStoryBook(argv.docs);
|
|
21
|
+
await buildStoryBook(argv.output, argv.docs);
|
|
22
22
|
logSuccess("Storybook build completed");
|
|
23
23
|
}
|
|
24
24
|
} catch (err) {
|
|
@@ -37,6 +37,11 @@ const storybookCmd = {
|
|
|
37
37
|
docs: {
|
|
38
38
|
type: "boolean",
|
|
39
39
|
default: false
|
|
40
|
+
},
|
|
41
|
+
output: {
|
|
42
|
+
alias: "o",
|
|
43
|
+
type: "string",
|
|
44
|
+
default: "demo"
|
|
40
45
|
}
|
|
41
46
|
}
|
|
42
47
|
};
|
|
@@ -15,5 +15,13 @@ export namespace storybookCmd {
|
|
|
15
15
|
const _default_1: boolean;
|
|
16
16
|
export { _default_1 as default };
|
|
17
17
|
}
|
|
18
|
+
namespace output {
|
|
19
|
+
const alias_1: string;
|
|
20
|
+
export { alias_1 as alias };
|
|
21
|
+
const type_2: string;
|
|
22
|
+
export { type_2 as type };
|
|
23
|
+
const _default_2: string;
|
|
24
|
+
export { _default_2 as default };
|
|
25
|
+
}
|
|
18
26
|
}
|
|
19
27
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "7.12.
|
|
3
|
+
"version": "7.12.2",
|
|
4
4
|
"description": "ICE MT UI Platform CLI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -64,17 +64,17 @@
|
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@axe-core/react": "~4.4.5",
|
|
66
66
|
"@babel/cli": "~7.19.3",
|
|
67
|
-
"@babel/core": "~7.19.
|
|
67
|
+
"@babel/core": "~7.19.6",
|
|
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",
|
|
71
71
|
"@babel/plugin-proposal-export-default-from": "~7.18.10",
|
|
72
72
|
"@babel/plugin-syntax-dynamic-import": "~7.8.3",
|
|
73
|
-
"@babel/plugin-transform-modules-commonjs": "~7.
|
|
73
|
+
"@babel/plugin-transform-modules-commonjs": "~7.19.6",
|
|
74
74
|
"@babel/plugin-transform-react-constant-elements": "~7.18.12",
|
|
75
75
|
"@babel/plugin-transform-react-inline-elements": "~7.18.6",
|
|
76
|
-
"@babel/plugin-transform-react-jsx-source": "~7.
|
|
77
|
-
"@babel/plugin-transform-runtime": "~7.19.
|
|
76
|
+
"@babel/plugin-transform-react-jsx-source": "~7.19.6",
|
|
77
|
+
"@babel/plugin-transform-runtime": "~7.19.6",
|
|
78
78
|
"@babel/preset-env": "~7.19.4",
|
|
79
79
|
"@babel/preset-react": "~7.18.6",
|
|
80
80
|
"@babel/preset-typescript": "~7.18.6",
|
|
@@ -83,44 +83,44 @@
|
|
|
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.6.0",
|
|
86
|
-
"@nrwl/cli": "15.0.
|
|
87
|
-
"@nrwl/tao": "15.0.
|
|
88
|
-
"@nrwl/workspace": "15.0.
|
|
86
|
+
"@nrwl/cli": "15.0.1",
|
|
87
|
+
"@nrwl/tao": "15.0.1",
|
|
88
|
+
"@nrwl/workspace": "15.0.1",
|
|
89
89
|
"@pmmmwh/react-refresh-webpack-plugin": "~0.5.8",
|
|
90
90
|
"@semantic-release/changelog": "~6.0.1",
|
|
91
91
|
"@semantic-release/exec": "~6.0.3",
|
|
92
92
|
"@semantic-release/git": "~10.0.1",
|
|
93
|
-
"@storybook/addon-a11y": "~6.5.
|
|
94
|
-
"@storybook/addon-essentials": "~6.5.
|
|
93
|
+
"@storybook/addon-a11y": "~6.5.13",
|
|
94
|
+
"@storybook/addon-essentials": "~6.5.13",
|
|
95
95
|
"@storybook/addon-events": "~6.2.9",
|
|
96
|
-
"@storybook/addon-interactions": "~6.5.
|
|
97
|
-
"@storybook/addon-links": "~6.5.
|
|
98
|
-
"@storybook/addon-storysource": "~6.5.
|
|
96
|
+
"@storybook/addon-interactions": "~6.5.13",
|
|
97
|
+
"@storybook/addon-links": "~6.5.13",
|
|
98
|
+
"@storybook/addon-storysource": "~6.5.13",
|
|
99
99
|
"@storybook/builder-vite": "~0.2.4",
|
|
100
|
-
"@storybook/builder-webpack5": "~6.5.
|
|
101
|
-
"@storybook/manager-webpack5": "~6.5.
|
|
102
|
-
"@storybook/react": "~6.5.
|
|
103
|
-
"@storybook/theming": "~6.5.
|
|
100
|
+
"@storybook/builder-webpack5": "~6.5.13",
|
|
101
|
+
"@storybook/manager-webpack5": "~6.5.13",
|
|
102
|
+
"@storybook/react": "~6.5.13",
|
|
103
|
+
"@storybook/theming": "~6.5.13",
|
|
104
104
|
"@stylelint/postcss-css-in-js": "~0.38.0",
|
|
105
105
|
"@svgr/webpack": "~6.5.0",
|
|
106
106
|
"@swc/cli": "~0.1.57",
|
|
107
|
-
"@swc/core": "~1.3.
|
|
107
|
+
"@swc/core": "~1.3.10",
|
|
108
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": "~29.2.0",
|
|
114
|
-
"@types/node": "~18.11.
|
|
114
|
+
"@types/node": "~18.11.4",
|
|
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.41.0",
|
|
119
|
+
"@typescript-eslint/parser": "~5.41.0",
|
|
120
120
|
"@vitejs/plugin-react": "~2.1.0",
|
|
121
121
|
"@vitest/coverage-c8": "~0.24.3",
|
|
122
122
|
"autoprefixer": "~10.4.12",
|
|
123
|
-
"axe-core": "~4.
|
|
123
|
+
"axe-core": "~4.5.0",
|
|
124
124
|
"babel-plugin-date-fns": "~2.0.0",
|
|
125
125
|
"babel-plugin-dynamic-import-node": "~2.3.3",
|
|
126
126
|
"babel-plugin-import-remove-resource-query": "~1.0.0",
|
|
@@ -149,23 +149,23 @@
|
|
|
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.
|
|
152
|
+
"esbuild": "~0.15.12",
|
|
153
153
|
"esbuild-loader": "~2.20.0",
|
|
154
154
|
"esbuild-plugin-svgr": "~1.0.1",
|
|
155
|
-
"eslint": "~8.
|
|
155
|
+
"eslint": "~8.26.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",
|
|
159
159
|
"eslint-config-prettier": "~8.5.0",
|
|
160
160
|
"eslint-config-react-app": "~7.0.1",
|
|
161
161
|
"eslint-import-resolver-babel-module": "~5.3.1",
|
|
162
|
-
"eslint-import-resolver-typescript": "~3.5.
|
|
162
|
+
"eslint-import-resolver-typescript": "~3.5.2",
|
|
163
163
|
"eslint-import-resolver-webpack": "~0.13.2",
|
|
164
164
|
"eslint-plugin-compat": "~4.0.2",
|
|
165
165
|
"eslint-plugin-eslint-comments": "~3.2.0",
|
|
166
166
|
"eslint-plugin-import": "~2.26.0",
|
|
167
167
|
"eslint-plugin-jest": "~27.1.3",
|
|
168
|
-
"eslint-plugin-jsdoc": "~39.3.
|
|
168
|
+
"eslint-plugin-jsdoc": "~39.3.24",
|
|
169
169
|
"eslint-plugin-jsx-a11y": "~6.6.1",
|
|
170
170
|
"eslint-plugin-mdx": "~2.0.5",
|
|
171
171
|
"eslint-plugin-prettier": "~4.2.1",
|
|
@@ -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.6",
|
|
176
|
-
"eslint-plugin-testing-library": "~5.
|
|
176
|
+
"eslint-plugin-testing-library": "~5.9.1",
|
|
177
177
|
"eslint-plugin-wdio": "~7.25.3",
|
|
178
178
|
"execa": "~6.1.0",
|
|
179
179
|
"express": "~4.18.2",
|
|
@@ -212,8 +212,8 @@
|
|
|
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.
|
|
216
|
-
"pino": "~8.
|
|
215
|
+
"npm-check-updates": "16.3.15",
|
|
216
|
+
"pino": "~8.7.0",
|
|
217
217
|
"pino-pretty": "~9.1.1",
|
|
218
218
|
"plop": "~3.1.1",
|
|
219
219
|
"postcss": "~8.4.18",
|
|
@@ -247,14 +247,14 @@
|
|
|
247
247
|
"swc-loader": "~0.2.3",
|
|
248
248
|
"ts-node": "~10.9.1",
|
|
249
249
|
"tsc-alias": "~1.7.0",
|
|
250
|
-
"typedoc": "~0.23.
|
|
250
|
+
"typedoc": "~0.23.18",
|
|
251
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
255
|
"vite": "~3.1.8",
|
|
256
256
|
"vitest": "~0.24.3",
|
|
257
|
-
"vite-tsconfig-paths": "~3.5.
|
|
257
|
+
"vite-tsconfig-paths": "~3.5.2",
|
|
258
258
|
"webpack": "~5.74.0",
|
|
259
259
|
"webpack-bundle-analyzer": "~4.6.1",
|
|
260
260
|
"webpack-cli": "~4.10.0",
|