feat(medusa-cli): add monorepo support command develop (#5723)
* add monorepo support command develop * fix formating bug in @medusa/admin package.json * Create grumpy-bees-laugh.md --------- Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com> Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
co-authored by
Kasper Fabricius Kristensen
Oli Juhl
parent
428331a653
commit
fd317f1a6b
@@ -1,12 +1,10 @@
|
||||
import fs from "fs-extra"
|
||||
import path from "path"
|
||||
|
||||
export function resolveAdminCLI(directory: string) {
|
||||
const cli = path.join(
|
||||
directory,
|
||||
"node_modules",
|
||||
"@medusajs",
|
||||
"admin",
|
||||
export function resolveAdminCLI() {
|
||||
const cli = path.resolve(
|
||||
require.resolve("@medusajs/admin"),
|
||||
"../../",
|
||||
"bin",
|
||||
"medusa-admin.js"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user