@anolilab/prettier-config 9.1.0 → 10.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 +32 -2
- package/README.md +5 -5
- package/dist/bin.mjs +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,44 @@
|
|
|
1
|
+
## @anolilab/prettier-config [10.0.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/prettier-config@9.1.1...@anolilab/prettier-config@10.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
|
+
### Styles
|
|
17
|
+
|
|
18
|
+
* cs fixes on md files ([1262ea8](https://github.com/anolilab/javascript-style-guide/commit/1262ea848750c22d227f3591787356f048f02741))
|
|
19
|
+
|
|
20
|
+
## @anolilab/prettier-config [9.1.1](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/prettier-config@9.1.0...@anolilab/prettier-config@9.1.1) (2026-02-21)
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* resolve pre-commit hook failures and lint errors across packages ([a4707c3](https://github.com/anolilab/javascript-style-guide/commit/a4707c38941c7adb55a7a606f9689caa9c8f7962))
|
|
25
|
+
|
|
26
|
+
### Miscellaneous Chores
|
|
27
|
+
|
|
28
|
+
* **prettier-config:** add .prettierignore ([b07d6c3](https://github.com/anolilab/javascript-style-guide/commit/b07d6c39480f2bd612585492db1166f5b4013ff8))
|
|
29
|
+
* **prettier-config:** migrate to ESM prettier config and fix bin.ts ([970de06](https://github.com/anolilab/javascript-style-guide/commit/970de062cf51a62726e55d24db3080e85ef6cffb))
|
|
30
|
+
|
|
1
31
|
## @anolilab/prettier-config [9.1.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/prettier-config@9.0.0...@anolilab/prettier-config@9.1.0) (2026-01-29)
|
|
2
32
|
|
|
3
33
|
## @anolilab/prettier-config [9.0.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/prettier-config@8.0.1...@anolilab/prettier-config@9.0.0) (2026-01-11)
|
|
4
34
|
|
|
5
35
|
### Bug Fixes
|
|
6
36
|
|
|
7
|
-
|
|
37
|
+
- update package versions and configurations ([d4c690d](https://github.com/anolilab/javascript-style-guide/commit/d4c690d6132fb7c1734a299f64fbc1020190a300))
|
|
8
38
|
|
|
9
39
|
### Miscellaneous Chores
|
|
10
40
|
|
|
11
|
-
|
|
41
|
+
- update package versions and configurations ([daf1e9a](https://github.com/anolilab/javascript-style-guide/commit/daf1e9af81c2ea12d07d9c8d804b2431d953e229))
|
|
12
42
|
|
|
13
43
|
## @anolilab/prettier-config [8.0.1](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/prettier-config@8.0.0...@anolilab/prettier-config@8.0.1) (2026-01-05)
|
|
14
44
|
|
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ pnpm add @anolilab/prettier-config
|
|
|
50
50
|
|
|
51
51
|
## Usage
|
|
52
52
|
|
|
53
|
-
If you don
|
|
53
|
+
If you don’t have a `.prettierrc.js` or the other supported filenames and `.prettierignore`, we can create the file for you after installing `@anolilab/prettier-config`, call `pnpm prettier-config:install`.
|
|
54
54
|
|
|
55
55
|
> Note: If the script detects an existing `.prettierrc.js` file, it will not overwrite it.
|
|
56
56
|
|
|
@@ -105,9 +105,9 @@ module.exports = {
|
|
|
105
105
|
|
|
106
106
|
## Supported Node.js Versions
|
|
107
107
|
|
|
108
|
-
Libraries in this ecosystem make the best effort to track [Node.js
|
|
108
|
+
Libraries in this ecosystem make the best effort to track [Node.js’ release schedule](https://github.com/nodejs/release#release-schedule).
|
|
109
109
|
|
|
110
|
-
Here
|
|
110
|
+
Here’s [a post on why we think this is important](https://medium.com/the-node-js-collection/maintainers-should-consider-following-node-js-release-schedule-ab08ed4de71a).
|
|
111
111
|
|
|
112
112
|
## Contributing
|
|
113
113
|
|
|
@@ -123,7 +123,7 @@ If you would like to help take a look at the [list of issues](https://github.com
|
|
|
123
123
|
|
|
124
124
|
## Made with ❤️ at Anolilab
|
|
125
125
|
|
|
126
|
-
This is an open source project and will always remain free to use. If you think it
|
|
126
|
+
This is an open source project and will always remain free to use. If you think it’s cool, please star it 🌟. [Anolilab](https://anolilab.com/open-source) is a Development and AI Studio. Contact at [hello@anolilab.com](mailto:hello@anolilab.com) if you need any help with these technologies or want to say hi!
|
|
127
127
|
|
|
128
128
|
## License
|
|
129
129
|
|
|
@@ -138,7 +138,7 @@ The anolilab prettier-config is open-sourced software licensed under the [MIT][l
|
|
|
138
138
|
[prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge
|
|
139
139
|
[prs-welcome]: https://github.com/anolilab/javascript-style-guide/blob/main/.github/CONTRIBUTING.md
|
|
140
140
|
[chat-badge]: https://img.shields.io/discord/902465130518949899.svg?style=for-the-badge
|
|
141
|
-
[chat]: https://discord.
|
|
141
|
+
[chat]: https://discord.com/invite/4VuvwWGaaB
|
|
142
142
|
[typescript-badge]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
|
|
143
143
|
[typescript-url]: https://www.typescriptlang.org/
|
|
144
144
|
[license-url]: https://opensource.org/licenses/MIT
|
package/dist/bin.mjs
CHANGED
|
@@ -9,5 +9,5 @@ ${r?"export default":"module.exports ="} {
|
|
|
9
9
|
}
|
|
10
10
|
`,"utf8")},"writePrettierRc"),y=f(async e=>{const r=i(e,".prettierignore");if(a(r)){console.warn("⚠️ .prettierignore already exists");return}await c(r,`${["*.md","*.sh","*.yml","*.svg","*.gif","*.log",".DS_Store","CNAME","AUTHORS","LICENSE","es/","lib/","dist/","coverage/"].join(`
|
|
11
11
|
`)}
|
|
12
|
-
`,"utf8")},"writePrettierIgnore");(async()=>{const e=process.cwd(),r=i(e,"package.json");a(r)||(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(r,"
|
|
12
|
+
`,"utf8")},"writePrettierIgnore");(async()=>{const e=process.cwd(),r=i(e,"package.json");a(r)||(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(r,"utf8"));console.log("Configuring @anolilab/prettier-config",e,`
|
|
13
13
|
`);try{await d(e,n.type==="module"),await y(e),console.log("Everything went well, have fun!"),s(0)}catch(o){console.error("Something went wrong:",o),s(1)}})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anolilab/prettier-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"description": "Prettier shareable config for Anolilab.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"prettier": "3.8.1"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=22.12.0 <=25.*"
|
|
73
73
|
},
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public",
|