Skip to content

Commit bbf1e79

Browse files
committed
chore(biome): upgrade biome to v2
1 parent 4dc66cb commit bbf1e79

File tree

12 files changed

+65
-203
lines changed

12 files changed

+65
-203
lines changed

biome.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.0.0/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",
66
"useIgnoreFile": true
77
},
88
"files": {
9-
"ignoreUnknown": false,
10-
"ignore": ["tsconfig.json", "package.json", ".changes/*"]
9+
"ignoreUnknown": false
1110
},
1211
"formatter": {
1312
"enabled": true,
1413
"indentStyle": "space"
1514
},
16-
"organizeImports": {
17-
"enabled": true
18-
},
1915
"linter": {
2016
"enabled": true,
2117
"rules": {
@@ -26,5 +22,13 @@
2622
"formatter": {
2723
"quoteStyle": "double"
2824
}
25+
},
26+
"assist": {
27+
"enabled": true,
28+
"actions": {
29+
"source": {
30+
"organizeImports": "on"
31+
}
32+
}
2933
}
3034
}

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"test": "vitest",
4141
"typecheck": "tsc --noEmit",
4242
"format": "biome format . --write",
43-
"release": "bumpp && pnpm publish",
4443
"prepublishOnly": "pnpm run build"
4544
},
4645
"peerDependencies": {
@@ -63,7 +62,7 @@
6362
"tailwindcss": "^4.1.10"
6463
},
6564
"devDependencies": {
66-
"@biomejs/biome": "^1.9.4",
65+
"@biomejs/biome": "^2.0.0",
6766
"@testing-library/jest-dom": "^6.6.3",
6867
"@testing-library/react": "^16.3.0",
6968
"@types/node": "^22.15.32",
@@ -72,7 +71,6 @@
7271
"@types/react-syntax-highlighter": "^15.5.13",
7372
"@vitejs/plugin-react-swc": "^3.10.2",
7473
"archons": "^0.2.12",
75-
"bumpp": "^10.2.0",
7674
"chalk": "^5.4.1",
7775
"happy-dom": "^17.6.3",
7876
"lucide-react": "^0.511.0",

playground/src/Chat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { Button } from "../../dist/button";
55
import {
66
Prompt,
77
PromptDescription,
8-
PromptTitle,
98
Prompts,
9+
PromptTitle,
1010
} from "../../dist/prompt";
1111
import { Sender } from "../../dist/sender";
1212
import type { MessageParam } from "../../dist/utils";

0 commit comments

Comments
 (0)