@anolilab/stylelint-config 11.0.6 → 11.1.0

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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## @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)
2
+
3
+
4
+ ### Dependencies
5
+
6
+ * **@anolilab/eslint-config:** upgraded to 28.1.0
7
+
1
8
  ## @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
9
 
3
10
 
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 y,writeFile as c}from"node:fs/promises";import{join as l}from"node:path";import{exit as i}from"node:process";const t=".stylelintrc",f=async(o,n)=>{const e=[t,`${t}.js`,`${t}.cjs`,`${t}.json`,`${t}.yaml`,`${t}.yml`,"stylelint.config.js","stylelint.config.cjs"];for(const r of e)if(a(l(o,r))){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 s=l(o,".stylelintrc.js");await c(s,`${n?"export default":"module.exports ="} {
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=l(o,".stylelintignore");a(n)||await c(n,`package.json
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=l(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."),i(1));const e=JSON.parse(await y(n,"utf8"));console.log("Configuring @anolilab/stylelint-config",o,`
18
- `);try{await f(o,e.type==="module"),await g(o),console.log("😎 Everything went well, have fun!"),i(0)}catch(s){console.log("😬 something went wrong:"),console.error(s),i(1)}})();
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.0.6",
3
+ "version": "11.1.0",
4
4
  "description": "Stylelint shareable config for the Anolilab stylesheet guide.",
5
5
  "keywords": [
6
6
  "css",
@@ -193,7 +193,7 @@
193
193
  },
194
194
  "peerDependencies": {
195
195
  "postcss": "8.5.20",
196
- "stylelint": "^15.11.0 || 16.x"
196
+ "stylelint": "^15.11.0 || 16.x || 17.x"
197
197
  },
198
198
  "engines": {
199
199
  "node": ">=22.12.0 <=25.*"