@anolilab/prettier-config 4.1.0 → 4.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 +21 -0
- package/README.md +15 -8
- package/dist/index.d.mts +5 -0
- package/dist/postinstall.d.mts +2 -0
- package/package.json +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## @anolilab/prettier-config [4.1.1](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/prettier-config@4.1.0...@anolilab/prettier-config@4.1.1) (2023-06-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Update package dependencies versions ([7aec41d](https://github.com/anolilab/javascript-style-guide/commit/7aec41d753081b2cca2f1bb1f7daf1615c6568cb))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Miscellaneous Chores
|
|
10
|
+
|
|
11
|
+
* **prettier-config:** update readme ([b6da6a0](https://github.com/anolilab/javascript-style-guide/commit/b6da6a0a54f22b3037a866f6fa130fed47e6cf9a))
|
|
12
|
+
* update readme ([518bb22](https://github.com/anolilab/javascript-style-guide/commit/518bb2281ec76273348a9549c19a93b6d26ea33d))
|
|
13
|
+
* update readme to remove eslint ([3c714b2](https://github.com/anolilab/javascript-style-guide/commit/3c714b23770ff0dec77792d09ce5e8818a34adea))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Dependencies
|
|
18
|
+
|
|
19
|
+
* **@anolilab/package-json-utils:** upgraded to 1.5.1
|
|
20
|
+
* **@anolilab/semantic-release-preset:** upgraded to 4.0.2
|
|
21
|
+
|
|
1
22
|
## @anolilab/prettier-config [4.1.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/prettier-config@4.0.11...@anolilab/prettier-config@4.1.0) (2023-06-25)
|
|
2
23
|
|
|
3
24
|
|
package/README.md
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Anolilab Coding Standard for semantic-release.
|
|
1
|
+
<div align="center">
|
|
4
2
|
|
|
3
|
+
<h1>Prettier shareable configuration</h1>
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
Package that contains shareable configuration for [prettier](https://github.com/prettier/prettier) — a popular opinionated code formatter.
|
|
7
6
|
|
|
8
7
|
[![typescript-image]][typescript-url] [![npm-image]][npm-url] [![license-image]][license-url]
|
|
9
8
|
|
|
@@ -21,7 +20,6 @@ Anolilab Coding Standard for semantic-release.
|
|
|
21
20
|
|
|
22
21
|
---
|
|
23
22
|
|
|
24
|
-
|
|
25
23
|
## Install
|
|
26
24
|
|
|
27
25
|
```bash
|
|
@@ -29,16 +27,23 @@ npm install --dev-save @anolilab/prettier-config
|
|
|
29
27
|
```
|
|
30
28
|
|
|
31
29
|
```sh
|
|
32
|
-
yarn add -D
|
|
30
|
+
yarn add -D @anolilab/prettier-config
|
|
33
31
|
```
|
|
34
32
|
|
|
35
33
|
```sh
|
|
36
|
-
pnpm add -D
|
|
34
|
+
pnpm add -D @anolilab/prettier-config
|
|
37
35
|
```
|
|
38
36
|
|
|
39
37
|
## Usage
|
|
40
38
|
|
|
41
|
-
If you don’t have a `.prettierrc.
|
|
39
|
+
If you don’t have a `.prettierrc.js` and `.prettierignore`, we will create the file for you after installing `@anolilab/prettier-config`.
|
|
40
|
+
|
|
41
|
+
> Note: If the script detects an existing `.prettierrc.js` file, it will not overwrite it.
|
|
42
|
+
|
|
43
|
+
> Note: It can happen that the postinstall script don't run, then you have to add the `.prettierrc.js` manually.
|
|
44
|
+
|
|
45
|
+
<details>
|
|
46
|
+
<summary>File content of the `.prettierrc.js`</summary>
|
|
42
47
|
|
|
43
48
|
```js
|
|
44
49
|
{
|
|
@@ -81,6 +86,8 @@ If you don’t have a `.prettierrc.{c|m}js` and `.prettierignore`, we will creat
|
|
|
81
86
|
embeddedLanguageFormatting: "auto",
|
|
82
87
|
}
|
|
83
88
|
```
|
|
89
|
+
</details>
|
|
90
|
+
|
|
84
91
|
|
|
85
92
|
## Supported Node.js Versions
|
|
86
93
|
|
package/dist/index.d.mts
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anolilab/prettier-config",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"description": "Prettier shareable config for Anolilab.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
@@ -56,12 +56,14 @@
|
|
|
56
56
|
"postinstall": "node ./skip.js || node ./dist/postinstall.js"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@anolilab/package-json-utils": "1.5.
|
|
59
|
+
"@anolilab/package-json-utils": "1.5.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@anolilab/semantic-release-preset": "4.0.
|
|
62
|
+
"@anolilab/semantic-release-preset": "4.0.2",
|
|
63
63
|
"prettier": "^2.8.8",
|
|
64
|
-
"semantic-release": "^21.0.5"
|
|
64
|
+
"semantic-release": "^21.0.5",
|
|
65
|
+
"tsup": "^7.1.0",
|
|
66
|
+
"vitest": "^0.32.2"
|
|
65
67
|
},
|
|
66
68
|
"peerDependencies": {
|
|
67
69
|
"prettier": "2.x"
|