bochi 5.1.0 → 5.3.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.
Files changed (3) hide show
  1. package/README.md +10 -1
  2. package/dprint.json +34 -0
  3. package/package.json +11 -3
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # bochi
2
2
 
3
- `tsconfig.json` / `prettier` / `biome` base configs
3
+ `tsconfig.json` / `prettier` / `biome` / `dprint` base configs
4
4
 
5
5
  > *Required: TypeScript >= `5.5 beta`*
6
6
 
@@ -91,6 +91,15 @@ module.exports = require('bochi/prettier')
91
91
  }
92
92
  ```
93
93
 
94
+ ## Dprint
95
+
96
+ ```ts
97
+ // dprint.json
98
+ {
99
+ "extends": "./node_modules/bochi/dprint.json"
100
+ }
101
+ ```
102
+
94
103
  ## Package version
95
104
 
96
105
  Package Name|Version
package/dprint.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "lineWidth": 80,
3
+ "useTabs": false,
4
+ "indentWidth": 2,
5
+ "typescript": {
6
+ "semiColons": "asi",
7
+ "quoteStyle": "preferSingle",
8
+ "indentWidth": 2,
9
+ "useTabs": false,
10
+ "lineWidth": 80
11
+ },
12
+ "json": {
13
+ "indentWidth": 2,
14
+ "useTabs": false,
15
+ "lineWidth": 80
16
+ },
17
+ "excludes": [
18
+ "**/*-lock.json",
19
+ "**/*-lock.yaml",
20
+ "**/node_modules/**",
21
+ "**/dist/**",
22
+ "**/build/**",
23
+ "**/compiled/**",
24
+ "**/test/**",
25
+ "**/tests/**",
26
+ "**/coverage/**",
27
+ "**/fixtures/**",
28
+ "**/__fixtures__/**"
29
+ ],
30
+ "plugins": [
31
+ "https://plugins.dprint.dev/typescript-0.95.8.wasm",
32
+ "https://plugins.dprint.dev/json-0.20.0.wasm"
33
+ ]
34
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bochi",
3
- "version": "5.1.0",
3
+ "version": "5.3.0",
4
4
  "description": "tsconfig.json base configs",
5
5
  "keywords": [
6
6
  "tsconfig",
@@ -20,7 +20,8 @@
20
20
  "lib-native-esm.json",
21
21
  "project.json",
22
22
  "prettier.js",
23
- "biome.json"
23
+ "biome.json",
24
+ "dprint.json"
24
25
  ],
25
26
  "exports": {
26
27
  "./package.json": "./package.json",
@@ -41,6 +42,9 @@
41
42
  },
42
43
  "./biome": {
43
44
  "default": "./biome.json"
45
+ },
46
+ "./dprint": {
47
+ "default": "./dprint.json"
44
48
  }
45
49
  },
46
50
  "scripts": {
@@ -51,6 +55,7 @@
51
55
  "@biomejs/biome": "^1.9.0",
52
56
  "@types/node": "^18.19.50",
53
57
  "commit-verify": "^1.1.0",
58
+ "dprint": "^0.50.1",
54
59
  "husky": "^9.1.6",
55
60
  "prettier": "^3.3.3",
56
61
  "typescript": "5.6.2"
@@ -59,5 +64,8 @@
59
64
  "access": "public"
60
65
  },
61
66
  "license": "MIT",
62
- "packageManager": "pnpm@9.7.1"
67
+ "packageManager": "pnpm@10.13.1",
68
+ "pnpm": {
69
+ "neverBuiltDependencies": []
70
+ }
63
71
  }