Skip to content

Commit ce6baf5

Browse files
committed
fix: build error
1 parent cac16e9 commit ce6baf5

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

packages/gpt-runner-config/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"stub": "unbuild --stub"
3838
},
3939
"dependencies": {
40-
"@nicepkg/gpt-runner-core": "workspace:*",
40+
"@nicepkg/gpt-runner": "workspace:*",
4141
"unconfig": "^0.3.7"
4242
}
43-
}
43+
}

packages/gpt-runner-core/src/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
export * from './langchain'
22
export * from './openai'
33
export * from './smol-ai'
4+
5+
export interface UserConfig {
6+
configFile?: string | false
7+
configDeps?: string[]
8+
}

packages/gpt-runner/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ export * from '@nicepkg/gpt-runner-core'
55
export function defineConfig(config: UserConfig) {
66
return config
77
}
8+
9+
export interface UserConfigDefaults {}

pnpm-lock.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/copy-files.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { fileURLToPath } from 'node:url'
55
// relative to scripts directory
66
const destinations = [
77
['../LICENSE', '../packages/gpt-runner-vscode/LICENSE'],
8-
['../README.md', '../packages/gpt-runner-ui/README.md'],
8+
['../README.md', '../packages/gpt-runner-web/README.md'],
99
]
1010

1111
const _filename = fileURLToPath(import.meta.url)

0 commit comments

Comments
 (0)