@elliemae/pui-cli 6.5.4 → 6.5.5
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/lib/cli-commands/lint.js +2 -4
- package/lib/lint/eslint/common.js +10 -0
- package/lib/lint/stylelint.config.js +11 -0
- package/package.json +15 -15
package/lib/cli-commands/lint.js
CHANGED
|
@@ -5,15 +5,13 @@ const { isTypeScriptEnabled } = require('../typescript/util');
|
|
|
5
5
|
async function lintCSS(fix = false) {
|
|
6
6
|
const fixIssues = fix ? '--fix' : '';
|
|
7
7
|
await exec(
|
|
8
|
-
`stylelint ./{lib,app}/**/*.{js,jsx,ts,tsx} ${fixIssues} --color --allowEmptyInput
|
|
8
|
+
`stylelint ./{lib,app}/**/*.{js,jsx,ts,tsx} ${fixIssues} --color --allowEmptyInput`,
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
async function lintJS(fix = false) {
|
|
13
13
|
const fixIssues = fix ? '--fix' : '';
|
|
14
|
-
await exec(
|
|
15
|
-
`eslint --color ${fixIssues} --ignore-pattern '/dist/**/*' --ignore-pattern '/build/**/*' .`,
|
|
16
|
-
);
|
|
14
|
+
await exec(`eslint --color ${fixIssues} .`);
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
async function handler(argv) {
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
+
ignoreFiles: [
|
|
3
|
+
'/dist/**/*',
|
|
4
|
+
'/coverage/**/*',
|
|
5
|
+
'/build/**/*',
|
|
6
|
+
'/reports/**/*',
|
|
7
|
+
'/temp/**/*',
|
|
8
|
+
'/docs/**/*',
|
|
9
|
+
'/demo/**/*',
|
|
10
|
+
'/node_modules/**/*',
|
|
11
|
+
'/vendor/**/*',
|
|
12
|
+
],
|
|
2
13
|
customSyntax: '@stylelint/postcss-css-in-js',
|
|
3
14
|
extends: [
|
|
4
15
|
'stylelint-config-recommended',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "ICE MT UI Platform CLI",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -71,20 +71,20 @@
|
|
|
71
71
|
"@semantic-release/changelog": "~6.0.1",
|
|
72
72
|
"@semantic-release/exec": "~6.0.3",
|
|
73
73
|
"@semantic-release/git": "~10.0.1",
|
|
74
|
-
"@storybook/addon-a11y": "~6.4.
|
|
75
|
-
"@storybook/addon-essentials": "~6.4.
|
|
74
|
+
"@storybook/addon-a11y": "~6.4.19",
|
|
75
|
+
"@storybook/addon-essentials": "~6.4.19",
|
|
76
76
|
"@storybook/addon-events": "~6.2.9",
|
|
77
|
-
"@storybook/addon-interactions": "~6.4.
|
|
78
|
-
"@storybook/addon-links": "~6.4.
|
|
79
|
-
"@storybook/addon-storysource": "~6.4.
|
|
80
|
-
"@storybook/builder-webpack5": "~6.4.
|
|
81
|
-
"@storybook/manager-webpack5": "~6.4.
|
|
82
|
-
"@storybook/react": "~6.4.
|
|
83
|
-
"@storybook/theming": "~6.4.
|
|
77
|
+
"@storybook/addon-interactions": "~6.4.19",
|
|
78
|
+
"@storybook/addon-links": "~6.4.19",
|
|
79
|
+
"@storybook/addon-storysource": "~6.4.19",
|
|
80
|
+
"@storybook/builder-webpack5": "~6.4.19",
|
|
81
|
+
"@storybook/manager-webpack5": "~6.4.19",
|
|
82
|
+
"@storybook/react": "~6.4.19",
|
|
83
|
+
"@storybook/theming": "~6.4.19",
|
|
84
84
|
"@stylelint/postcss-css-in-js": "~0.37.2",
|
|
85
85
|
"@svgr/webpack": "~6.2.1",
|
|
86
86
|
"@swc/cli": "~0.1.55",
|
|
87
|
-
"@swc/core": "~1.2.
|
|
87
|
+
"@swc/core": "~1.2.139",
|
|
88
88
|
"@swc/jest": "~0.2.17",
|
|
89
89
|
"@testing-library/jest-dom": "~5.16.2",
|
|
90
90
|
"@testing-library/react": "~12.1.2",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"esbuild": "~0.14.21",
|
|
133
133
|
"esbuild-loader": "~2.18.0",
|
|
134
134
|
"esbuild-plugin-svgr": "~1.0.0",
|
|
135
|
-
"eslint": "~8.
|
|
135
|
+
"eslint": "~8.9.0",
|
|
136
136
|
"eslint-config-airbnb": "~19.0.4",
|
|
137
137
|
"eslint-config-airbnb-base": "~15.0.0",
|
|
138
138
|
"eslint-config-airbnb-typescript": "~16.1.0",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"eslint-plugin-eslint-comments": "~3.2.0",
|
|
146
146
|
"eslint-plugin-import": "~2.25.4",
|
|
147
147
|
"eslint-plugin-jest": "~26.1.0",
|
|
148
|
-
"eslint-plugin-jsdoc": "~37.9.
|
|
148
|
+
"eslint-plugin-jsdoc": "~37.9.1",
|
|
149
149
|
"eslint-plugin-jsx-a11y": "~6.5.1",
|
|
150
150
|
"eslint-plugin-mdx": "~1.16.0",
|
|
151
151
|
"eslint-plugin-prettier": "~4.0.0",
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
"postcss-jsx": "~0.36.4",
|
|
198
198
|
"postcss-loader": "~6.2.1",
|
|
199
199
|
"postcss-markdown": "~1.2.0",
|
|
200
|
-
"postcss-preset-env": "~7.3.
|
|
200
|
+
"postcss-preset-env": "~7.3.2",
|
|
201
201
|
"postcss-syntax": "~0.36.2",
|
|
202
202
|
"prettier": "~2.5.1",
|
|
203
203
|
"pug": "~3.0.2",
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
"url-loader": "~4.1.1",
|
|
230
230
|
"uuid": "~8.3.2",
|
|
231
231
|
"vite": "~2.8.1",
|
|
232
|
-
"vitest": "~0.3.
|
|
232
|
+
"vitest": "~0.3.4",
|
|
233
233
|
"webpack": "~5.65.0",
|
|
234
234
|
"webpack-bundle-analyzer": "~4.5.0",
|
|
235
235
|
"webpack-cli": "~4.9.2",
|