@itcase/config 1.6.53 → 1.6.55
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 +23 -23
- package/postcss/hugo.cjs +73 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/config",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.55",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "ITCase Config",
|
|
6
6
|
"engines": {
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@commitlint/cli": "^20.5.0",
|
|
35
35
|
"@commitlint/config-conventional": "^20.5.0",
|
|
36
|
-
"@commitlint/cz-commitlint": "^20.5.
|
|
36
|
+
"@commitlint/cz-commitlint": "^20.5.1",
|
|
37
37
|
"@lehoczky/postcss-fluid": "^1.0.3",
|
|
38
|
-
"@lerna-lite/cli": "^
|
|
39
|
-
"@lerna-lite/exec": "^
|
|
40
|
-
"@lerna-lite/list": "^
|
|
41
|
-
"@lerna-lite/run": "^
|
|
42
|
-
"@lerna-lite/watch": "^
|
|
38
|
+
"@lerna-lite/cli": "^5.0.0",
|
|
39
|
+
"@lerna-lite/exec": "^5.0.0",
|
|
40
|
+
"@lerna-lite/list": "^5.0.0",
|
|
41
|
+
"@lerna-lite/run": "^5.0.0",
|
|
42
|
+
"@lerna-lite/watch": "^5.0.0",
|
|
43
43
|
"@rollup/plugin-alias": "^6.0.0",
|
|
44
44
|
"@rollup/plugin-babel": "^7.0.0",
|
|
45
45
|
"@rollup/plugin-commonjs": "^29.0.2",
|
|
@@ -52,14 +52,14 @@
|
|
|
52
52
|
"@semantic-release/git": "^10.0.1",
|
|
53
53
|
"@semantic-release/release-notes-generator": "14.1.0",
|
|
54
54
|
"@svgr/webpack": "^8.1.0",
|
|
55
|
-
"autoprefixer": "^10.
|
|
55
|
+
"autoprefixer": "^10.5.0",
|
|
56
56
|
"chokidar-cli": "^3.0.0",
|
|
57
57
|
"commitizen": "^4.3.1",
|
|
58
|
-
"conventional-changelog-conventionalcommits": "^9.3.
|
|
59
|
-
"cssnano": "^7.1.
|
|
60
|
-
"cssnano-preset-default": "^7.0.
|
|
61
|
-
"inquirer": "^13.
|
|
62
|
-
"postcss": "^8.5.
|
|
58
|
+
"conventional-changelog-conventionalcommits": "^9.3.1",
|
|
59
|
+
"cssnano": "^7.1.5",
|
|
60
|
+
"cssnano-preset-default": "^7.0.13",
|
|
61
|
+
"inquirer": "^13.4.1",
|
|
62
|
+
"postcss": "^8.5.9",
|
|
63
63
|
"postcss-aspect-ratio-polyfill": "^2.0.0",
|
|
64
64
|
"postcss-clamp": "^4.1.0",
|
|
65
65
|
"postcss-cli": "^11.0.1",
|
|
@@ -83,9 +83,9 @@
|
|
|
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.2.
|
|
86
|
+
"postcss-preset-env": "^11.2.1",
|
|
87
87
|
"postcss-pxtorem": "^6.1.0",
|
|
88
|
-
"postcss-sort-media-queries": "^6.
|
|
88
|
+
"postcss-sort-media-queries": "^6.4.4",
|
|
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.3",
|
|
94
94
|
"postcss-urlrewrite": "^0.3.0",
|
|
95
95
|
"rollup-plugin-copy": "^3.5.0",
|
|
96
|
-
"rollup-plugin-dts": "^6.4.
|
|
96
|
+
"rollup-plugin-dts": "^6.4.1",
|
|
97
97
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
98
98
|
"rollup-preserve-directives": "^1.1.3",
|
|
99
99
|
"semantic-release": "^25.0.3",
|
|
100
|
-
"semantic-release-lerna": "^2.18.
|
|
100
|
+
"semantic-release-lerna": "^2.18.3"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
|
-
"@itcase/lint": "^1.1.
|
|
103
|
+
"@itcase/lint": "^1.1.107",
|
|
104
104
|
"eslint": "9.39.2",
|
|
105
105
|
"husky": "^9.1.7",
|
|
106
|
-
"inquirer": "^13.
|
|
106
|
+
"inquirer": "^13.4.1",
|
|
107
107
|
"lint-staged": "^16.4.0",
|
|
108
|
-
"prettier": "^3.8.
|
|
109
|
-
"storybook": "^10.3.
|
|
110
|
-
"stylelint": "^17.
|
|
111
|
-
"typescript": "^
|
|
108
|
+
"prettier": "^3.8.2",
|
|
109
|
+
"storybook": "^10.3.5",
|
|
110
|
+
"stylelint": "^17.7.0",
|
|
111
|
+
"typescript": "^6.0.2"
|
|
112
112
|
}
|
|
113
113
|
}
|
package/postcss/hugo.cjs
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-require-imports */
|
|
2
|
+
module.exports = {
|
|
3
|
+
plugins: [
|
|
4
|
+
require('postcss-normalize'),
|
|
5
|
+
require('postcss-prepend-imports')({
|
|
6
|
+
path: 'assets/css/',
|
|
7
|
+
addModulesDirectories: ['node_modules'],
|
|
8
|
+
files: ['import.css'],
|
|
9
|
+
}),
|
|
10
|
+
require('postcss-import-ext-glob'),
|
|
11
|
+
require('postcss-import')({ addModulesDirectories: ['node_modules'] }),
|
|
12
|
+
require('postcss-each'),
|
|
13
|
+
require('postcss-convert-unit')({
|
|
14
|
+
convertConfig: [
|
|
15
|
+
{
|
|
16
|
+
declConvertRules: [
|
|
17
|
+
{
|
|
18
|
+
value: (value) => value * 8,
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
declMatcher: {
|
|
22
|
+
sourceUnit: 'm',
|
|
23
|
+
targetUnit: 'px',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
}),
|
|
28
|
+
require('postcss-flexbugs-fixes'),
|
|
29
|
+
require('postcss-preset-env')({
|
|
30
|
+
features: {
|
|
31
|
+
'custom-properties': {
|
|
32
|
+
preserve: false,
|
|
33
|
+
},
|
|
34
|
+
'nesting-rules': false,
|
|
35
|
+
},
|
|
36
|
+
stage: 2,
|
|
37
|
+
}),
|
|
38
|
+
require('postcss-mixins'),
|
|
39
|
+
require('postcss-url')(
|
|
40
|
+
{
|
|
41
|
+
maxSize: 256,
|
|
42
|
+
url: 'inline',
|
|
43
|
+
filter: /\.(svg|png)$/,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
maxSize: 2048,
|
|
47
|
+
url: 'inline',
|
|
48
|
+
filter: /\.(eot|woff|woff2|ttf)$/,
|
|
49
|
+
},
|
|
50
|
+
),
|
|
51
|
+
require('postcss-nested-ancestors'),
|
|
52
|
+
require('postcss-nested'),
|
|
53
|
+
require('postcss-hexrgba'),
|
|
54
|
+
require('postcss-easings'),
|
|
55
|
+
require('postcss-dark-theme-class')({
|
|
56
|
+
darkSelector: '.dark-theme',
|
|
57
|
+
lightSelector: '.light-theme',
|
|
58
|
+
}),
|
|
59
|
+
require('postcss-combine-duplicated-selectors'),
|
|
60
|
+
require('postcss-discard-duplicates'),
|
|
61
|
+
require('postcss-pxtorem')({
|
|
62
|
+
minPixelValue: 0,
|
|
63
|
+
propList: ['font', 'font-size', 'line-height', 'letter-spacing'],
|
|
64
|
+
rootValue: 16,
|
|
65
|
+
}),
|
|
66
|
+
require('postcss-merge-at-rules'),
|
|
67
|
+
require('postcss-sort-media-queries')({
|
|
68
|
+
sort: 'mobile-first',
|
|
69
|
+
}),
|
|
70
|
+
require('postcss-extend-rule'),
|
|
71
|
+
require('@lehoczky/postcss-fluid'),
|
|
72
|
+
],
|
|
73
|
+
}
|