@culur/config-stylelint 1.0.2 → 1.0.3
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 +40 -9
- package/package.json +10 -10
- package/src/__tests__/mock.ts +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,43 @@
|
|
|
1
1
|
# @culur/config-stylelint
|
|
2
2
|
|
|
3
|
+
## 1.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ✨ Update tsup config ([`571e742`](https://github.com/culur/culur/commit/571e742777500a4c30fcc433e84c5ed081db8cb8)) ([@phamhongphuc](https://github.com/phamhongphuc)).
|
|
8
|
+
|
|
9
|
+
- 📦 Update dependencies ([`48415cd`](https://github.com/culur/culur/commit/48415cd678f229f7de42a24141ebf6ab76aa2d19)) ([@renovate](https://github.com/apps/renovate)):
|
|
10
|
+
|
|
11
|
+
- `devDependencies`:
|
|
12
|
+
- `rimraf@^6.0.1`
|
|
13
|
+
|
|
14
|
+
- 📦 Update dependencies ([`9e437f6`](https://github.com/culur/culur/commit/9e437f6a43faa352d4a2d9235571df68b084ebf5)) ([@renovate](https://github.com/apps/renovate)):
|
|
15
|
+
|
|
16
|
+
- `dependencies`:
|
|
17
|
+
- `stylelint-scss@^6.4.1`
|
|
18
|
+
|
|
19
|
+
- 📦 Update dependencies ([`bcc7aeb`](https://github.com/culur/culur/commit/bcc7aeb1f6780ff7a53f2202a1bfa0de2236ee14)) ([@renovate](https://github.com/apps/renovate)):
|
|
20
|
+
|
|
21
|
+
- `devDependencies`:
|
|
22
|
+
- `stylelint@^16.7.0`
|
|
23
|
+
|
|
24
|
+
- 📦 Update dependencies ([`8674db9`](https://github.com/culur/culur/commit/8674db941572a49cc16a9c53e981fed32e8aebcf)) ([@renovate](https://github.com/apps/renovate)):
|
|
25
|
+
|
|
26
|
+
- `devDependencies`:
|
|
27
|
+
- `@vitest/coverage-v8@^2.0.2`
|
|
28
|
+
- `@vitest/ui@^2.0.2`
|
|
29
|
+
- `vitest@^2.0.2`
|
|
30
|
+
|
|
31
|
+
- 📦 Update workspace dependencies ([`48415cd`](https://github.com/culur/culur/commit/48415cd678f229f7de42a24141ebf6ab76aa2d19) [`8674db9`](https://github.com/culur/culur/commit/8674db941572a49cc16a9c53e981fed32e8aebcf) [`7353b5d`](https://github.com/culur/culur/commit/7353b5dcd35d81aa6c46a97eff3436e6e715a0f8)):
|
|
32
|
+
- `@culur/utils-packages@1.0.3`
|
|
33
|
+
|
|
3
34
|
## 1.0.2
|
|
4
35
|
|
|
5
36
|
### Patch Changes
|
|
6
37
|
|
|
7
|
-
- Update `README.md` ([`2a74486`](https://github.com/culur/culur/commit/2a744863a5ba8378906547713fde5033ea85939c)
|
|
38
|
+
- 📝 Update `README.md` ([`2a74486`](https://github.com/culur/culur/commit/2a744863a5ba8378906547713fde5033ea85939c) [@phamhongphuc](https://github.com/phamhongphuc)).
|
|
8
39
|
|
|
9
|
-
- Update dependencies ([#35](https://github.com/culur/culur/pull/35) [`9a595fa`](https://github.com/culur/culur/commit/9a595fae5f9505e9afdc872a2f670c08bb53d419)
|
|
40
|
+
- 📦 Update dependencies ([#35](https://github.com/culur/culur/pull/35) [`9a595fa`](https://github.com/culur/culur/commit/9a595fae5f9505e9afdc872a2f670c08bb53d419) [@renovate](https://github.com/apps/renovate)):
|
|
10
41
|
|
|
11
42
|
- `dependencies`:
|
|
12
43
|
- `stylelint-config-clean-order@^6.1.0`
|
|
@@ -18,19 +49,19 @@
|
|
|
18
49
|
- `rimraf@^5.0.8`
|
|
19
50
|
- `typescript@^5.5.3`
|
|
20
51
|
|
|
21
|
-
-
|
|
52
|
+
- 📦 Update workspace dependencies ([`2a74486`](https://github.com/culur/culur/commit/2a744863a5ba8378906547713fde5033ea85939c) [`9a595fa`](https://github.com/culur/culur/commit/9a595fae5f9505e9afdc872a2f670c08bb53d419)):
|
|
22
53
|
- `@culur/utils-packages@1.0.2`
|
|
23
54
|
|
|
24
55
|
## 1.0.1
|
|
25
56
|
|
|
26
57
|
### Patch Changes
|
|
27
58
|
|
|
28
|
-
- Update dependencies ([`49476de`](https://github.com/culur/culur/commit/49476dee58addebe889a9bd134435a7d41a6d1f2)
|
|
59
|
+
- 📦 Update dependencies ([`49476de`](https://github.com/culur/culur/commit/49476dee58addebe889a9bd134435a7d41a6d1f2) [@renovate](https://github.com/apps/renovate)):
|
|
29
60
|
|
|
30
61
|
- `dependencies`:
|
|
31
62
|
- `stylelint-config-clean-order@^6.0.0`
|
|
32
63
|
|
|
33
|
-
- Update dependencies ([`74dbf2c`](https://github.com/culur/culur/commit/74dbf2c0050b30e9289aa7879c4cbb9ac103f4d3)
|
|
64
|
+
- 📦 Update dependencies ([`74dbf2c`](https://github.com/culur/culur/commit/74dbf2c0050b30e9289aa7879c4cbb9ac103f4d3) [@renovate](https://github.com/apps/renovate)):
|
|
34
65
|
|
|
35
66
|
- `dependencies`:
|
|
36
67
|
- `stylelint-scss@^6.3.1`
|
|
@@ -39,18 +70,18 @@
|
|
|
39
70
|
- `stylelint@^16.6.1`
|
|
40
71
|
- `tsup@^8.1.0`
|
|
41
72
|
|
|
42
|
-
- Update workspace dependencies to specific version ([`7f4eeae`](https://github.com/culur/culur/commit/7f4eeae4fa2c2dbed218675e8ce2cc91ca0bc4c3)
|
|
73
|
+
- 📦 Update workspace dependencies to specific version ([`7f4eeae`](https://github.com/culur/culur/commit/7f4eeae4fa2c2dbed218675e8ce2cc91ca0bc4c3) [@phamhongphuc](https://github.com/phamhongphuc)).
|
|
43
74
|
|
|
44
|
-
-
|
|
75
|
+
- 📦 Update workspace dependencies ([`74dbf2c`](https://github.com/culur/culur/commit/74dbf2c0050b30e9289aa7879c4cbb9ac103f4d3) [`7f4eeae`](https://github.com/culur/culur/commit/7f4eeae4fa2c2dbed218675e8ce2cc91ca0bc4c3)):
|
|
45
76
|
- `@culur/utils-packages@1.0.1`
|
|
46
77
|
|
|
47
78
|
## 1.0.0
|
|
48
79
|
|
|
49
80
|
### Major Changes
|
|
50
81
|
|
|
51
|
-
-
|
|
82
|
+
- 🎉 Initial project ([`a83892c`](https://github.com/culur/culur/commit/a83892c01bc3a49cd21b79a1abd5443147fff0c4) [@phamhongphuc](https://github.com/phamhongphuc)).
|
|
52
83
|
|
|
53
84
|
### Patch Changes
|
|
54
85
|
|
|
55
|
-
-
|
|
86
|
+
- 📦 Update workspace dependencies ([`e3492d2`](https://github.com/culur/culur/commit/e3492d20a29bee15bbabab0a60277ed36944cd7a)):
|
|
56
87
|
- `@culur/utils-packages@1.0.0`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@culur/config-stylelint",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Culur's stylelint configuration",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -66,33 +66,33 @@
|
|
|
66
66
|
"node": ">=20"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@culur/utils-packages": "1.0.
|
|
69
|
+
"@culur/utils-packages": "1.0.3",
|
|
70
70
|
"stylelint-config-clean-order": "^6.1.0",
|
|
71
71
|
"stylelint-config-html": "^1.1.0",
|
|
72
72
|
"stylelint-config-standard": "^36.0.1",
|
|
73
73
|
"stylelint-config-standard-scss": "^13.1.0",
|
|
74
74
|
"stylelint-config-standard-vue": "^1.0.0",
|
|
75
75
|
"stylelint-order": "^6.0.4",
|
|
76
|
-
"stylelint-scss": "^6.
|
|
76
|
+
"stylelint-scss": "^6.4.1",
|
|
77
77
|
"stylelint-selector-bem-pattern": "^4.0.0"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@culur/config-tsup": "1.1.
|
|
80
|
+
"@culur/config-tsup": "1.1.1",
|
|
81
81
|
"@culur/config-typescript": "1.0.2",
|
|
82
|
-
"@culur/config-vite": "1.0.
|
|
82
|
+
"@culur/config-vite": "1.0.4",
|
|
83
83
|
"@types/node": "^20.14.10",
|
|
84
|
-
"@vitest/coverage-v8": "^
|
|
85
|
-
"@vitest/ui": "^
|
|
84
|
+
"@vitest/coverage-v8": "^2.0.2",
|
|
85
|
+
"@vitest/ui": "^2.0.2",
|
|
86
86
|
"dedent": "^1.5.3",
|
|
87
87
|
"postcss": "^8.4.39",
|
|
88
88
|
"postcss-html": "^1.7.0",
|
|
89
89
|
"postcss-sass": "^0.5.0",
|
|
90
90
|
"postcss-scss": "^4.0.9",
|
|
91
|
-
"rimraf": "^
|
|
92
|
-
"stylelint": "^16.
|
|
91
|
+
"rimraf": "^6.0.1",
|
|
92
|
+
"stylelint": "^16.7.0",
|
|
93
93
|
"tsup": "^8.1.0",
|
|
94
94
|
"typescript": "^5.5.3",
|
|
95
|
-
"vitest": "^
|
|
95
|
+
"vitest": "^2.0.2"
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|
|
98
98
|
"stylelint": ">=16.0.0"
|
package/src/__tests__/mock.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { vi } from 'vitest';
|
|
2
2
|
|
|
3
|
+
vi.mock('@culur/utils-packages');
|
|
4
|
+
|
|
3
5
|
export type UtilsPackages = Partial<{
|
|
4
6
|
hasTailwind: boolean;
|
|
5
7
|
hasSass: boolean;
|
|
@@ -14,10 +16,6 @@ export const defineMockUtilsPackages = (testCases: UtilsPackages[]) => {
|
|
|
14
16
|
typeof t.hasVue === 'boolean',
|
|
15
17
|
);
|
|
16
18
|
|
|
17
|
-
if (shouldMockUtilsPackages) {
|
|
18
|
-
vi.mock('@culur/utils-packages');
|
|
19
|
-
}
|
|
20
|
-
|
|
21
19
|
return async ({ hasTailwind, hasSass, hasVue }: UtilsPackages) => {
|
|
22
20
|
if (shouldMockUtilsPackages) {
|
|
23
21
|
const utilsPackages = await import('@culur/utils-packages');
|