mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-17 17:43:04 +08:00
refactor: improve lock files resolution
This commit is contained in:
@@ -33,6 +33,9 @@ export interface MergeConfig {
|
||||
/** Web/docs files */
|
||||
webFiles: string[]
|
||||
|
||||
/** Lock files to accept ours and regenerate after merge */
|
||||
lockFiles: string[]
|
||||
|
||||
/** Directories that are Kilo-specific and should be preserved */
|
||||
kiloDirectories: string[]
|
||||
|
||||
@@ -146,6 +149,20 @@ export const defaultConfig: MergeConfig = {
|
||||
// Web/docs files
|
||||
webFiles: ["packages/web/src/content/docs/**/*.mdx"],
|
||||
|
||||
// Lock files to accept ours and regenerate after merge
|
||||
lockFiles: [
|
||||
"bun.lock",
|
||||
"**/bun.lock",
|
||||
"package-lock.json",
|
||||
"**/package-lock.json",
|
||||
"yarn.lock",
|
||||
"**/yarn.lock",
|
||||
"pnpm-lock.yaml",
|
||||
"**/pnpm-lock.yaml",
|
||||
"Cargo.lock",
|
||||
"**/Cargo.lock",
|
||||
],
|
||||
|
||||
kiloDirectories: [
|
||||
"packages/opencode/src/kilocode",
|
||||
"packages/opencode/test/kilocode",
|
||||
|
||||
Reference in New Issue
Block a user