Skip to content

Commit 1118613

Browse files
chore(dev): update dependency @biomejs/biome to v2 (#22)
* chore(dev): update dependency @biomejs/biome to v2 * chore: migrate biome config and fix formatting --------- Co-authored-by: mrbro-bot[bot] <137683033+mrbro-bot[bot]@users.noreply.github.com>
1 parent 11232e2 commit 1118613

4 files changed

Lines changed: 35 additions & 19 deletions

File tree

biome.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.0/schema.json",
3-
"organizeImports": {
4-
"enabled": true
5-
},
2+
"$schema": "https://biomejs.dev/schemas/2.3.12/schema.json",
3+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
64
"linter": {
75
"enabled": true,
86
"rules": {
@@ -27,6 +25,13 @@
2725
}
2826
},
2927
"files": {
30-
"ignore": ["dist", "lib", ".opencode", "node_modules", "*.md"]
28+
"includes": [
29+
"**",
30+
"!**/dist",
31+
"!**/lib",
32+
"!**/.opencode",
33+
"!**/node_modules",
34+
"!**/*.md"
35+
]
3136
}
3237
}

bun.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@
1313
"types": "./dist/index.d.ts"
1414
}
1515
},
16-
"files": ["dist", "skills", "agents", "commands"],
16+
"files": [
17+
"dist",
18+
"skills",
19+
"agents",
20+
"commands"
21+
],
1722
"scripts": {
1823
"build": "bun build src/index.ts src/cli.ts --outdir dist --target node --format esm --splitting --external @opencode-ai/plugin/tool --external jsonc-parser",
1924
"dev": "bun --watch src/index.ts",
@@ -25,7 +30,13 @@
2530
"fix": "bun run lint --fix",
2631
"prepublishOnly": "bun run build && bun run test"
2732
},
28-
"keywords": ["opencode", "plugin", "ai", "workflow", "engineering"],
33+
"keywords": [
34+
"opencode",
35+
"plugin",
36+
"ai",
37+
"workflow",
38+
"engineering"
39+
],
2940
"author": "Marcus R. Brown",
3041
"license": "MIT",
3142
"repository": {
@@ -39,7 +50,7 @@
3950
"@opencode-ai/plugin": "^1.1.30"
4051
},
4152
"devDependencies": {
42-
"@biomejs/biome": "^1.9.0",
53+
"@biomejs/biome": "^2.0.0",
4354
"@opencode-ai/plugin": "^1.1.30",
4455
"@types/bun": "latest",
4556
"@types/node": "^22.0.0",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import path from 'node:path'
44
import { fileURLToPath } from 'node:url'
55
import type { Plugin } from '@opencode-ai/plugin'
66
import { tool } from '@opencode-ai/plugin/tool'
7+
import { loadConfig, type SystematicConfig } from './lib/config.js'
78
import { createConfigHandler } from './lib/config-handler.js'
8-
import { type SystematicConfig, loadConfig } from './lib/config.js'
99
import * as skillsCore from './lib/skills-core.js'
1010

1111
const __dirname = path.dirname(fileURLToPath(import.meta.url))

0 commit comments

Comments
 (0)