feat(admin): Improve DX for deploying admin externally (#3418)

* init deploy command

* add include flag

* add 'shortcut' flag

* add dev command, fix var replacement, change default behaviour

* cleanup params of build command

* fix defaults when using the plugin to serve admin

* add changeset

* fix globals

* update README

* throw error on no build found

---------

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
Kasper Fabricius Kristensen
2023-03-17 13:18:51 +01:00
committed by GitHub
parent 9ad15d3a88
commit 8a7421db5b
20 changed files with 358 additions and 85 deletions

View File

@@ -28,11 +28,13 @@
"dependencies": {
"@medusajs/admin-ui": "*",
"commander": "^10.0.0",
"dotenv": "^16.0.3",
"express": "^4.17.1",
"fs-extra": "^11.1.0",
"medusa-core-utils": "*",
"ora": "5.4.0",
"picocolors": "^1.0.0"
"picocolors": "^1.0.0",
"ts-dedent": "^2.2.0"
},
"peerDependencies": {
"@medusajs/medusa": "*"