@alexlit/lint-kit 51.1.0 → 51.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/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ # [51.2.0](https://github.com/alex-lit/lint-kit/compare/v51.1.0...v51.2.0) (2021-12-21)
2
+
1
3
  # [51.1.0](https://github.com/alex-lit/lint-kit/compare/v51.0.0...v51.1.0) (2021-12-20)
2
4
 
3
5
  # [51.0.0](https://github.com/alex-lit/lint-kit/compare/v50.0.2...v51.0.0) (2021-12-18)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/lint-kit",
3
- "version": "51.1.0",
3
+ "version": "51.2.0",
4
4
  "private": false,
5
5
  "description": "Preset of configuration files and dependencies for linting web applications (designed for Vue.js with TypeScript)",
6
6
  "keywords": [
@@ -56,6 +56,7 @@
56
56
  "lint:markdownlint": "./scripts/lint.markdownlint.sh",
57
57
  "lint:npmlint": "./scripts/lint.npmlint.sh",
58
58
  "lint:stylelint": "./scripts/lint.stylelint.sh",
59
+ "ou": "./scripts/ou.sh",
59
60
  "publish": "./scripts/publish.sh",
60
61
  "semver": "./scripts/semver.sh",
61
62
  "up": "./scripts/up.sh",
@@ -68,7 +69,7 @@
68
69
  "@alexlit/config-markdownlint": "0.8.0",
69
70
  "@alexlit/config-npmlint": "^2.0.2",
70
71
  "@alexlit/config-prettier": "^4.5.0",
71
- "@alexlit/config-stylelint": "^14.0.1",
72
+ "@alexlit/config-stylelint": "^14.1.0",
72
73
  "husky": "^4.3.8",
73
74
  "lint-staged": "^12.1.3"
74
75
  },
package/scripts/init.sh CHANGED
@@ -1,35 +1,46 @@
1
1
  # Install dependencies
2
2
 
3
+ COLOR_NAME='\e[96m'
4
+
5
+ echo "\n${COLOR_NAME}install dependencies..."
3
6
  npm i
4
7
 
8
+ echo "\n${COLOR_NAME}get submodules..."
5
9
  git submodule update --init
6
10
 
7
11
  cd submodules
8
12
 
13
+ echo "\n${COLOR_NAME}install commitlint..."
9
14
  cd config-commitlint
10
15
  npm i
11
16
  cd ../
12
17
 
18
+ echo "\n${COLOR_NAME}install eslint..."
13
19
  cd config-eslint
14
20
  npm i
15
21
  cd ../
16
22
 
23
+ echo "\n${COLOR_NAME}install htmllint..."
17
24
  cd config-htmllint
18
25
  npm i
19
26
  cd ../
20
27
 
28
+ echo "\n${COLOR_NAME}install markdownlint..."
21
29
  cd config-markdownlint
22
30
  npm i
23
31
  cd ../
24
32
 
33
+ echo "\n${COLOR_NAME}install npmlint..."
25
34
  cd config-npmlint
26
35
  npm i
27
36
  cd ../
28
37
 
38
+ echo "\n${COLOR_NAME}install prettier..."
29
39
  cd config-prettier
30
40
  npm i
31
41
  cd ../
32
42
 
43
+ echo "\n${COLOR_NAME}install stylelint..."
33
44
  cd config-stylelint
34
45
  npm i
35
46
  cd ../
package/scripts/ou.sh ADDED
@@ -0,0 +1,40 @@
1
+ # Check outdated packages
2
+
3
+ COLOR_NAME='\e[96m'
4
+
5
+ cd submodules
6
+
7
+ echo "\n${COLOR_NAME}check commitlint..."
8
+ cd config-commitlint
9
+ npm ou
10
+ cd ../
11
+
12
+ echo "\n${COLOR_NAME}check eslint..."
13
+ cd config-eslint
14
+ npm ou
15
+ cd ../
16
+
17
+ echo "\n${COLOR_NAME}check htmllint..."
18
+ cd config-htmllint
19
+ npm ou
20
+ cd ../
21
+
22
+ echo "\n${COLOR_NAME}check markdownlint..."
23
+ cd config-markdownlint
24
+ npm ou
25
+ cd ../
26
+
27
+ echo "\n${COLOR_NAME}check npmlint..."
28
+ cd config-npmlint
29
+ npm ou
30
+ cd ../
31
+
32
+ echo "\n${COLOR_NAME}check prettier..."
33
+ cd config-prettier
34
+ npm ou
35
+ cd ../
36
+
37
+ echo "\n${COLOR_NAME}check stylelint..."
38
+ cd config-stylelint
39
+ npm ou
40
+ cd ../