@alexlit/lint-kit 143.0.2 → 143.2.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.
- package/package.json +1 -1
- package/packages/config-commitlint/node_modules/.bin/commitlint +2 -2
- package/packages/config-commitlint/node_modules/.bin/conventional-changelog +2 -2
- package/packages/config-eslint/node_modules/.bin/acorn +4 -4
- package/packages/config-eslint/package.json +4 -4
- package/packages/config-eslint/presets/_base.js +1 -6
- package/packages/config-hooks/lint-staged.js +1 -1
- package/packages/config-hooks/node_modules/.bin/husky +2 -2
- package/packages/config-hooks/node_modules/.bin/lint-staged +4 -4
- package/packages/config-hooks/package.json +2 -2
- package/packages/config-htmllint/node_modules/.bin/linthtml +2 -2
- package/packages/config-markdownlint/node_modules/.bin/markdownlint +2 -2
- package/packages/config-npmlint/node_modules/.bin/lockfile-lint +2 -2
- package/packages/config-npmlint/node_modules/.bin/npmPkgJsonLint +2 -2
- package/packages/config-prettier/node_modules/.bin/prettier +2 -2
- package/packages/config-stylelint/node_modules/.bin/prettier +2 -2
- package/packages/config-stylelint/node_modules/.bin/stylelint +4 -4
- package/packages/config-stylelint/package.json +4 -4
- package/packages/config-stylelint/plugins/a11y.js +2 -1
- package/packages/config-stylelint/plugins/logical-css.js +1 -7
- package/scripts/i.sh +1 -1
- package/scripts/lint.sh +5 -5
- package/scripts/ou.sh +2 -2
- package/scripts/release.sh +2 -2
- package/scripts/up.sh +2 -4
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.8.0_@types+node@22.13.10_typescript@5.8.2/node_modules/@commitlint/cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.8.0_@types+node@22.13.10_typescript@5.8.2/node_modules/@commitlint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@commitlint+cli@19.8.0_@types+node@22.13.10_typescript@5.8.2/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir
|
|
14
|
+
exec "$basedir/node" "$basedir/../@commitlint/cli/cli.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../@commitlint/cli/cli.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/conventional-changelog-cli@5.0.0_conventional-commits-filter@5.0.0/node_modules/conventional-changelog-cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/conventional-changelog-cli@5.0.0_conventional-commits-filter@5.0.0/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir
|
|
14
|
+
exec "$basedir/node" "$basedir/../conventional-changelog-cli/cli.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../conventional-changelog-cli/cli.js" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.14.
|
|
9
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.14.1/node_modules/acorn/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.14.1/node_modules/acorn/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.14.1/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.14.
|
|
11
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.14.1/node_modules/acorn/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.14.1/node_modules/acorn/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/acorn@8.14.1/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/acorn@8.14.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/acorn@8.14.1/node_modules/acorn/bin/acorn" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/acorn@8.14.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/acorn@8.14.1/node_modules/acorn/bin/acorn" "$@"
|
|
17
17
|
fi
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "107.0
|
|
3
|
+
"version": "107.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Sharable ESLint configuration",
|
|
6
6
|
"keywords": [
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@eslint/js": "^9.22.0",
|
|
43
|
-
"@eslint/json": "^0.
|
|
43
|
+
"@eslint/json": "^0.11.0",
|
|
44
44
|
"@intlify/eslint-plugin-vue-i18n": "^4.0.0",
|
|
45
45
|
"@stylistic/eslint-plugin": "^4.2.0",
|
|
46
|
-
"@tanstack/eslint-plugin-query": "^5.
|
|
46
|
+
"@tanstack/eslint-plugin-query": "^5.68.0",
|
|
47
47
|
"@unocss/eslint-config": "^66.0.0",
|
|
48
48
|
"eslint": "9.22.0",
|
|
49
49
|
"eslint-config-prettier": "^10.1.1",
|
|
50
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
50
|
+
"eslint-plugin-jsdoc": "^50.6.8",
|
|
51
51
|
"eslint-plugin-perfectionist": "^4.10.1",
|
|
52
52
|
"eslint-plugin-prettier": "^5.2.3",
|
|
53
53
|
"eslint-plugin-regexp": "^2.7.0",
|
|
@@ -4,12 +4,7 @@ export const FILES = ['**/*.{js,mjs,cjs,jsx,ts,tsx,vue}'];
|
|
|
4
4
|
|
|
5
5
|
/** Base config */
|
|
6
6
|
export const _base = [
|
|
7
|
-
{
|
|
8
|
-
files: FILES,
|
|
9
|
-
languageOptions: {
|
|
10
|
-
globals: globals.browser,
|
|
11
|
-
},
|
|
12
|
-
},
|
|
7
|
+
{ files: FILES, languageOptions: { globals: globals.browser } },
|
|
13
8
|
{
|
|
14
9
|
ignores: [
|
|
15
10
|
'**/.temp',
|
|
@@ -74,7 +74,7 @@ const createLintStagedConfig = (plugins = {}, config = {}) => {
|
|
|
74
74
|
'*.tsx': [eslint, prettier],
|
|
75
75
|
'*.vue': [eslint, stylelint, prettier],
|
|
76
76
|
'*.xml': [prettier],
|
|
77
|
-
'*.yaml': [prettier],
|
|
77
|
+
'*.yaml,!pnpm-lock.yaml,!yarn-lock.yaml': [prettier],
|
|
78
78
|
'*.yml': [prettier],
|
|
79
79
|
'package-lock.json': [lockfilelint],
|
|
80
80
|
'package.json': [npmlint],
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/husky@9.1.7/node_modules/husky/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/husky@9.1.7/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir
|
|
14
|
+
exec "$basedir/node" "$basedir/../husky/bin.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../husky/bin.js" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.
|
|
9
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.5.0/node_modules/lint-staged/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.5.0/node_modules/lint-staged/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.5.0/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.
|
|
11
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.5.0/node_modules/lint-staged/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.5.0/node_modules/lint-staged/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lint-staged@15.5.0/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir
|
|
14
|
+
exec "$basedir/node" "$basedir/../lint-staged/bin/lint-staged.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../lint-staged/bin/lint-staged.js" "$@"
|
|
17
17
|
fi
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-hooks",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Hooks config",
|
|
6
6
|
"keywords": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"husky": "^9.1.7",
|
|
39
|
-
"lint-staged": "^15.
|
|
39
|
+
"lint-staged": "^15.5.0"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=18.18"
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@linthtml+linthtml@0.10.1_typescript@5.8.2/node_modules/@linthtml/linthtml/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@linthtml+linthtml@0.10.1_typescript@5.8.2/node_modules/@linthtml/linthtml/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@linthtml+linthtml@0.10.1_typescript@5.8.2/node_modules/@linthtml/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/@linthtml+linthtml@0.10.1_typescript@5.8.2/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir
|
|
14
|
+
exec "$basedir/node" "$basedir/../@linthtml/linthtml/bin/linthtml.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../@linthtml/linthtml/bin/linthtml.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/markdownlint-cli@0.44.0/node_modules/markdownlint-cli/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/markdownlint-cli@0.44.0/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir
|
|
14
|
+
exec "$basedir/node" "$basedir/../markdownlint-cli/markdownlint.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../markdownlint-cli/markdownlint.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.0_typescript@5.8.2/node_modules/lockfile-lint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.0_typescript@5.8.2/node_modules/lockfile-lint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/lockfile-lint@4.14.0_typescript@5.8.2/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir
|
|
14
|
+
exec "$basedir/node" "$basedir/../lockfile-lint/bin/lockfile-lint.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../lockfile-lint/bin/lockfile-lint.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/npm-package-json-lint@8.0.0_typescript@5.8.2/node_modules/npm-package-json-lint/dist/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/npm-package-json-lint@8.0.0_typescript@5.8.2/node_modules/npm-package-json-lint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/npm-package-json-lint@8.0.0_typescript@5.8.2/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir
|
|
14
|
+
exec "$basedir/node" "$basedir/../npm-package-json-lint/dist/cli.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../npm-package-json-lint/dist/cli.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/prettier@3.5.3/node_modules/prettier/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/prettier@3.5.3/node_modules/prettier/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/prettier@3.5.3/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir
|
|
14
|
+
exec "$basedir/node" "$basedir/../prettier/bin/prettier.cjs" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../prettier/bin/prettier.cjs" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/prettier@3.5.3/node_modules/prettier/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/prettier@3.5.3/node_modules/prettier/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/prettier@3.5.3/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir
|
|
14
|
+
exec "$basedir/node" "$basedir/../prettier/bin/prettier.cjs" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../prettier/bin/prettier.cjs" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.
|
|
9
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.16.0_typescript@5.8.2/node_modules/stylelint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.16.0_typescript@5.8.2/node_modules/stylelint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.16.0_typescript@5.8.2/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.
|
|
11
|
+
export NODE_PATH="/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.16.0_typescript@5.8.2/node_modules/stylelint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.16.0_typescript@5.8.2/node_modules/stylelint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.16.0_typescript@5.8.2/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir
|
|
14
|
+
exec "$basedir/node" "$basedir/../stylelint/bin/stylelint.mjs" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir
|
|
16
|
+
exec node "$basedir/../stylelint/bin/stylelint.mjs" "$@"
|
|
17
17
|
fi
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-stylelint",
|
|
3
|
-
"version": "50.
|
|
3
|
+
"version": "50.3.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Stylelint config",
|
|
6
6
|
"keywords": [
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"postcss": "^8.5.3",
|
|
41
41
|
"postcss-html": "^1.8.0",
|
|
42
42
|
"prettier": "^3.5.3",
|
|
43
|
-
"stylelint": "16.
|
|
43
|
+
"stylelint": "16.16.0",
|
|
44
44
|
"stylelint-color-format": "^1.1.0",
|
|
45
45
|
"stylelint-config-recommended-vue": "^1.6.0",
|
|
46
46
|
"stylelint-config-standard": "^37.0.0",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"stylelint-high-performance-animation": "^1.11.0",
|
|
51
51
|
"stylelint-media-use-custom-media": "^4.0.0",
|
|
52
52
|
"stylelint-no-browser-hacks": "^1.3.0",
|
|
53
|
-
"stylelint-no-indistinguishable-colors": "^2.3.
|
|
53
|
+
"stylelint-no-indistinguishable-colors": "^2.3.1",
|
|
54
54
|
"stylelint-no-nested-media": "^0.1.0",
|
|
55
55
|
"stylelint-no-unresolved-module": "^2.3.0",
|
|
56
56
|
"stylelint-no-unsupported-browser-features": "^8.0.4",
|
|
57
57
|
"stylelint-order": "^6.0.4",
|
|
58
|
-
"stylelint-plugin-logical-css": "^1.2.
|
|
58
|
+
"stylelint-plugin-logical-css": "^1.2.2",
|
|
59
59
|
"stylelint-prettier": "^5.0.3",
|
|
60
60
|
"stylelint-scss": "^6.11.1",
|
|
61
61
|
"stylelint-selector-no-empty": "^1.0.9",
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
export default {
|
|
3
3
|
plugins: ['@double-great/stylelint-a11y'],
|
|
4
4
|
rules: {
|
|
5
|
-
'a11y/media-prefers-reduced-motion':
|
|
5
|
+
'a11y/media-prefers-reduced-motion': false,
|
|
6
|
+
'a11y/no-obsolete-attribute': true,
|
|
6
7
|
'a11y/no-obsolete-element': true,
|
|
7
8
|
'a11y/no-outline-none': true,
|
|
8
9
|
'a11y/no-text-align-justify': true,
|
|
@@ -2,13 +2,7 @@
|
|
|
2
2
|
export default {
|
|
3
3
|
plugins: ['stylelint-plugin-logical-css'],
|
|
4
4
|
rules: {
|
|
5
|
-
'plugin/use-logical-properties-and-values': [
|
|
6
|
-
true,
|
|
7
|
-
{
|
|
8
|
-
ignore: ['overflow-y', 'overflow-x'],
|
|
9
|
-
severity: 'warning',
|
|
10
|
-
},
|
|
11
|
-
],
|
|
5
|
+
'plugin/use-logical-properties-and-values': [true, { severity: 'warning' }],
|
|
12
6
|
'plugin/use-logical-units': [true, { severity: 'warning' }],
|
|
13
7
|
},
|
|
14
8
|
};
|
package/scripts/i.sh
CHANGED
package/scripts/lint.sh
CHANGED
|
@@ -6,10 +6,10 @@ OPTION=${1}
|
|
|
6
6
|
|
|
7
7
|
echo -e "${YELLOW}Запускаю линтеры: ${GREEN}eslint, htmllint, markdownlint, npmlint, stylelint...${WHITE}"
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
pnpm run lint:eslint ${OPTION}
|
|
10
|
+
pnpm run lint:htmllint
|
|
11
|
+
pnpm run lint:markdownlint ${OPTION}
|
|
12
|
+
pnpm run lint:npmlint
|
|
13
|
+
pnpm run lint:stylelint ${OPTION}
|
|
14
14
|
|
|
15
15
|
SAY_GOODBYE
|
package/scripts/ou.sh
CHANGED
|
@@ -22,10 +22,10 @@ done
|
|
|
22
22
|
# Вывод результатов
|
|
23
23
|
if $local_mode; then
|
|
24
24
|
echo -e "${GREY}Режим проверки: ${WHITE}локальный${WHITE}"
|
|
25
|
-
|
|
25
|
+
pnpm outdated
|
|
26
26
|
else
|
|
27
27
|
echo -e "${GREY}Режим проверки: ${WHITE}глобальный${WHITE}"
|
|
28
|
-
|
|
28
|
+
pnpm outdated \
|
|
29
29
|
--recursive
|
|
30
30
|
fi
|
|
31
31
|
|
package/scripts/release.sh
CHANGED
|
@@ -4,7 +4,7 @@ source "$(dirname $0)"/../bash.config.sh
|
|
|
4
4
|
|
|
5
5
|
VERSION=${1:-patch} # patch | minor | major
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
pnpm run semver ${VERSION}
|
|
8
8
|
|
|
9
9
|
CURRENT_PACKAGE_NAME=$(node -p "require('./package.json').name")
|
|
10
10
|
CURRENT_PACKAGE_VERSION=$(node -p "require('./package.json').version")
|
|
@@ -15,6 +15,6 @@ echo -e "${YELLOW}Коммит в ${GREEN}git${YELLOW}...${WHITE}"
|
|
|
15
15
|
git push
|
|
16
16
|
|
|
17
17
|
echo -e "${YELLOW}Публикация в ${GREEN}registry.npmjs.org${YELLOW}...${WHITE}"
|
|
18
|
-
|
|
18
|
+
pnpm publish --no-git-checks
|
|
19
19
|
|
|
20
20
|
SAY_GOODBYE
|
package/scripts/up.sh
CHANGED
|
@@ -20,16 +20,14 @@ while [[ "$#" -gt 0 ]]; do
|
|
|
20
20
|
done
|
|
21
21
|
|
|
22
22
|
# Вывод списка для выбора обновляемых зависимостей
|
|
23
|
-
# TODO: pnpm@9 bug - ставит все зависимости вместо выбранных
|
|
24
23
|
if $local_mode; then
|
|
25
24
|
echo -e "${GREY}Режим проверки: ${WHITE}локальный${WHITE}"
|
|
26
|
-
|
|
25
|
+
pnpm update \
|
|
27
26
|
--interactive \
|
|
28
|
-
--recursive \
|
|
29
27
|
--latest
|
|
30
28
|
else
|
|
31
29
|
echo -e "${GREY}Режим проверки: ${WHITE}глобальный${WHITE}"
|
|
32
|
-
|
|
30
|
+
pnpm update \
|
|
33
31
|
--interactive \
|
|
34
32
|
--latest \
|
|
35
33
|
--recursive
|