-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(create-medusa-app): remove glob-related warnings (#7985)
On every new installation of `create-medusa-app`, you get a warning related to `glob`'s version. Since we don't need `glob` anymore (it was used to remove boilerplate files), I've removed it along with its usage. This includes removing the `--no-boilerplate` option.
- Loading branch information
1 parent
4d750c1
commit d2c89e7
Showing
7 changed files
with
1 addition
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ import execute from "./execute.js" | |
import { EOL } from "os" | ||
import { displayFactBox, FactBoxOptions } from "./facts.js" | ||
import ProcessManager from "./process-manager.js" | ||
import { clearProject } from "./clear-project.js" | ||
import type { Client } from "pg" | ||
|
||
const ADMIN_EMAIL = "[email protected]" | ||
|
@@ -18,7 +17,6 @@ type PrepareOptions = { | |
directory: string | ||
dbConnectionString: string | ||
seed?: boolean | ||
boilerplate?: boolean | ||
spinner: Ora | ||
processManager: ProcessManager | ||
abortController?: AbortController | ||
|
@@ -34,7 +32,6 @@ export default async ({ | |
directory, | ||
dbConnectionString, | ||
seed, | ||
boilerplate, | ||
spinner, | ||
processManager, | ||
abortController, | ||
|
@@ -111,19 +108,6 @@ export default async ({ | |
message: "Installed Dependencies", | ||
}) | ||
|
||
if (!boilerplate) { | ||
factBoxOptions.interval = displayFactBox({ | ||
...factBoxOptions, | ||
title: "Preparing Project Directory...", | ||
}) | ||
// delete files and directories related to onboarding | ||
clearProject(directory) | ||
displayFactBox({ | ||
...factBoxOptions, | ||
message: "Prepared Project Directory", | ||
}) | ||
} | ||
|
||
factBoxOptions.interval = displayFactBox({ | ||
...factBoxOptions, | ||
title: "Building Project...", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters