fix: separate generate-models from build script in jae-ai
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:
JAE 2026-03-25 16:22:04 +00:00
parent 76c500497d
commit 756101ce7d

View file

@ -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",