mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-28 19:11:03 +08:00
351c2e4fc7
Drop the entire packages/stats workspace (app, core, server) and add packages/stats/** to the upstream merge skip list so future syncs no longer pull it in. Update skip-files tests to cover the new glob. Dependency changes for opencode v1.15.13: - add ws 8.21.0 and @types/ws for WebSocket transport - bump @lydell/node-pty to 1.2.0-beta.12 - add proxy-env and googleapis source links
32 lines
1.3 KiB
TypeScript
32 lines
1.3 KiB
TypeScript
import { expect, test } from "bun:test"
|
|
import { shouldSkip } from "./skip-files"
|
|
|
|
test("matches hosted package glob paths", () => {
|
|
expect(shouldSkip("packages/web/package.json", ["packages/web/**"])).toBe(true)
|
|
expect(shouldSkip("packages/web/src/content/docs/ja/zen.mdx", ["packages/web/**"])).toBe(true)
|
|
expect(shouldSkip("packages/console/app/package.json", ["packages/console/**"])).toBe(true)
|
|
})
|
|
|
|
test("matches removed app package glob paths", () => {
|
|
expect(shouldSkip("packages/app/package.json", ["packages/app/**"])).toBe(true)
|
|
})
|
|
|
|
test("matches upstream CLI scaffold glob paths", () => {
|
|
expect(shouldSkip("packages/cli/package.json", ["packages/cli/**"])).toBe(true)
|
|
expect(shouldSkip("packages/cli/src/index.ts", ["packages/cli/**"])).toBe(true)
|
|
})
|
|
|
|
test("matches upstream stats package glob paths", () => {
|
|
expect(shouldSkip("packages/stats/app/package.json", ["packages/stats/**"])).toBe(true)
|
|
expect(shouldSkip("packages/stats/core/src/index.ts", ["packages/stats/**"])).toBe(true)
|
|
})
|
|
|
|
test("matches removed vscode sdk glob paths", () => {
|
|
expect(shouldSkip("sdks/vscode/package.json", ["sdks/vscode/**"])).toBe(true)
|
|
expect(shouldSkip("sdks/vscode/src/extension.ts", ["sdks/vscode/**"])).toBe(true)
|
|
})
|
|
|
|
test("matches extension glob paths", () => {
|
|
expect(shouldSkip(".github/VOUCHED.td", [".github/VOUCHED.*"])).toBe(true)
|
|
})
|