@alexlit/lint-kit 143.0.2 → 143.1.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-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-stylelint/node_modules/.bin/prettier +2 -2
- package/packages/config-stylelint/node_modules/.bin/stylelint +2 -2
- package/packages/config-stylelint/package.json +2 -2
- 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/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/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/stylelint@16.15.0_typescript@5.8.2/node_modules/stylelint/bin/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.15.0_typescript@5.8.2/node_modules/stylelint/node_modules:/home/alexlit/Work/@alexlit/lint-kit/node_modules/.pnpm/stylelint@16.15.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.2.
|
|
3
|
+
"version": "50.2.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Stylelint config",
|
|
6
6
|
"keywords": [
|
|
@@ -55,7 +55,7 @@
|
|
|
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,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
|