chore: dependencies reorg (#8744)

This commit is contained in:
Carlos R. L. Rodrigues authored and GitHub committed 2024-08-26 09:37:05 +00:00
1 parent 7c2cfc132a
commit afd25846f0
16 files changed
+72 -40

No files matched your search

+4 -1
View File
@@ -1,7 +1,7 @@
import boxen from "boxen"
import { ChildProcess, execSync, fork } from "child_process"
import chokidar, { FSWatcher } from "chokidar"
import Store from "medusa-telemetry/dist/store"
import { Store } from "medusa-telemetry"
import { EOL } from "os"
import path from "path"
@@ -15,10 +15,12 @@ const defaultConfig = {
export default async function ({ port, directory }) {
const args = process.argv
const argv =
process.argv.indexOf("--") !== -1
? process.argv.slice(process.argv.indexOf("--") + 1)
: []
args.shift()
args.shift()
args.shift()
@@ -27,6 +29,7 @@ export default async function ({ port, directory }) {
* Re-constructing the path to Medusa CLI to execute the
* start command.
*/
const cliPath = path.resolve(MEDUSA_CLI_PATH, "..", "..", "cli.js")
const devServer = {
+8
View File
@@ -0,0 +1,8 @@
export { default as build } from "./build"
export { default as develop } from "./develop"
export { default as exec } from "./exec"
export { default as links } from "./links"
export { default as migrate } from "./migrate"
export { default as start } from "./start"
export { default as startCluster } from "./start-cluster"
export { default as user } from "./user"
+1
View File
@@ -1,3 +1,4 @@
export * as Commands from "./commands"
export * from "./types/common"
export * from "./types/global"
export * from "./types/middlewares"