@itcase/config 1.0.24 → 1.0.26
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 +4 -4
- package/postcss/index.js +6 -6
- package/postcss/require.cjs +4 -0
- package/postcss/require.js +4 -4
- package/postcss/requirePackage.cjs +4 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "Config",
|
|
6
6
|
"engines": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"cssnano-preset-default": "^7.0.6",
|
|
38
38
|
"postcss-aspect-ratio-polyfill": "^2.0.0",
|
|
39
39
|
"postcss-clamp": "^4.1.0",
|
|
40
|
-
"postcss-cli": "^11.0.
|
|
40
|
+
"postcss-cli": "^11.0.1",
|
|
41
41
|
"postcss-color-hsla-fallback": "^1.0.0",
|
|
42
42
|
"postcss-combine-duplicated-selectors": "^10.0.3",
|
|
43
43
|
"postcss-custom-unit": "^1.0.0",
|
|
@@ -73,9 +73,9 @@
|
|
|
73
73
|
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
74
74
|
"eslint": "^9.22.0",
|
|
75
75
|
"husky": "^9.1.7",
|
|
76
|
-
"lint-staged": "^15.
|
|
76
|
+
"lint-staged": "^15.5.0",
|
|
77
77
|
"prettier": "^3.5.3",
|
|
78
78
|
"semantic-release": "^24.2.3",
|
|
79
|
-
"stylelint": "^16.
|
|
79
|
+
"stylelint": "^16.16.0"
|
|
80
80
|
}
|
|
81
81
|
}
|
package/postcss/index.js
CHANGED
|
@@ -24,6 +24,12 @@ export default {
|
|
|
24
24
|
],
|
|
25
25
|
'postcss-each',
|
|
26
26
|
'postcss-mixins',
|
|
27
|
+
[
|
|
28
|
+
'postcss-custom-unit',
|
|
29
|
+
{
|
|
30
|
+
units: [{ from: 'm', convert: (val) => val * 8 + 'px' }],
|
|
31
|
+
},
|
|
32
|
+
],
|
|
27
33
|
'postcss-flexbugs-fixes',
|
|
28
34
|
[
|
|
29
35
|
'postcss-preset-env',
|
|
@@ -67,12 +73,6 @@ export default {
|
|
|
67
73
|
},
|
|
68
74
|
],
|
|
69
75
|
'postcss-merge-at-rules',
|
|
70
|
-
[
|
|
71
|
-
'postcss-unit',
|
|
72
|
-
{
|
|
73
|
-
units: [{ from: 'm', convert: (val) => val * 8 + 'px' }],
|
|
74
|
-
},
|
|
75
|
-
],
|
|
76
76
|
[
|
|
77
77
|
'postcss-sort-media-queries',
|
|
78
78
|
{
|
package/postcss/require.cjs
CHANGED
|
@@ -10,6 +10,10 @@ module.exports = {
|
|
|
10
10
|
require('postcss-each'),
|
|
11
11
|
require('postcss-mixins'),
|
|
12
12
|
require('postcss-flexbugs-fixes'),
|
|
13
|
+
require('postcss-custom-unit')({
|
|
14
|
+
units: [{ from: 'm', convert: (val) => val * 8 + 'px' }],
|
|
15
|
+
}),
|
|
16
|
+
|
|
13
17
|
require('postcss-preset-env')({
|
|
14
18
|
features: {
|
|
15
19
|
'custom-properties': {
|
package/postcss/require.js
CHANGED
|
@@ -9,6 +9,10 @@ module.exports = {
|
|
|
9
9
|
require('postcss-import')({ addModulesDirectories: ['node_modules'] }),
|
|
10
10
|
require('postcss-each'),
|
|
11
11
|
require('postcss-mixins'),
|
|
12
|
+
require('postcss-custom-unit')({
|
|
13
|
+
units: [{ from: 'm', convert: (val) => val * 8 + 'px' }],
|
|
14
|
+
}),
|
|
15
|
+
|
|
12
16
|
require('postcss-flexbugs-fixes'),
|
|
13
17
|
require('postcss-preset-env')({
|
|
14
18
|
features: {
|
|
@@ -36,10 +40,6 @@ module.exports = {
|
|
|
36
40
|
rootValue: 16,
|
|
37
41
|
}),
|
|
38
42
|
require('postcss-merge-at-rules')(),
|
|
39
|
-
require('postcss-custom-unit')({
|
|
40
|
-
units: [{ from: 'm', convert: (val) => val * 8 + 'px' }],
|
|
41
|
-
}),
|
|
42
|
-
|
|
43
43
|
require('postcss-sort-media-queries')({
|
|
44
44
|
sort: 'mobile-first',
|
|
45
45
|
}),
|
|
@@ -16,6 +16,9 @@ module.exports = {
|
|
|
16
16
|
require('postcss-each'),
|
|
17
17
|
require('postcss-mixins'),
|
|
18
18
|
require('postcss-flexbugs-fixes'),
|
|
19
|
+
require('postcss-custom-unit')({
|
|
20
|
+
units: [{ from: 'm', convert: (val) => val * 8 + 'px' }],
|
|
21
|
+
}),
|
|
19
22
|
require('postcss-preset-env')({
|
|
20
23
|
features: {
|
|
21
24
|
'custom-properties': {
|
|
@@ -44,17 +47,11 @@ module.exports = {
|
|
|
44
47
|
require('postcss-sort-media-queries')({
|
|
45
48
|
sort: 'mobile-first',
|
|
46
49
|
}),
|
|
47
|
-
require('postcss-custom-unit')({
|
|
48
|
-
units: [{ from: 'm', convert: (val) => val * 8 + 'px' }],
|
|
49
|
-
}),
|
|
50
50
|
require('@lehoczky/postcss-fluid'),
|
|
51
51
|
]
|
|
52
52
|
: [
|
|
53
53
|
require('postcss-normalize'),
|
|
54
54
|
require('postcss-import-ext-glob'),
|
|
55
|
-
require('postcss-import')
|
|
56
|
-
require('postcss-custom-unit')({
|
|
57
|
-
units: [{ from: 'm', convert: (val) => val * 8 + 'px' }],
|
|
58
|
-
}),
|
|
55
|
+
require('postcss-import')
|
|
59
56
|
],
|
|
60
57
|
}
|