opencode-synced 0.4.0 → 0.4.2
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.
- package/README.md +19 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +182 -13874
- package/dist/sync/apply.d.ts +1 -1
- package/dist/sync/apply.js +195 -0
- package/dist/sync/commit.js +74 -0
- package/dist/sync/config.d.ts +1 -1
- package/dist/sync/config.js +176 -0
- package/dist/sync/errors.js +32 -0
- package/dist/sync/paths.d.ts +1 -1
- package/dist/sync/paths.js +178 -0
- package/dist/sync/repo.d.ts +1 -1
- package/dist/sync/repo.js +248 -0
- package/dist/sync/service.js +453 -0
- package/dist/sync/utils.js +70 -0
- package/package.json +8 -8
- package/dist/sync/config.test.d.ts +0 -1
- package/dist/sync/paths.test.d.ts +0 -1
- package/dist/sync/repo.test.d.ts +0 -1
package/README.md
CHANGED
|
@@ -247,6 +247,25 @@ bun -e '
|
|
|
247
247
|
- `bun run test`
|
|
248
248
|
- `bun run lint`
|
|
249
249
|
|
|
250
|
+
### Local testing (production-like)
|
|
251
|
+
|
|
252
|
+
To test the same artifact that would be published, install from a packed tarball
|
|
253
|
+
into OpenCode's cache:
|
|
254
|
+
|
|
255
|
+
```bash
|
|
256
|
+
mise run local-pack-test
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
Then set `~/.config/opencode/opencode.json` to use:
|
|
260
|
+
|
|
261
|
+
```jsonc
|
|
262
|
+
{
|
|
263
|
+
"plugin": ["opencode-synced"]
|
|
264
|
+
}
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
Restart OpenCode to pick up the cached install.
|
|
268
|
+
|
|
250
269
|
|
|
251
270
|
## Prefer a CLI version?
|
|
252
271
|
|
package/dist/index.d.ts
CHANGED