fix(plugin): keep the shared launcher owner outside shipped source trees
This commit is contained in:
parent
3206274e0b
commit
42ce2c75ab
|
|
@ -63,7 +63,7 @@
|
|||
"bridge/mitmproxy/capture.py",
|
||||
"scripts/rea.mjs",
|
||||
"scripts/plugin-mcp-launcher.mjs",
|
||||
"src/process/packageRunnerCommand.mjs",
|
||||
"scripts/lib/packageRunnerCommand.mjs",
|
||||
"scripts/electron-active-hook.cjs",
|
||||
"scripts/electron-active-hook-boundaries.cjs",
|
||||
"scripts/hopper-demo-x11.py",
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { mkdtemp, rm } from "node:fs/promises";
|
|||
import { constants, tmpdir } from "node:os";
|
||||
import { join } from "node:path";
|
||||
|
||||
import { packageRunnerCommand } from "../src/process/packageRunnerCommand.mjs";
|
||||
import { packageRunnerCommand } from "./lib/packageRunnerCommand.mjs";
|
||||
|
||||
// The manifest owns this exact package pin; args[1] remains release-managed.
|
||||
// No build, dependency installation or ambient latest-version lookup is needed
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { basename, isAbsolute, resolve } from "node:path";
|
|||
import { valid } from "semver";
|
||||
|
||||
import { PRODUCT_IDENTITY } from "../identity.js";
|
||||
import { packageRunnerCommand } from "../process/packageRunnerCommand.mjs";
|
||||
import { packageRunnerCommand } from "../../scripts/lib/packageRunnerCommand.mjs";
|
||||
|
||||
/** Package runners whose pinned launcher setup can register. */
|
||||
export type PackageRunner = "npx" | "bunx";
|
||||
|
|
|
|||
|
|
@ -2,10 +2,9 @@
|
|||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"types": ["node"],
|
||||
"allowJs": true
|
||||
"types": ["node"]
|
||||
},
|
||||
"include": ["src/**/*.ts", "src/process/packageRunnerCommand.mjs"],
|
||||
"include": ["src/**/*.ts"],
|
||||
"exclude": [
|
||||
"src/**/*.fixture.ts",
|
||||
"src/**/*.test.ts",
|
||||
|
|
|
|||
Loading…
Reference in New Issue