stylelint-config-crisp 1.0.35 → 1.0.37
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.
|
@@ -20,7 +20,7 @@ jobs:
|
|
|
20
20
|
- name: Install NodeJS
|
|
21
21
|
uses: actions/setup-node@v1
|
|
22
22
|
with:
|
|
23
|
-
node-version:
|
|
23
|
+
node-version: 24.x
|
|
24
24
|
registry-url: https://registry.npmjs.org
|
|
25
25
|
|
|
26
26
|
- name: Verify versions
|
|
@@ -28,5 +28,3 @@ jobs:
|
|
|
28
28
|
|
|
29
29
|
- name: Release package
|
|
30
30
|
run: npm publish --access public --ignore-scripts --provenance
|
|
31
|
-
env:
|
|
32
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stylelint-config-crisp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.37",
|
|
4
4
|
"description": "Custom Stylelint Rules for Crisp",
|
|
5
5
|
"author": "Crisp IM SAS",
|
|
6
6
|
"main": "index.js",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"url": "https://github.com/crisp-oss/stylelint-config-crisp/issues"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@stylistic/stylelint-config": "
|
|
17
|
-
"postcss-html": "1.
|
|
18
|
-
"stylelint-config-standard-scss": "
|
|
19
|
-
"stylelint-order": "
|
|
16
|
+
"@stylistic/stylelint-config": "2.0.0",
|
|
17
|
+
"postcss-html": "1.8.0",
|
|
18
|
+
"stylelint-config-standard-scss": "15.0.1",
|
|
19
|
+
"stylelint-order": "7.0.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"stylelint": "16.
|
|
22
|
+
"stylelint": "16.20.0"
|
|
23
23
|
},
|
|
24
24
|
"keywords": [
|
|
25
25
|
"stylelint",
|
|
@@ -48,7 +48,11 @@ const ruleFunction = (primaryOption, secondaryOptions = {}, context) => {
|
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
let fileName = path.basename(root.source.input.file, ".vue");
|
|
52
|
+
|
|
53
|
+
// Skip .island suffix if present
|
|
54
|
+
fileName = fileName.replace(".island", "");
|
|
55
|
+
|
|
52
56
|
const { prefix = "", suffix = "" } = secondaryOptions;
|
|
53
57
|
const expectedClassName = `${prefix}${toKebabCase(fileName)}${suffix}`;
|
|
54
58
|
|