feat(cli): add alchemy and improve cli tooling and structure (#520)

This commit is contained in:
Aman Varshney
2025-08-20 23:43:58 +05:30
committed by GitHub
parent c5430ae4fd
commit 5788876c47
152 changed files with 5804 additions and 2264 deletions

View File

@@ -13,6 +13,7 @@ import {
ORMSchema,
PackageManagerSchema,
RuntimeSchema,
ServerDeploySchema,
WebDeploySchema,
} from "../../cli/src/types";
@@ -27,6 +28,7 @@ const PACKAGE_MANAGER_VALUES = PackageManagerSchema.options;
const DATABASE_SETUP_VALUES = DatabaseSetupSchema.options;
const API_VALUES = APISchema.options;
const WEB_DEPLOY_VALUES = WebDeploySchema.options;
const SERVER_DEPLOY_VALUES = ServerDeploySchema.options;
const configSchema = {
$schema: "http://json-schema.org/draft-07/schema#",
@@ -117,6 +119,11 @@ const configSchema = {
enum: WEB_DEPLOY_VALUES,
description: WebDeploySchema.description,
},
serverDeploy: {
type: "string",
enum: SERVER_DEPLOY_VALUES,
description: ServerDeploySchema.description,
},
},
required: [
"version",
@@ -133,6 +140,7 @@ const configSchema = {
"dbSetup",
"api",
"webDeploy",
"serverDeploy",
],
additionalProperties: false,
};