@reliverse/rse-sdk
Version:
@reliverse/rse-sdk without cli. @reliverse/rse-sdk allows you to create new plugins for @reliverse/rse CLI, interact with reliverse.org, and even extend your own CLI functionality (you may also try @reliverse/dler-sdk for this case).
18 lines (17 loc) • 1.1 kB
TypeScript
import type { InstanceGithub } from "../../../../../utils/instanceGithub.js";
import type { InstanceVercel } from "../../../../../utils/instanceVercel.js";
import type { ReliverseMemory } from "../../../../../utils/schemaMemory.js";
/**
* Creates a new Vercel project.
*/
export declare function createVercelProject(projectName: string, projectPath: string, vercelInstance: InstanceVercel): Promise<string>;
/**
* Prepares a new Vercel project creation by:
* 1. Retrieving configuration options.
* 2. Creating the project in the Vercel registry.
* 3. Running additional configuration tasks (analytics, protection and resources).
* 4. (Optionally) setting up a custom domain.
* 5. Uploading environment variables.
* 6. Creating the initial deployment.
*/
export declare function prepareVercelProjectCreation(githubInstance: InstanceGithub, vercelInstance: InstanceVercel, vercelToken: string, githubToken: string, skipPrompts: boolean, projectName: string, projectPath: string, domain: string, memory: ReliverseMemory, deployMode: "new" | "update", githubUsername: string): Promise<boolean>;