@capybara-hq/plugin-tools 0.1.0-rc.0 → 0.1.0-rc.1
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 +6 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -93,6 +93,12 @@ export default defineConfig({
|
|
|
93
93
|
});
|
|
94
94
|
```
|
|
95
95
|
|
|
96
|
+
Dual-replica tests (`createDualReplicaHarness`) need nothing more: each replica is a child
|
|
97
|
+
process outside vitest, and `@capybara-hq/testing` runs it under its own tsx when an extension
|
|
98
|
+
entry is a TypeScript file (the plugin under test by path, `fakeExtensionEntry(...)`). Do not set
|
|
99
|
+
`NODE_OPTIONS: "--import tsx"` in the vitest config: it reaches every worker and child process
|
|
100
|
+
and hides packaging bugs.
|
|
101
|
+
|
|
96
102
|
## Library
|
|
97
103
|
|
|
98
104
|
The same code as functions: `packPlugin`, `packBootstrap`, `pluginChecks` / `runChecks` and each
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capybara-hq/plugin-tools",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.1",
|
|
4
4
|
"description": "Capybara plugin toolchain: the capybara-plugin CLI to pack, check and release Capybara plugins",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"esbuild": "0.28.2",
|
|
52
52
|
"oxc-parser": "^0.154.0",
|
|
53
53
|
"tar-stream": "3.2.2",
|
|
54
|
-
"@capybara-hq/
|
|
55
|
-
"@capybara-hq/
|
|
54
|
+
"@capybara-hq/plugin-sdk": "^0.1.0-rc.0",
|
|
55
|
+
"@capybara-hq/kernel": "^0.1.0-rc.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"zod": "^4.6.7",
|
|
59
|
-
"@capybara-hq/testing": "0.1.0-rc.
|
|
59
|
+
"@capybara-hq/testing": "0.1.0-rc.1"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "tsc -b"
|