@elliemae/pui-cli 7.27.0-beta.2 → 8.0.0-next.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 +1 -1
- package/dist/cjs/commands/codemod.js +1 -1
- package/dist/cjs/commands/gendoc.js +1 -1
- package/dist/cjs/commands/lint.js +1 -1
- package/dist/cjs/commands/pack.js +1 -1
- package/dist/cjs/commands/start.js +1 -1
- package/dist/cjs/commands/storybook.js +1 -1
- package/dist/cjs/commands/test.js +1 -1
- package/dist/cjs/commands/tscheck.js +1 -1
- package/dist/cjs/commands/version.js +1 -1
- package/dist/cjs/commands/vitest.js +1 -1
- package/dist/cjs/lint-config/eslint/common.cjs +88 -85
- package/dist/cjs/release.config.cjs +0 -7
- package/dist/cjs/server/appRoutes.js +5 -4
- package/dist/cjs/webpack/webpack.dev.babel.js +2 -2
- package/dist/esm/commands/build.js +1 -1
- package/dist/esm/commands/codemod.js +1 -1
- package/dist/esm/commands/gendoc.js +1 -1
- package/dist/esm/commands/lint.js +1 -1
- package/dist/esm/commands/pack.js +1 -1
- package/dist/esm/commands/start.js +1 -1
- package/dist/esm/commands/storybook.js +1 -1
- package/dist/esm/commands/test.js +1 -1
- package/dist/esm/commands/tscheck.js +1 -1
- package/dist/esm/commands/version.js +1 -1
- package/dist/esm/commands/vitest.js +1 -1
- package/dist/esm/lint-config/eslint/common.cjs +88 -85
- package/dist/esm/release.config.cjs +0 -7
- package/dist/esm/server/appRoutes.js +5 -4
- package/dist/esm/webpack/webpack.dev.babel.js +6 -3
- package/dist/types/commands/build.d.ts +5 -13
- package/dist/types/commands/codemod.d.ts +2 -9
- package/dist/types/commands/gendoc.d.ts +2 -7
- package/dist/types/commands/lint.d.ts +2 -23
- package/dist/types/commands/pack.d.ts +2 -23
- package/dist/types/commands/start.d.ts +2 -13
- package/dist/types/commands/storybook.d.ts +2 -22
- package/dist/types/commands/test.d.ts +2 -38
- package/dist/types/commands/tscheck.d.ts +3 -14
- package/dist/types/commands/version.d.ts +2 -24
- package/dist/types/commands/vitest.d.ts +2 -33
- package/dist/types/lint-config/eslint/common.d.cts +58 -55
- package/dist/types/lint-config/eslint/non-react.d.cts +34 -31
- package/dist/types/lint-config/eslint/react.d.cts +58 -55
- package/dist/types/lint-config/eslint/typescript/non-react.d.cts +28 -28
- package/dist/types/lint-config/eslint/typescript/react.d.cts +52 -52
- package/dist/types/release.config.d.cts +0 -2
- package/dist/types/server/middlewares.d.ts +3 -3
- package/package.json +14 -12
- package/dist/cjs/typescript/app.tsconfig.json +0 -23
- package/dist/cjs/typescript/library.tsconfig.json +0 -23
- package/dist/esm/typescript/app.tsconfig.json +0 -23
- package/dist/esm/typescript/library.tsconfig.json +0 -23
|
@@ -2,36 +2,36 @@ export const tsReactConfig: {
|
|
|
2
2
|
extends: string[];
|
|
3
3
|
rules: {
|
|
4
4
|
'react/prop-types': number;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
"jsx-a11y/aria-props": number;
|
|
6
|
+
"jsx-a11y/heading-has-content": number;
|
|
7
|
+
"jsx-a11y/label-has-associated-control": (number | {
|
|
8
8
|
controlComponents: string[];
|
|
9
9
|
})[];
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
10
|
+
"jsx-a11y/label-has-for": number;
|
|
11
|
+
"jsx-a11y/mouse-events-have-key-events": number;
|
|
12
|
+
"jsx-a11y/role-has-required-aria-props": number;
|
|
13
|
+
"jsx-a11y/role-supports-aria-props": number;
|
|
14
|
+
"react/destructuring-assignment": number;
|
|
15
|
+
"react-hooks/rules-of-hooks": string;
|
|
16
|
+
"react/jsx-closing-tag-location": number;
|
|
17
|
+
"react/forbid-prop-types": number;
|
|
18
|
+
"react/jsx-first-prop-new-line": (string | number)[];
|
|
19
|
+
"react/jsx-no-target-blank": number;
|
|
20
|
+
"react/jsx-props-no-spreading": number;
|
|
21
|
+
"react/jsx-uses-vars": number;
|
|
22
|
+
"react/require-default-props": number;
|
|
23
|
+
"react/require-extension": number;
|
|
24
|
+
"react/self-closing-comp": number;
|
|
25
|
+
"react/sort-comp": number;
|
|
26
|
+
"react/react-in-jsx-scope": number;
|
|
27
|
+
"react/jsx-filename-extension": (number | {
|
|
28
28
|
extensions: string[];
|
|
29
29
|
})[];
|
|
30
|
-
|
|
30
|
+
"react/function-component-definition": (number | {
|
|
31
31
|
namedComponents: string;
|
|
32
32
|
})[];
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
"redux-saga/no-yield-in-race": number;
|
|
34
|
+
"redux-saga/yield-effects": number;
|
|
35
35
|
'@typescript-eslint/explicit-module-boundary-types': string;
|
|
36
36
|
'@typescript-eslint/explicit-function-return-type': string;
|
|
37
37
|
'@typescript-eslint/no-use-before-define': (string | {
|
|
@@ -50,21 +50,21 @@ export const tsReactConfig: {
|
|
|
50
50
|
'@typescript-eslint/no-floating-promises': (string | {
|
|
51
51
|
ignoreIIFE: boolean;
|
|
52
52
|
})[];
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
53
|
+
"prettier/prettier": (string | typeof import("../../prettier.config.cjs"))[];
|
|
54
|
+
"arrow-body-style": (string | number)[];
|
|
55
|
+
"class-methods-use-this": number;
|
|
56
|
+
"import/imports-first": number;
|
|
57
|
+
"import/newline-after-import": number;
|
|
58
|
+
"import/no-dynamic-require": number;
|
|
59
|
+
"import/no-extraneous-dependencies": number;
|
|
60
|
+
"import/no-named-as-default": number;
|
|
61
|
+
"import/no-unresolved": (number | {
|
|
62
62
|
caseSensitive: boolean;
|
|
63
63
|
caseSensitiveStrict: boolean;
|
|
64
64
|
})[];
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
"import/no-webpack-loader-syntax": number;
|
|
66
|
+
"import/prefer-default-export": number;
|
|
67
|
+
"import/extensions": (string | number | {
|
|
68
68
|
json: string;
|
|
69
69
|
js: string;
|
|
70
70
|
})[];
|
|
@@ -74,32 +74,32 @@ export const tsReactConfig: {
|
|
|
74
74
|
complexity: (string | {
|
|
75
75
|
max: number;
|
|
76
76
|
})[];
|
|
77
|
-
|
|
77
|
+
"max-depth": (string | {
|
|
78
78
|
max: number;
|
|
79
79
|
})[];
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
"max-lines-per-function": number;
|
|
81
|
+
"max-nested-callbacks": (string | {
|
|
82
82
|
max: number;
|
|
83
83
|
})[];
|
|
84
|
-
|
|
84
|
+
"max-params": (string | {
|
|
85
85
|
max: number;
|
|
86
86
|
})[];
|
|
87
|
-
|
|
87
|
+
"max-statements": (string | {
|
|
88
88
|
max: number;
|
|
89
89
|
})[];
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
90
|
+
"max-len": number;
|
|
91
|
+
"newline-per-chained-call": number;
|
|
92
|
+
"no-confusing-arrow": number;
|
|
93
|
+
"no-console": number;
|
|
94
|
+
"no-param-reassign": (string | {
|
|
95
95
|
props: boolean;
|
|
96
96
|
})[];
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
97
|
+
"no-unused-vars": number;
|
|
98
|
+
"no-use-before-define": number;
|
|
99
|
+
"prefer-template": number;
|
|
100
|
+
"require-yield": number;
|
|
101
|
+
"jsdoc/require-jsdoc": number;
|
|
102
|
+
"eslint-comments/disable-enable-pair": number;
|
|
103
103
|
};
|
|
104
104
|
files: string[];
|
|
105
105
|
parser: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import express, { Application
|
|
1
|
+
import express, { Application } from 'express';
|
|
2
2
|
export declare const setupDefaultMiddlewares: (app: Application) => void;
|
|
3
|
-
export declare const setupAdditionalMiddlewars: (app:
|
|
3
|
+
export declare const setupAdditionalMiddlewars: (app: Application, options?: {
|
|
4
4
|
buildPath?: string;
|
|
5
5
|
basePath?: string;
|
|
6
|
-
}) => express.
|
|
6
|
+
}) => express.Application;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0-next.2",
|
|
4
4
|
"description": "ICE MT UI Platform CLI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
"@babel/plugin-proposal-class-properties": "~7.18.6",
|
|
74
74
|
"@babel/plugin-proposal-export-default-from": "~7.18.10",
|
|
75
75
|
"@babel/plugin-syntax-dynamic-import": "~7.8.3",
|
|
76
|
+
"@babel/plugin-syntax-import-assertions": "~7.20.0",
|
|
76
77
|
"@babel/plugin-transform-modules-commonjs": "~7.20.11",
|
|
77
78
|
"@babel/plugin-transform-react-constant-elements": "~7.20.2",
|
|
78
79
|
"@babel/plugin-transform-react-inline-elements": "~7.18.6",
|
|
@@ -86,9 +87,9 @@
|
|
|
86
87
|
"@commitlint/config-conventional": "~17.4.2",
|
|
87
88
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.6.0",
|
|
88
89
|
"@faker-js/faker": "7.6.0",
|
|
89
|
-
"@nrwl/cli": "15.6.
|
|
90
|
-
"@nrwl/tao": "15.6.
|
|
91
|
-
"@nrwl/workspace": "15.6.
|
|
90
|
+
"@nrwl/cli": "15.6.2",
|
|
91
|
+
"@nrwl/tao": "15.6.2",
|
|
92
|
+
"@nrwl/workspace": "15.6.2",
|
|
92
93
|
"@pmmmwh/react-refresh-webpack-plugin": "~0.5.10",
|
|
93
94
|
"@semantic-release/changelog": "~6.0.2",
|
|
94
95
|
"@semantic-release/exec": "~6.0.3",
|
|
@@ -107,7 +108,7 @@
|
|
|
107
108
|
"@stylelint/postcss-css-in-js": "~0.38.0",
|
|
108
109
|
"@svgr/webpack": "~6.5.1",
|
|
109
110
|
"@swc/cli": "~0.1.59",
|
|
110
|
-
"@swc/core": "~1.3.
|
|
111
|
+
"@swc/core": "~1.3.28",
|
|
111
112
|
"@swc/jest": "~0.2.24",
|
|
112
113
|
"@testing-library/jest-dom": "~5.16.5",
|
|
113
114
|
"@testing-library/react": "~13.4.0",
|
|
@@ -208,11 +209,11 @@
|
|
|
208
209
|
"imports-loader": "~4.0.1",
|
|
209
210
|
"ip": "~1.1.8",
|
|
210
211
|
"jest-axe": "~7.0.0",
|
|
211
|
-
"jest-cli": "~29.
|
|
212
|
-
"jest-environment-jsdom": "~29.
|
|
212
|
+
"jest-cli": "~29.4.0",
|
|
213
|
+
"jest-environment-jsdom": "~29.4.0",
|
|
213
214
|
"jest-sonar-reporter": "~2.0.0",
|
|
214
215
|
"jest-styled-components": "~7.1.1",
|
|
215
|
-
"jest-watch-typeahead": "~2.2.
|
|
216
|
+
"jest-watch-typeahead": "~2.2.2",
|
|
216
217
|
"jscodeshift": "~0.14.0",
|
|
217
218
|
"jsdoc": "~4.0.0",
|
|
218
219
|
"lerna": "~6.4.1",
|
|
@@ -221,7 +222,8 @@
|
|
|
221
222
|
"minimist": "~1.2.7",
|
|
222
223
|
"moment": "~2.29.4",
|
|
223
224
|
"moment-locales-webpack-plugin": "~1.2.0",
|
|
224
|
-
"msw": "~0.
|
|
225
|
+
"msw": "~1.0.0",
|
|
226
|
+
"npm-run-all": "~4.1.5",
|
|
225
227
|
"node-gyp": "~9.3.1",
|
|
226
228
|
"node-plop": "~0.31.0",
|
|
227
229
|
"nodemon": "~2.0.20",
|
|
@@ -236,9 +238,10 @@
|
|
|
236
238
|
"postcss-jsx": "~0.36.4",
|
|
237
239
|
"postcss-loader": "~7.0.2",
|
|
238
240
|
"postcss-markdown": "~1.2.0",
|
|
239
|
-
"postcss-preset-env": "~
|
|
241
|
+
"postcss-preset-env": "~8.0.0",
|
|
240
242
|
"postcss-syntax": "~0.36.2",
|
|
241
243
|
"prettier": "~2.8.3",
|
|
244
|
+
"prisma": "~4.9.0",
|
|
242
245
|
"pug": "~3.0.2",
|
|
243
246
|
"pug-loader": "~2.4.0",
|
|
244
247
|
"raf": "~3.4.1",
|
|
@@ -248,11 +251,10 @@
|
|
|
248
251
|
"resize-observer-polyfill": "~1.5.1",
|
|
249
252
|
"resolve-typescript-plugin": "~2.0.0",
|
|
250
253
|
"rimraf": "~4.1.2",
|
|
251
|
-
"semantic-release": "~
|
|
254
|
+
"semantic-release": "~20.0.4",
|
|
252
255
|
"slackify-markdown": "~4.3.1",
|
|
253
256
|
"speed-measure-webpack-plugin": "~1.5.0",
|
|
254
257
|
"storybook-addon-turbo-build": "~1.1.0",
|
|
255
|
-
"storybook-builder-vite": "~0.1.23",
|
|
256
258
|
"storybook-react-router": "~1.0.8",
|
|
257
259
|
"style-loader": "~3.3.1",
|
|
258
260
|
"stylelint": "~14.16.1",
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"lib": ["dom", "dom.iterable", "esnext"],
|
|
4
|
-
"module": "ES2020",
|
|
5
|
-
"target": "ES2015",
|
|
6
|
-
"allowJs": true,
|
|
7
|
-
"allowSyntheticDefaultImports": true,
|
|
8
|
-
"esModuleInterop": true,
|
|
9
|
-
"forceConsistentCasingInFileNames": true,
|
|
10
|
-
"isolatedModules": true,
|
|
11
|
-
"jsx": "react-jsx",
|
|
12
|
-
"moduleResolution": "node",
|
|
13
|
-
"noEmit": true,
|
|
14
|
-
"noFallthroughCasesInSwitch": true,
|
|
15
|
-
"resolveJsonModule": true,
|
|
16
|
-
"skipLibCheck": true,
|
|
17
|
-
"strict": true,
|
|
18
|
-
"preserveConstEnums": true,
|
|
19
|
-
"sourceMap": true
|
|
20
|
-
},
|
|
21
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
22
|
-
"display": "pui-cli app"
|
|
23
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"lib": ["dom", "dom.iterable", "esnext"],
|
|
4
|
-
"moduleResolution": "node",
|
|
5
|
-
"target": "ES2020",
|
|
6
|
-
"module": "ES2020",
|
|
7
|
-
"allowJs": true,
|
|
8
|
-
"allowSyntheticDefaultImports": true,
|
|
9
|
-
"strict": true,
|
|
10
|
-
"esModuleInterop": true,
|
|
11
|
-
"skipLibCheck": true,
|
|
12
|
-
"jsx": "react-jsx",
|
|
13
|
-
"noFallthroughCasesInSwitch": true,
|
|
14
|
-
"resolveJsonModule": true,
|
|
15
|
-
"forceConsistentCasingInFileNames": true,
|
|
16
|
-
"preserveConstEnums": true,
|
|
17
|
-
"sourceMap": true,
|
|
18
|
-
"declaration": true,
|
|
19
|
-
"emitDeclarationOnly": true
|
|
20
|
-
},
|
|
21
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
22
|
-
"display": "pui-cli library"
|
|
23
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"lib": ["dom", "dom.iterable", "esnext"],
|
|
4
|
-
"module": "ES2020",
|
|
5
|
-
"target": "ES2015",
|
|
6
|
-
"allowJs": true,
|
|
7
|
-
"allowSyntheticDefaultImports": true,
|
|
8
|
-
"esModuleInterop": true,
|
|
9
|
-
"forceConsistentCasingInFileNames": true,
|
|
10
|
-
"isolatedModules": true,
|
|
11
|
-
"jsx": "react-jsx",
|
|
12
|
-
"moduleResolution": "node",
|
|
13
|
-
"noEmit": true,
|
|
14
|
-
"noFallthroughCasesInSwitch": true,
|
|
15
|
-
"resolveJsonModule": true,
|
|
16
|
-
"skipLibCheck": true,
|
|
17
|
-
"strict": true,
|
|
18
|
-
"preserveConstEnums": true,
|
|
19
|
-
"sourceMap": true
|
|
20
|
-
},
|
|
21
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
22
|
-
"display": "pui-cli app"
|
|
23
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"lib": ["dom", "dom.iterable", "esnext"],
|
|
4
|
-
"moduleResolution": "node",
|
|
5
|
-
"target": "ES2020",
|
|
6
|
-
"module": "ES2020",
|
|
7
|
-
"allowJs": true,
|
|
8
|
-
"allowSyntheticDefaultImports": true,
|
|
9
|
-
"strict": true,
|
|
10
|
-
"esModuleInterop": true,
|
|
11
|
-
"skipLibCheck": true,
|
|
12
|
-
"jsx": "react-jsx",
|
|
13
|
-
"noFallthroughCasesInSwitch": true,
|
|
14
|
-
"resolveJsonModule": true,
|
|
15
|
-
"forceConsistentCasingInFileNames": true,
|
|
16
|
-
"preserveConstEnums": true,
|
|
17
|
-
"sourceMap": true,
|
|
18
|
-
"declaration": true,
|
|
19
|
-
"emitDeclarationOnly": true
|
|
20
|
-
},
|
|
21
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
22
|
-
"display": "pui-cli library"
|
|
23
|
-
}
|