package.json update for integration test command in CI/CD

ellipsis change
This commit is contained in:
ColemanRoo 2025-02-10 13:19:35 -06:00
parent a9c43065d2
commit 481d54bf92
2 changed files with 5 additions and 3 deletions

View file

@ -278,12 +278,11 @@
"dev": "cd webview-ui && npm run dev",
"test": "jest && npm run test:webview",
"test:webview": "cd webview-ui && npm run test",
"test:integration": "npm run build && npm run compile:integration && npx dotenvx run -f .env.integration -- vscode-test",
"test:integration": "npm run build && npm run compile:integration && npx dotenvx run -f .env.integration -- node ./out-integration/test/runTest.js",
"prepare": "husky",
"publish:marketplace": "vsce publish && ovsx publish",
"publish": "npm run build && changeset publish && npm install --package-lock-only",
"version-packages": "changeset version && npm install --package-lock-only",
"e2e:test": "npm run build && tsc -p tsconfig.e2e.json && npx dotenvx run -f .env.e2e -- node ./out-e2e/test/runTest.js",
"vscode:prepublish": "npm run package",
"vsix": "rimraf bin && mkdirp bin && npx vsce package --out bin",
"watch": "npm-run-all -p watch:*",

View file

@ -38,9 +38,12 @@ export async function run(): Promise<void> {
? globalThis.extension.exports
: await globalThis.extension.activate()
globalThis.provider = globalThis.api.sidebarProvider
globalThis.provider.storeSecret("openRouterApiKey", process.env.OPENROUTER_API_KEY || "sk-or-v1-fake-api-key")
await globalThis.provider.updateGlobalState("apiProvider", "openrouter")
await globalThis.provider.updateGlobalState("openRouterModelId", "anthropic/claude-3.5-sonnet")
await globalThis.provider.storeSecret(
"openRouterApiKey",
process.env.OPENROUTER_API_KEY || "sk-or-v1-fake-api-key",
)
globalThis.panel = vscode.window.createWebviewPanel(
"roo-cline.SidebarProvider",