fix(create-medusa-app): handle todos (#4262)
This commit is contained in:
@@ -7,8 +7,7 @@ type CloneRepoOptions = {
|
||||
}
|
||||
|
||||
// TODO change default repo URL
|
||||
const DEFAULT_REPO =
|
||||
"https://github.com/medusajs/medusa-starter-default -b feat/onboarding"
|
||||
const DEFAULT_REPO = "https://github.com/medusajs/medusa-starter-default"
|
||||
|
||||
export default async ({
|
||||
directoryName = "",
|
||||
|
||||
@@ -85,8 +85,7 @@ export default async ({
|
||||
await runProcess({
|
||||
process: async () => {
|
||||
const proc = await promiseExec(
|
||||
// TODO replace with latest version
|
||||
`npx -y @medusajs/medusa-cli@1.3.16-snapshot-20230605093446 user -e ${admin.email} --invite`,
|
||||
`npx -y @medusajs/medusa-cli@latest user -e ${admin.email} --invite`,
|
||||
execOptions
|
||||
)
|
||||
// get invite token from stdout
|
||||
|
||||
Reference in New Issue
Block a user