fix(create-medusa-app): handle todos (#4262)

This commit is contained in:
Shahed Nasser
2023-06-08 09:29:43 +03:00
committed by GitHub
parent c04d93cd04
commit 947e6aac77
2 changed files with 2 additions and 4 deletions
@@ -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