fix(plugins): publish npm source dependencies
This commit is contained in:
Generated
+10854
File diff suppressed because it is too large
Load Diff
+1
-5
@@ -43,6 +43,7 @@
|
|||||||
"packageManager": "npm@11.16.0",
|
"packageManager": "npm@11.16.0",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
"npm-shrinkwrap.json",
|
||||||
"install.sh",
|
"install.sh",
|
||||||
"bridge/hopper_bridge.py",
|
"bridge/hopper_bridge.py",
|
||||||
"bridge/native/NativeUIChildren.swift",
|
"bridge/native/NativeUIChildren.swift",
|
||||||
@@ -339,11 +340,6 @@
|
|||||||
"yaml": "2.9.0",
|
"yaml": "2.9.0",
|
||||||
"zod": "4.4.3"
|
"zod": "4.4.3"
|
||||||
},
|
},
|
||||||
"overrides": {
|
|
||||||
"vitepress": {
|
|
||||||
"vite": "6.4.4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@fast-check/vitest": "0.5.0",
|
"@fast-check/vitest": "0.5.0",
|
||||||
"@types/cross-spawn": "6.0.6",
|
"@types/cross-spawn": "6.0.6",
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ const codexServerConfig = (version: string, launch = version) => ({
|
|||||||
rea: {
|
rea: {
|
||||||
command: "node",
|
command: "node",
|
||||||
args: ["./scripts/plugin-mcp-launcher.mjs", launch],
|
args: ["./scripts/plugin-mcp-launcher.mjs", launch],
|
||||||
|
cwd: ".",
|
||||||
startup_timeout_sec: 30,
|
startup_timeout_sec: 30,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -57,11 +57,22 @@ describe("release configuration", () => {
|
|||||||
path: "server.json",
|
path: "server.json",
|
||||||
jsonpath: "$.packages[0].version",
|
jsonpath: "$.packages[0].version",
|
||||||
},
|
},
|
||||||
...pluginManifests.map((path) => ({
|
...pluginManifests.flatMap((path) => [
|
||||||
type: "json",
|
{
|
||||||
path,
|
type: "json",
|
||||||
jsonpath: "$.version",
|
path,
|
||||||
})),
|
jsonpath: "$.version",
|
||||||
|
},
|
||||||
|
...(path.startsWith(".claude")
|
||||||
|
? [
|
||||||
|
{
|
||||||
|
type: "json",
|
||||||
|
path,
|
||||||
|
jsonpath: "$.mcpServers.rea.args[1]",
|
||||||
|
},
|
||||||
|
]
|
||||||
|
: []),
|
||||||
|
]),
|
||||||
{
|
{
|
||||||
type: "json",
|
type: "json",
|
||||||
path: pluginServerConfig,
|
path: pluginServerConfig,
|
||||||
@@ -195,7 +206,7 @@ describe("plugin manifests", () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it.each([...pluginManifests, pluginServerConfig])(
|
it.each(pluginManifests)(
|
||||||
"pins the plugin manifest %s and Codex's server config path",
|
"pins the plugin manifest %s and Codex's server config path",
|
||||||
async (path) => {
|
async (path) => {
|
||||||
const packageJson = (await readJson("package.json")) as {
|
const packageJson = (await readJson("package.json")) as {
|
||||||
|
|||||||
Reference in New Issue
Block a user