@adamhl8/configs 0.8.3 → 0.9.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 (2) hide show
  1. package/dist/biome.jsonc +20 -1
  2. package/package.json +3 -5
package/dist/biome.jsonc CHANGED
@@ -142,6 +142,13 @@
142
142
  "semicolons": "asNeeded"
143
143
  }
144
144
  },
145
+ "json": {
146
+ "formatter": {
147
+ // this is 'auto' by default, except that biome uses 'always' for package.json
148
+ // setting it to 'auto' explicitly makes it consistent across all files, including package.json
149
+ "expand": "auto"
150
+ }
151
+ },
145
152
  "assist": {
146
153
  "enabled": true,
147
154
  "actions": {
@@ -158,5 +165,17 @@
158
165
  }
159
166
  }
160
167
  }
161
- }
168
+ },
169
+ "overrides": [
170
+ {
171
+ "includes": ["**/*.tsx"],
172
+ "linter": {
173
+ "rules": {
174
+ "style": {
175
+ "noDefaultExport": "off"
176
+ }
177
+ }
178
+ }
179
+ }
180
+ ]
162
181
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adamhl8/configs",
3
- "version": "0.8.3",
3
+ "version": "0.9.0",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,13 +24,11 @@
24
24
  "types": "./dist/types/prettier.d.ts"
25
25
  }
26
26
  },
27
- "files": [
28
- "dist/"
29
- ],
27
+ "files": ["dist/"],
30
28
  "scripts": {
31
29
  "bundle": "rm -rf ./dist && bun lint && tsc && tsc-alias && cp ./configs/*.{json,jsonc} ./dist/",
32
30
  "lint": "tsc --noEmit && biome check --write",
33
- "prepare": "find .githooks -type f -exec ln -srf {} .git/hooks/ \\;",
31
+ "prepare": "find .githooks -type f -exec ln -srf {} .git/hooks/ \\; || true",
34
32
  "prepublishOnly": "bun bundle"
35
33
  },
36
34
  "dependencies": {