@elliemae/pui-cli 6.20.0 → 6.21.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.
@@ -1,20 +1,10 @@
1
1
  const { exit } = require('yargs');
2
- const fs = require('fs');
3
2
  const path = require('path');
4
3
  const { exec, logInfo, logSuccess, logError } = require('./utils');
5
4
 
6
- const { name } = require('../../package.json');
7
-
8
- function isApp() {
9
- return fs.existsSync(path.join(process.cwd(), 'app'));
10
- }
11
-
12
5
  async function generateDocs() {
13
6
  logInfo('Documentation Generation inprogress...');
14
- const srcPath = isApp() ? 'app' : 'lib';
15
- exec(
16
- `jsdoc -r -c node_modules/${name}/lib/docgen/jsdoc.config.js -d docs ${srcPath}`,
17
- );
7
+ await exec(`typedoc --options ${path.resolve(__dirname, '../typedoc.js')}`);
18
8
  }
19
9
 
20
10
  async function handler() {
package/lib/typedoc.js ADDED
@@ -0,0 +1,12 @@
1
+ const path = require('path');
2
+ const fs = require('fs');
3
+
4
+ const isApp = () => fs.existsSync(path.join(process.cwd(), 'app'));
5
+
6
+ const srcPath = path.join(process.cwd(), isApp() ? 'app' : 'lib');
7
+
8
+ module.exports = {
9
+ entryPoints: [srcPath],
10
+ exclude: ['**/*+(index|.spec|.e2e).ts'],
11
+ out: 'docs',
12
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "6.20.0",
3
+ "version": "6.21.0",
4
4
  "private": false,
5
5
  "description": "ICE MT UI Platform CLI",
6
6
  "sideEffects": false,
@@ -47,26 +47,26 @@
47
47
  "indent": 4
48
48
  },
49
49
  "dependencies": {
50
- "@babel/cli": "~7.17.10",
51
- "@babel/core": "~7.18.5",
50
+ "@babel/cli": "~7.18.6",
51
+ "@babel/core": "~7.18.6",
52
52
  "@babel/eslint-parser": "~7.18.2",
53
- "@babel/node": "~7.18.5",
54
- "@babel/plugin-proposal-class-properties": "~7.17.12",
55
- "@babel/plugin-proposal-export-default-from": "~7.17.12",
53
+ "@babel/node": "~7.18.6",
54
+ "@babel/plugin-proposal-class-properties": "~7.18.6",
55
+ "@babel/plugin-proposal-export-default-from": "~7.18.6",
56
56
  "@babel/plugin-syntax-dynamic-import": "~7.8.3",
57
- "@babel/plugin-transform-modules-commonjs": "~7.18.2",
58
- "@babel/plugin-transform-react-constant-elements": "~7.17.12",
59
- "@babel/plugin-transform-react-inline-elements": "~7.16.7",
60
- "@babel/plugin-transform-react-jsx-source": "~7.16.7",
61
- "@babel/plugin-transform-runtime": "~7.18.5",
62
- "@babel/preset-env": "~7.18.2",
63
- "@babel/preset-react": "~7.17.12",
64
- "@babel/preset-typescript": "~7.17.12",
65
- "@babel/runtime": "~7.18.3",
66
- "@commitlint/cli": "~17.0.2",
67
- "@commitlint/config-conventional": "~17.0.2",
57
+ "@babel/plugin-transform-modules-commonjs": "~7.18.6",
58
+ "@babel/plugin-transform-react-constant-elements": "~7.18.6",
59
+ "@babel/plugin-transform-react-inline-elements": "~7.18.6",
60
+ "@babel/plugin-transform-react-jsx-source": "~7.18.6",
61
+ "@babel/plugin-transform-runtime": "~7.18.6",
62
+ "@babel/preset-env": "~7.18.6",
63
+ "@babel/preset-react": "~7.18.6",
64
+ "@babel/preset-typescript": "~7.18.6",
65
+ "@babel/runtime": "~7.18.6",
66
+ "@commitlint/cli": "~17.0.3",
67
+ "@commitlint/config-conventional": "~17.0.3",
68
68
  "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.4.2",
69
- "@faker-js/faker": "7.2.0",
69
+ "@faker-js/faker": "7.3.0",
70
70
  "@nrwl/cli": "13.10.3",
71
71
  "@nrwl/tao": "13.10.3",
72
72
  "@nrwl/workspace": "13.10.3",
@@ -88,18 +88,18 @@
88
88
  "@stylelint/postcss-css-in-js": "~0.38.0",
89
89
  "@svgr/webpack": "~6.2.1",
90
90
  "@swc/cli": "~0.1.57",
91
- "@swc/core": "~1.2.203",
91
+ "@swc/core": "~1.2.206",
92
92
  "@swc/jest": "~0.2.21",
93
93
  "@testing-library/jest-dom": "~5.16.4",
94
94
  "@testing-library/react": "~12.1.4",
95
- "@testing-library/react-hooks": "~8.0.0",
95
+ "@testing-library/react-hooks": "~8.0.1",
96
96
  "@types/jest": "~27.5.1",
97
97
  "@types/node": "~17.0.34",
98
98
  "@types/react": "~17.0.44",
99
99
  "@types/rimraf": "~3.0.2",
100
- "@types/testing-library__jest-dom": "~5.14.3",
101
- "@typescript-eslint/eslint-plugin": "~5.28.0",
102
- "@typescript-eslint/parser": "~5.28.0",
100
+ "@types/testing-library__jest-dom": "~5.14.5",
101
+ "@typescript-eslint/eslint-plugin": "~5.30.0",
102
+ "@typescript-eslint/parser": "~5.30.0",
103
103
  "autoprefixer": "~10.4.7",
104
104
  "axe-core": "~4.4.2",
105
105
  "babel-loader": "~8.2.5",
@@ -109,15 +109,15 @@
109
109
  "babel-plugin-import-remove-resource-query": "~1.0.0",
110
110
  "babel-plugin-lodash": "~3.3.4",
111
111
  "babel-plugin-module-resolver": "~4.1.0",
112
- "babel-plugin-source-map-support": "~2.1.3",
112
+ "babel-plugin-source-map-support": "~2.2.0",
113
113
  "babel-plugin-styled-components": "~2.0.7",
114
114
  "babel-plugin-transform-react-remove-prop-types": "~0.4.24",
115
115
  "babel-plugin-transform-remove-console": "~6.9.4",
116
116
  "babel-plugin-transform-strip-block": "~0.0.5",
117
117
  "body-parser": "~1.20.0",
118
- "browserslist": "~4.20.4",
118
+ "browserslist": "~4.21.0",
119
119
  "browserslist-to-esbuild": "~1.1.1",
120
- "canvas": "~2.9.1",
120
+ "canvas": "~2.9.3",
121
121
  "chalk": "~4.1.2",
122
122
  "circular-dependency-plugin": "~5.2.2",
123
123
  "compression": "~1.7.4",
@@ -130,13 +130,13 @@
130
130
  "depcheck": "~1.4.3",
131
131
  "docdash": "~1.2.0",
132
132
  "dotenv": "~16.0.1",
133
- "dotenv-webpack": "~7.1.0",
133
+ "dotenv-webpack": "~7.1.1",
134
134
  "duplicate-package-checker-webpack-plugin": "~3.0.0",
135
135
  "enhanced-resolve": "5.9.3",
136
- "esbuild": "~0.14.45",
136
+ "esbuild": "~0.14.47",
137
137
  "esbuild-loader": "~2.19.0",
138
138
  "esbuild-plugin-svgr": "~1.0.1",
139
- "eslint": "~8.17.0",
139
+ "eslint": "~8.18.0",
140
140
  "eslint-config-airbnb": "~19.0.4",
141
141
  "eslint-config-airbnb-base": "~15.0.0",
142
142
  "eslint-config-airbnb-typescript": "~17.0.0",
@@ -149,14 +149,14 @@
149
149
  "eslint-plugin-eslint-comments": "~3.2.0",
150
150
  "eslint-plugin-import": "~2.26.0",
151
151
  "eslint-plugin-jest": "~26.5.3",
152
- "eslint-plugin-jsdoc": "~39.3.2",
153
- "eslint-plugin-jsx-a11y": "~6.5.1",
152
+ "eslint-plugin-jsdoc": "~39.3.3",
153
+ "eslint-plugin-jsx-a11y": "~6.6.0",
154
154
  "eslint-plugin-mdx": "~1.17.0",
155
- "eslint-plugin-prettier": "~4.0.0",
156
- "eslint-plugin-react": "~7.30.0",
155
+ "eslint-plugin-prettier": "~4.1.0",
156
+ "eslint-plugin-react": "~7.30.1",
157
157
  "eslint-plugin-react-hooks": "~4.6.0",
158
158
  "eslint-plugin-redux-saga": "~1.3.2",
159
- "eslint-plugin-storybook": "~0.5.12",
159
+ "eslint-plugin-storybook": "~0.5.13",
160
160
  "eslint-plugin-testing-library": "~5.5.1",
161
161
  "eslint-plugin-wdio": "~7.19.4",
162
162
  "execa": "~5.1.1",
@@ -187,15 +187,15 @@
187
187
  "minimist": "~1.2.6",
188
188
  "moment": "~2.29.3",
189
189
  "moment-locales-webpack-plugin": "~1.2.0",
190
- "msw": "~0.42.1",
190
+ "msw": "~0.42.3",
191
191
  "node-gyp": "~9.0.0",
192
192
  "node-plop": "~0.31.0",
193
- "nodemon": "~2.0.16",
193
+ "nodemon": "~2.0.18",
194
194
  "normalize-path": "~3.0.0",
195
- "npm-check-updates": "14.0.1",
195
+ "npm-check-updates": "14.1.1",
196
196
  "null-loader": "~4.0.1",
197
- "pino": "~8.0.0",
198
- "pino-pretty": "~8.0.0",
197
+ "pino": "~8.1.0",
198
+ "pino-pretty": "~8.1.0",
199
199
  "pinst": "~3.0.0",
200
200
  "plop": "~3.1.1",
201
201
  "postcss": "~8.4.14",
@@ -203,7 +203,7 @@
203
203
  "postcss-jsx": "~0.36.4",
204
204
  "postcss-loader": "~6.2.1",
205
205
  "postcss-markdown": "~1.2.0",
206
- "postcss-preset-env": "~7.7.1",
206
+ "postcss-preset-env": "~7.7.2",
207
207
  "postcss-syntax": "~0.36.2",
208
208
  "prettier": "~2.7.1",
209
209
  "pug": "~3.0.2",
@@ -228,13 +228,14 @@
228
228
  "swc-loader": "~0.2.3",
229
229
  "terser-webpack-plugin": "~5.3.3",
230
230
  "ts-node": "~10.8.1",
231
- "tsc-alias": "~1.6.10",
231
+ "tsc-alias": "~1.6.11",
232
+ "typedoc": "~0.23.1",
232
233
  "typescript": "~4.7.4",
233
234
  "update-notifier": "~5.1.0",
234
235
  "url-loader": "~4.1.1",
235
236
  "uuid": "~8.3.2",
236
- "vite": "~2.9.12",
237
- "vitest": "~0.15.1",
237
+ "vite": "~2.9.13",
238
+ "vitest": "~0.16.0",
238
239
  "webpack": "~5.73.0",
239
240
  "webpack-bundle-analyzer": "~4.5.0",
240
241
  "webpack-cli": "~4.10.0",