mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Make project template (mkstack itself) configurable in System Settings
This commit is contained in:
10 files changed
+55
-6
No files matched your search
@@ -9,9 +9,6 @@ if (typeof window !== 'undefined') {
|
||||
(window as { Buffer?: typeof Buffer }).Buffer = Buffer;
|
||||
}
|
||||
|
||||
// const GIT_TEMPLATE_URL = 'https://relay.ngit.dev/npub1q3sle0kvfsehgsuexttt3ugjd8xdklxfwwkh559wxckmzddywnws6cd26p/mkstack.git';
|
||||
const GIT_TEMPLATE_URL = 'https://gitlab.com/soapbox-pub/mkstack.git';
|
||||
|
||||
export interface Project {
|
||||
id: string;
|
||||
name: string;
|
||||
@@ -43,8 +40,8 @@ export class ProjectsManager {
|
||||
}
|
||||
}
|
||||
|
||||
async createProject(name: string, customId?: string): Promise<Project> {
|
||||
const project = await this.cloneProject(name, GIT_TEMPLATE_URL, customId, { depth: 1 });
|
||||
async createProject(name: string, templateUrl: string, customId?: string): Promise<Project> {
|
||||
const project = await this.cloneProject(name, templateUrl, customId, { depth: 1 });
|
||||
|
||||
// Delete README.md if it exists
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user