fix: separate generate-models from build script in jae-ai
Some checks are pending
CI / build-check-test (push) Waiting to run
Some checks are pending
CI / build-check-test (push) Waiting to run
- Remove generate-models from build chain to prevent Venice entries being wiped - Add separate update-models script for manual model list refreshes - build now runs: tsgo -p tsconfig.build.json only - update-models must be run explicitly when refreshing provider model lists
This commit is contained in:
parent
76c500497d
commit
756101ce7d
1 changed files with 113 additions and 112 deletions
|
|
@ -65,11 +65,12 @@
|
|||
"scripts": {
|
||||
"clean": "shx rm -rf dist",
|
||||
"generate-models": "npx tsx scripts/generate-models.ts",
|
||||
"build": "npm run generate-models && tsgo -p tsconfig.build.json",
|
||||
"build": "tsgo -p tsconfig.build.json",
|
||||
"dev": "tsgo -p tsconfig.build.json --watch --preserveWatchOutput",
|
||||
"dev:tsc": "tsgo -p tsconfig.build.json --watch --preserveWatchOutput",
|
||||
"test": "vitest --run",
|
||||
"prepublishOnly": "npm run clean && npm run build"
|
||||
"prepublishOnly": "npm run clean && npm run build",
|
||||
"update-models": "npm run generate-models"
|
||||
},
|
||||
"dependencies": {
|
||||
"@anthropic-ai/sdk": "^0.73.0",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue