fix: validate goods input and prepare isolated business acceptance

This commit is contained in:
2026-09-10 17:28:30 +08:00
parent 904cd6e457
commit 36f0521ba7
5 changed files with 101 additions and 15 deletions

View File

@@ -12,20 +12,21 @@
"start": "node bootstrap.js",
"start:stable": "node start-stable.js",
"test:stable": "node --test test/start-stable.test.cjs",
"test:business": "node --test test/goods-business-input.test.cjs",
"start:local": "cross-env NODE_ENV=local SAAS_RUNTIME_BOOTSTRAP_LOCAL_FALLBACK_ENABLED=true node bootstrap.js",
"verify:packages": "node scripts/verify-local-packages.cjs"
},
"coolSaas": {
"lifecycle": {
"dev": "pnpm run build && pnpm run start:local",
"test": "pnpm run typecheck && pnpm run test:stable",
"test": "pnpm run typecheck && pnpm run test:stable && pnpm run test:business",
"build": "pnpm run build",
"artifactDir": "dist"
}
},
"dependencies": {
"@cool-midway/module-runtime": "9.0.3",
"@cool-midway/rpc": "9.0.4",
"@cool-midway/rpc": "9.0.5",
"@midwayjs/bootstrap": "^3.20.3",
"@midwayjs/core": "^3.20.3",
"@midwayjs/koa": "^3.20.3",