Skip to content

Commit 18a14f5

Browse files
author
Slyrian
committed
chore: update biome schema version in biome.json and enhance README with update instructions
- Update biome schema version from 2.3.11 to 2.3.14 in biome.json - Add section in README for updating the plugin with Bun - Include commands for updating and forcing the latest version - Clarify the need to restart OpenCode after updating the plugin
1 parent 2fe0182 commit 18a14f5

2 files changed

Lines changed: 19 additions & 8 deletions

File tree

README.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,24 @@ bun add -d @sillybit/renamer-opencode-plugin
4141

4242
OpenCode installs npm plugins automatically at startup (cached under `~/.cache/opencode/node_modules/`), so the manual install step is optional.
4343

44+
## Updating the plugin
45+
46+
If the plugin is installed in your project `devDependencies`, update it with Bun:
47+
48+
```bash
49+
bun update -d @sillybit/renamer-opencode-plugin
50+
```
51+
52+
To force the latest published version:
53+
54+
```bash
55+
bun add -d @sillybit/renamer-opencode-plugin@latest
56+
```
57+
58+
After updating, restart OpenCode so it reloads the plugin.
59+
60+
If you only reference the plugin in `opencode.json`/`opencode.jsonc` (without adding it to your project dependencies), restarting OpenCode is usually enough for it to fetch the newest cached-compatible version.
61+
4462
## Configuration
4563

4664
Config is optional. If you don’t configure anything, the plugin is enabled and replaces `opencode``Renamer`.
@@ -146,13 +164,6 @@ Use Renamer or Renamer in your project
146164
Visit https://open-code.dev for docs
147165
```
148166

149-
Output (with `caseVariants: true`):
150-
151-
```
152-
Use Renamer or Renamer in your project
153-
Visit https://open-code.dev for docs
154-
```
155-
156167
The URL is protected, but the text variants are replaced.
157168

158169
## Examples

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.3.14/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",

0 commit comments

Comments
 (0)