@itcase/config 1.6.60 → 1.6.62
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/lint-staged/index.js +1 -0
- package/lint-staged-ts/index.js +1 -0
- package/package.json +29 -29
- package/postcss/requirePackage.cjs +5 -1
package/lint-staged/index.js
CHANGED
|
@@ -5,6 +5,7 @@ export default {
|
|
|
5
5
|
'*.(js|jsx|ts|tsx)': (files) => `npx eslint --fix --color ${files.join(' ')}`,
|
|
6
6
|
'*.css': (files) =>
|
|
7
7
|
`npx stylelint --fix --color --formatter verbose ${files.join(' ')}`,
|
|
8
|
+
'*.mdx': (files) => `npx eslint --fix --color ${files.join(' ')}`,
|
|
8
9
|
'package.json': (files) => {
|
|
9
10
|
// Проверяем, есть ли package.json в корне репозитория
|
|
10
11
|
const rootPackageJson = resolve(process.cwd(), 'package.json')
|
package/lint-staged-ts/index.js
CHANGED
|
@@ -13,6 +13,7 @@ export default {
|
|
|
13
13
|
},
|
|
14
14
|
'*.css': (files) =>
|
|
15
15
|
`npx stylelint --fix --color --formatter verbose ${files.join(' ')}`,
|
|
16
|
+
'*.mdx': (files) => `npx eslint --fix ${files.join(' ')}`,
|
|
16
17
|
'package.json': (files) => {
|
|
17
18
|
// Проверяем, есть ли package.json в корне репозитория
|
|
18
19
|
const rootPackageJson = resolve(process.cwd(), 'package.json')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/config",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.62",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "ITCase Config",
|
|
6
6
|
"engines": {
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
"registry": "https://registry.npmjs.org/"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@commitlint/cli": "^21.
|
|
35
|
-
"@commitlint/config-conventional": "^21.0
|
|
36
|
-
"@commitlint/cz-commitlint": "^21.0
|
|
34
|
+
"@commitlint/cli": "^21.2.1",
|
|
35
|
+
"@commitlint/config-conventional": "^21.2.0",
|
|
36
|
+
"@commitlint/cz-commitlint": "^21.2.0",
|
|
37
37
|
"@lehoczky/postcss-fluid": "^1.0.3",
|
|
38
|
-
"@lerna-lite/cli": "^5.
|
|
39
|
-
"@lerna-lite/exec": "^5.
|
|
40
|
-
"@lerna-lite/list": "^5.
|
|
41
|
-
"@lerna-lite/run": "^5.
|
|
42
|
-
"@lerna-lite/watch": "^5.
|
|
38
|
+
"@lerna-lite/cli": "^5.4.2",
|
|
39
|
+
"@lerna-lite/exec": "^5.4.2",
|
|
40
|
+
"@lerna-lite/list": "^5.4.2",
|
|
41
|
+
"@lerna-lite/run": "^5.4.2",
|
|
42
|
+
"@lerna-lite/watch": "^5.4.2",
|
|
43
43
|
"@rollup/plugin-alias": "^6.0.0",
|
|
44
44
|
"@rollup/plugin-babel": "^7.1.0",
|
|
45
45
|
"@rollup/plugin-commonjs": "^29.0.3",
|
|
@@ -48,18 +48,18 @@
|
|
|
48
48
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
49
49
|
"@rollup/plugin-terser": "^1.0.0",
|
|
50
50
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
51
|
-
"@semantic-release/changelog": "^
|
|
52
|
-
"@semantic-release/git": "^
|
|
51
|
+
"@semantic-release/changelog": "^7.0.0",
|
|
52
|
+
"@semantic-release/git": "^11.0.1",
|
|
53
53
|
"@semantic-release/release-notes-generator": "14.1.1",
|
|
54
54
|
"@svgr/webpack": "^8.1.0",
|
|
55
|
-
"autoprefixer": "^10.5.
|
|
55
|
+
"autoprefixer": "^10.5.4",
|
|
56
56
|
"chokidar-cli": "^3.0.0",
|
|
57
57
|
"commitizen": "^4.3.2",
|
|
58
|
-
"conventional-changelog-conventionalcommits": "^
|
|
59
|
-
"cssnano": "^8.0.
|
|
60
|
-
"cssnano-preset-default": "^8.0.
|
|
58
|
+
"conventional-changelog-conventionalcommits": "^10.2.1",
|
|
59
|
+
"cssnano": "^8.0.4",
|
|
60
|
+
"cssnano-preset-default": "^8.0.4",
|
|
61
61
|
"inquirer": "^14.0.2",
|
|
62
|
-
"postcss": "^8.5.
|
|
62
|
+
"postcss": "^8.5.26",
|
|
63
63
|
"postcss-aspect-ratio-polyfill": "^2.0.0",
|
|
64
64
|
"postcss-clamp": "^4.1.0",
|
|
65
65
|
"postcss-cli": "^11.0.1",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"postcss-combine-duplicated-selectors": "^10.0.3",
|
|
68
68
|
"postcss-convert-unit": "^0.1.3",
|
|
69
69
|
"postcss-dark-theme-class": "^2.0.0",
|
|
70
|
-
"postcss-discard-duplicates": "^8.0.
|
|
70
|
+
"postcss-discard-duplicates": "^8.0.2",
|
|
71
71
|
"postcss-each": "^1.1.0",
|
|
72
72
|
"postcss-easings": "^4.0.0",
|
|
73
73
|
"postcss-extend-rule": "^4.0.0",
|
|
@@ -76,16 +76,16 @@
|
|
|
76
76
|
"postcss-import": "^16.1.1",
|
|
77
77
|
"postcss-import-ext-glob": "^2.1.1",
|
|
78
78
|
"postcss-loader": "^8.2.1",
|
|
79
|
-
"postcss-merge-at-rules": "^2.0.
|
|
79
|
+
"postcss-merge-at-rules": "^2.0.1",
|
|
80
80
|
"postcss-mixins": "^12.1.2",
|
|
81
81
|
"postcss-mq-extract": "^1.0.0",
|
|
82
|
-
"postcss-nested": "^
|
|
82
|
+
"postcss-nested": "^8.0.1",
|
|
83
83
|
"postcss-nested-ancestors": "^3.0.0",
|
|
84
84
|
"postcss-normalize": "^13.0.1",
|
|
85
85
|
"postcss-prepend-imports": "^1.0.1",
|
|
86
|
-
"postcss-preset-env": "^11.3.
|
|
86
|
+
"postcss-preset-env": "^11.3.2",
|
|
87
87
|
"postcss-pxtorem": "^6.1.0",
|
|
88
|
-
"postcss-sort-media-queries": "^6.
|
|
88
|
+
"postcss-sort-media-queries": "^6.7.1",
|
|
89
89
|
"postcss-unit": "^0.0.3",
|
|
90
90
|
"postcss-unit-processor": "^1.4.3",
|
|
91
91
|
"postcss-unitlist": "^1.0.4",
|
|
@@ -93,21 +93,21 @@
|
|
|
93
93
|
"postcss-url": "^10.1.4",
|
|
94
94
|
"postcss-urlrewrite": "^0.3.0",
|
|
95
95
|
"rollup-plugin-copy": "^3.5.0",
|
|
96
|
-
"rollup-plugin-dts": "^6.
|
|
96
|
+
"rollup-plugin-dts": "^6.5.1",
|
|
97
97
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
98
98
|
"rollup-preserve-directives": "^1.1.3",
|
|
99
|
-
"semantic-release": "^25.0.
|
|
100
|
-
"semantic-release-lerna": "^3.
|
|
99
|
+
"semantic-release": "^25.0.9",
|
|
100
|
+
"semantic-release-lerna": "^3.6.0"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
|
-
"@itcase/lint": "^1.1.
|
|
103
|
+
"@itcase/lint": "^1.1.121",
|
|
104
104
|
"eslint": "9.39.2",
|
|
105
105
|
"husky": "^9.1.7",
|
|
106
106
|
"inquirer": "^14.0.2",
|
|
107
|
-
"lint-staged": "^17.0
|
|
108
|
-
"prettier": "^3.
|
|
109
|
-
"storybook": "^10.
|
|
110
|
-
"stylelint": "^17.
|
|
107
|
+
"lint-staged": "^17.3.0",
|
|
108
|
+
"prettier": "^3.9.6",
|
|
109
|
+
"storybook": "^10.5.7",
|
|
110
|
+
"stylelint": "^17.14.1",
|
|
111
111
|
"typescript": "^6.0.2"
|
|
112
112
|
}
|
|
113
113
|
}
|
|
@@ -69,6 +69,10 @@ module.exports = {
|
|
|
69
69
|
require('postcss-normalize'),
|
|
70
70
|
require('postcss-import-ext-glob'),
|
|
71
71
|
require('postcss-import'),
|
|
72
|
-
require('postcss-each')
|
|
72
|
+
require('postcss-each'),
|
|
73
|
+
require('postcss-nested-ancestors'),
|
|
74
|
+
require('postcss-nested'),
|
|
75
|
+
require('postcss-combine-duplicated-selectors'),
|
|
76
|
+
require('postcss-discard-duplicates'),
|
|
73
77
|
],
|
|
74
78
|
}
|