chore: Remove v2 branches from starters (#9721)

* chore: Remove v2 branches from starters

* revert imports
This commit is contained in:
Oli Juhl
2024-10-22 20:00:13 +02:00
committed by GitHub
parent f7932f11ed
commit f1b2d22db7
3 changed files with 17 additions and 16 deletions

View File

@@ -13,16 +13,16 @@ import path from "path"
import prompts from "prompts"
import { Pool } from "pg"
import url from "url"
import { track } from "@medusajs/telemetry"
// @ts-ignore
import inquirer from "inquirer"
import { createDatabase } from "pg-god"
import { track } from "@medusajs/telemetry"
import { getNodeVersion, MIN_SUPPORTED_NODE_VERSION } from "@medusajs/utils"
import reporter from "../reporter"
import { getPackageManager, setPackageManager } from "../util/package-manager"
import { PanicId } from "../reporter/panic-handler"
import { clearProject } from "../util/clear-project"
import { getNodeVersion, MIN_SUPPORTED_NODE_VERSION } from "@medusajs/utils"
import { getPackageManager, setPackageManager } from "../util/package-manager"
const removeUndefined = (obj) => {
return Object.fromEntries(
@@ -187,7 +187,7 @@ const clone = async (hostInfo, rootPath, v2 = false, inputBranch) => {
: []
if (v2) {
branch = [`-b`, inputBranch || "feat/v2"]
branch = [`-b`, inputBranch || "master"]
}
const createAct = reporter.activity(`Creating new project from git: ${url}`)