@anolilab/stylelint-config 10.1.4 → 11.0.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,36 @@
1
+ ## @anolilab/stylelint-config [11.0.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/stylelint-config@10.1.5...@anolilab/stylelint-config@11.0.0) (2026-04-07)
2
+
3
+ ### ⚠ BREAKING CHANGES
4
+
5
+ * Minimum Node.js version raised from 20.18 to 22.12.0
6
+ (current active LTS). Node 20 lacks Object.groupBy which is required by
7
+ eslint-flat-config-utils and lint-staged-config. Updated engines in all
8
+ packages and .nvmrc.
9
+
10
+ Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
11
+
12
+ ### Features
13
+
14
+ * require Node.js >=22.12.0 ([7c491c6](https://github.com/anolilab/javascript-style-guide/commit/7c491c660ea3ec96262dd4d9a17cc3e280b91579))
15
+
16
+ ### Bug Fixes
17
+
18
+ * **stylelint-config:** fix eslint errors in bin.ts ([7b98488](https://github.com/anolilab/javascript-style-guide/commit/7b98488dc3d260305bb34471bca8979629419fb8))
19
+
20
+
21
+ ### Dependencies
22
+
23
+ * **browserslist-config-anolilab:** upgraded to 9.0.0
24
+ * **@anolilab/eslint-config:** upgraded to 27.0.0
25
+ * **@anolilab/prettier-config:** upgraded to 10.0.0
26
+
27
+ ## @anolilab/stylelint-config [10.1.5](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/stylelint-config@10.1.4...@anolilab/stylelint-config@10.1.5) (2026-04-01)
28
+
29
+
30
+ ### Dependencies
31
+
32
+ * **@anolilab/eslint-config:** upgraded to 26.0.0
33
+
1
34
  ## @anolilab/stylelint-config [10.1.4](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/stylelint-config@10.1.3...@anolilab/stylelint-config@10.1.4) (2026-03-28)
2
35
 
3
36
 
package/dist/bin.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
- var f=Object.defineProperty;var a=(e,o)=>f(e,"name",{value:o,configurable:!0});import{existsSync as r}from"node:fs";import{readFile as g,writeFile as c}from"node:fs/promises";import{join as l}from"node:path";import{exit as s}from"node:process";var d=Object.defineProperty,y=a((e,o)=>d(e,"name",{value:o,configurable:!0}),"i");const t=".stylelintrc",u=y(async(e,o)=>{for(const i of[t,`${t}.js`,`${t}.cjs`,`${t}.json`,`${t}.yaml`,`${t}.yml`,"stylelint.config.js","stylelint.config.cjs"])if(r(l(e,i))){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 n=l(e,".stylelintrc.js");await c(n,`${o?"export default":"module.exports ="} {
2
+ var g=Object.defineProperty;var r=(e,o)=>g(e,"name",{value:o,configurable:!0});import{existsSync as a}from"node:fs";import{readFile as d,writeFile as c}from"node:fs/promises";import{join as l}from"node:path";import{exit as s}from"node:process";var u=Object.defineProperty,y=r((e,o)=>u(e,"name",{value:o,configurable:!0}),"s");const t=".stylelintrc",m=y(async(e,o)=>{const n=[t,`${t}.js`,`${t}.cjs`,`${t}.json`,`${t}.yaml`,`${t}.yml`,"stylelint.config.js","stylelint.config.cjs"];for(const f of n)if(a(l(e,f))){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=l(e,".stylelintrc.js");await c(i,`${o?"export default":"module.exports ="} {
3
3
  "extends": [
4
4
  "@anolilab/stylelint-config",
5
5
  ]
6
6
  };
7
7
 
8
- `,"utf8")},"writeStylelintRc"),m=y(async e=>{const o=l(e,".stylelintignore");r(o)||await c(o,`package.json
8
+ `,"utf8")},"writeStylelintRc"),p=y(async e=>{const o=l(e,".stylelintignore");a(o)||await c(o,`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")},"writeStylelintIgnore");(async()=>{const e=process.cwd(),o=l(e,"package.json");r(o)||(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 n=JSON.parse(await g(o,"utf8"));console.log("Configuring @anolilab/stylelint-config",e,`
18
- `);try{await u(e,n?.type==="module"),await m(e),console.log("😎 Everything went well, have fun!"),s(0)}catch(i){console.log("😬 something went wrong:"),console.error(i),s(1)}})();
17
+ `,"utf8")},"writeStylelintIgnore");(async()=>{const e=process.cwd(),o=l(e,"package.json");a(o)||(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 n=JSON.parse(await d(o,"utf8"));console.log("Configuring @anolilab/stylelint-config",e,`
18
+ `);try{await m(e,n.type==="module"),await p(e),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": "10.1.4",
3
+ "version": "11.0.0",
4
4
  "description": "Stylelint shareable config for the Anolilab stylesheet guide.",
5
5
  "keywords": [
6
6
  "css",
@@ -180,7 +180,7 @@
180
180
  "index.mjs"
181
181
  ],
182
182
  "dependencies": {
183
- "browserslist-config-anolilab": "8.0.0",
183
+ "browserslist-config-anolilab": "9.0.0",
184
184
  "stylelint-config-clean-order": "8.0.1",
185
185
  "stylelint-config-standard": "40.0.0",
186
186
  "stylelint-declaration-block-no-ignored-properties": "3.0.0",
@@ -194,7 +194,7 @@
194
194
  "stylelint": "^15.11.0 || 16.x"
195
195
  },
196
196
  "engines": {
197
- "node": ">=20.18.* <=25.*"
197
+ "node": ">=22.12.0 <=25.*"
198
198
  },
199
199
  "publishConfig": {
200
200
  "access": "public",