@mysetup/prettier-config 2.0.1 → 2.0.4
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/.turbo/turbo-checks.log +2 -0
- package/README.md +35 -2
- package/package.json +16 -4
package/README.md
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
|
-
|
|
1
|
+
# @mysetup/prettier-config
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Shared Prettier configuration used across this workspace.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add -D @mysetup/prettier-config prettier
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Supported libraries and runtimes
|
|
14
|
+
|
|
15
|
+
| Supported | Notes |
|
|
16
|
+
| ---------------- | --------- |
|
|
17
|
+
| Node.js projects | Supported |
|
|
18
|
+
| React projects | Supported |
|
|
19
|
+
| Next.js projects | Supported |
|
|
20
|
+
| Vite projects | Supported |
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"prettier": "@mysetup/prettier-config"
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Scripts
|
|
31
|
+
|
|
32
|
+
- `pnpm clean` - remove generated artifacts
|
|
33
|
+
|
|
34
|
+
## License
|
|
35
|
+
|
|
36
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mysetup/prettier-config",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
|
+
"description": "Shared Prettier configuration.",
|
|
5
|
+
"author": "krishnaraj <krishnaraj.webdev@gmail.com>",
|
|
4
6
|
"main": "index.js",
|
|
5
7
|
"license": "MIT",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
+
"keywords": [
|
|
9
|
+
"prettier",
|
|
10
|
+
"prettierconfig",
|
|
11
|
+
"formatting",
|
|
12
|
+
"typescript"
|
|
13
|
+
],
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
8
16
|
},
|
|
9
17
|
"dependencies": {
|
|
10
18
|
"prettier": "^3.4.2"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"checks": "node -e \"process.exit(0)\"",
|
|
22
|
+
"clean": "node ../scripts/package-fs.cjs remove node_modules .swc dist pnpm-lock.yaml && echo \"Cleaned\""
|
|
11
23
|
}
|
|
12
|
-
}
|
|
24
|
+
}
|