优化项目启动器的创建功能
This commit is contained in:
@@ -44,6 +44,7 @@ import type {
|
||||
SystemProxySettings,
|
||||
GitCredentials,
|
||||
GitDetectResult,
|
||||
PackageManagerInfo,
|
||||
GitSettings,
|
||||
GitHubAccountsSettings,
|
||||
GitHubTokenValidation,
|
||||
@@ -958,6 +959,12 @@ export async function openProjectBootWindow(): Promise<void> {
|
||||
window.open("/project-boot", "project-boot")
|
||||
}
|
||||
|
||||
export async function detectPackageManager(
|
||||
name: string
|
||||
): Promise<PackageManagerInfo> {
|
||||
return getTransport().call("detect_package_manager", { name })
|
||||
}
|
||||
|
||||
export async function createShadcnProject(params: {
|
||||
projectName: string
|
||||
template: string
|
||||
|
||||
Reference in New Issue
Block a user