@anolilab/stylelint-config 11.0.6 → 11.1.1
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 +15 -0
- package/dist/bin.mjs +4 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## @anolilab/stylelint-config [11.1.1](https://github.com/anolilab/javascript-style-guide/compare/%40anolilab%2Fstylelint-config%4011.1.0...%40anolilab%2Fstylelint-config%4011.1.1) (2026-08-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Dependencies
|
|
5
|
+
|
|
6
|
+
* **@anolilab/eslint-config:** upgraded to 28.1.3
|
|
7
|
+
* **@anolilab/prettier-config:** upgraded to 10.0.3
|
|
8
|
+
|
|
9
|
+
## @anolilab/stylelint-config [11.1.0](https://github.com/anolilab/javascript-style-guide/compare/%40anolilab%2Fstylelint-config%4011.0.6...%40anolilab%2Fstylelint-config%4011.1.0) (2026-07-21)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Dependencies
|
|
13
|
+
|
|
14
|
+
* **@anolilab/eslint-config:** upgraded to 28.1.0
|
|
15
|
+
|
|
1
16
|
## @anolilab/stylelint-config [11.0.6](https://github.com/anolilab/javascript-style-guide/compare/%40anolilab%2Fstylelint-config%4011.0.5...%40anolilab%2Fstylelint-config%4011.0.6) (2026-07-20)
|
|
2
17
|
|
|
3
18
|
|
package/dist/bin.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{existsSync as a}from"node:fs";import{readFile as
|
|
2
|
+
import{existsSync as a}from"node:fs";import{readFile as f,writeFile as r}from"node:fs/promises";import{join as e}from"node:path";import{exit as s}from"node:process";const t=".stylelintrc",y=async(o,n)=>{const l=[t,`${t}.js`,`${t}.cjs`,`${t}.json`,`${t}.yaml`,`${t}.yml`,"stylelint.config.js","stylelint.config.cjs"];for(const c of l)if(a(e(o,c))){console.warn('⚠️ .stylelintrc.js already exists; Make sure that it includes the following for @anolilab/stylelint-config to work as it should: { "extends": ["@anolilab/stylelint-config"] }.');return}const i=e(o,".stylelintrc.js");await r(i,`${n?"export default":"module.exports ="} {
|
|
3
3
|
"extends": [
|
|
4
4
|
"@anolilab/stylelint-config",
|
|
5
5
|
]
|
|
6
6
|
};
|
|
7
7
|
|
|
8
|
-
`,"utf8")},g=async o=>{const n=
|
|
8
|
+
`,"utf8")},g=async o=>{const n=e(o,".stylelintignore");a(n)||await r(n,`package.json
|
|
9
9
|
package-lock.json
|
|
10
10
|
yarn.lock
|
|
11
11
|
pnpm-lock.yaml
|
|
@@ -14,5 +14,5 @@ node_modules/**
|
|
|
14
14
|
.next/**
|
|
15
15
|
dist/**
|
|
16
16
|
|
|
17
|
-
`,"utf8")};(async()=>{const o=process.cwd(),n=
|
|
18
|
-
`);try{await
|
|
17
|
+
`,"utf8")};(async()=>{const o=process.cwd(),n=e(o,"package.json");a(n)||(console.error("😬 No package.json found in the current directory. You need to run this command in a directory with a package.json file."),s(1));const l=JSON.parse(await f(n,"utf8"));console.log("Configuring @anolilab/stylelint-config",o,`
|
|
18
|
+
`);try{await y(o,l.type==="module"),await g(o),console.log("😎 Everything went well, have fun!"),s(0)}catch(i){console.log("😬 something went wrong:"),console.error(i),s(1)}})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anolilab/stylelint-config",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.1.1",
|
|
4
4
|
"description": "Stylelint shareable config for the Anolilab stylesheet guide.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
@@ -192,8 +192,8 @@
|
|
|
192
192
|
"stylelint-selector-no-empty": "^1.0.9"
|
|
193
193
|
},
|
|
194
194
|
"peerDependencies": {
|
|
195
|
-
"postcss": "8.5.
|
|
196
|
-
"stylelint": "^15.11.0 || 16.x"
|
|
195
|
+
"postcss": "8.5.25",
|
|
196
|
+
"stylelint": "^15.11.0 || 16.x || 17.x"
|
|
197
197
|
},
|
|
198
198
|
"engines": {
|
|
199
199
|
"node": ">=22.12.0 <=25.*"
|