feat: CLI + local linking (#313)

* fix: allow local cmd without exiting process

* fix: improves cli experience

* fix: allow running link with --develop

* test: adds snapshot testing of error logs

* chore: cleanup

* feat(medusa-cli): new command (#320)

* adds: new command

* fix: creates  command for easy project setup

* chore: deps

* chore: deps

* fix: loggin

* fix: logging

* fix: adds cli as dependency in core

* fix: consolidates CLI in medusa

* fix: use project deps medusa bin

* fix: use project deps medusa bin

* fix: use cli path

* fix: new command setup db + env vars

* fix: new command with db seed

* fix: cleanup
This commit is contained in:
Sebastian Rindom authored and GitHub committed 2021-07-26 10:09:55 +02:00
1 parent 804a2f6ed9
commit f4a7138a58
22 files changed
+2284 -159

No files matched your search

+4
View File
@@ -3,6 +3,9 @@
"version": "1.1.32",
"description": "E-commerce for JAMstack",
"main": "dist/index.js",
"bin": {
"medusa": "./cli.js"
},
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
@@ -41,6 +44,7 @@
},
"dependencies": {
"@hapi/joi": "^16.1.8",
"@medusajs/medusa-cli": "^1.1.13",
"@types/lodash": "^4.14.168",
"awilix": "^4.2.3",
"body-parser": "^1.19.0",