@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 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
- # Prettier shareable configuration
2
-
3
- Anolilab Coding Standard for semantic-release.
1
+ <div align="center">
4
2
 
3
+ <h1>Prettier shareable configuration</h1>
5
4
 
6
- <div align="center">
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 eslint @anolilab/prettier-config
30
+ yarn add -D @anolilab/prettier-config
33
31
  ```
34
32
 
35
33
  ```sh
36
- pnpm add -D eslint @anolilab/prettier-config
34
+ pnpm add -D @anolilab/prettier-config
37
35
  ```
38
36
 
39
37
  ## Usage
40
38
 
41
- If you don’t have a `.prettierrc.{c|m}js` and `.prettierignore`, we will create the file for you after installing `@anolilab/prettier-config`.
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
 
@@ -0,0 +1,5 @@
1
+ import { Config } from 'prettier';
2
+
3
+ declare const config: Config;
4
+
5
+ export { config as default };
@@ -0,0 +1,2 @@
1
+
2
+ export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anolilab/prettier-config",
3
- "version": "4.1.0",
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.0"
59
+ "@anolilab/package-json-utils": "1.5.1"
60
60
  },
61
61
  "devDependencies": {
62
- "@anolilab/semantic-release-preset": "4.0.1",
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"