Commit Graph

11 Commits

Author SHA1 Message Date
Carlos R. L. Rodrigues
4e9d257d3b Chore(medusa,utils,types,inventory,stock-location): remove core dependency modules (#3531) 2023-03-23 08:07:32 -03:00
Adrien de Peretti
012513b6a1 feat(medusa-cli): Allow to revert migrations from the CLI (#1353) 2022-06-13 14:15:09 +02:00
Sebastian Rindom
1039d040e9 Add SQLite support for easy setup (#336)
* Modifies schema to allow SQLite as a DB driver. SQLite is preinstalled in most OSes allowing for minimal prerequisites in the installation process.

* Removes Redis dependency and replaces "real" redis instance with ioredis-mock this is not feature complete and errors are expected.

* Updates medusa new command to only ask for Postgres credentials if the starter template has database_type === "postgres" in medusa-config.js

* Small improvements to bin resolution

* Improvements to endpoint stability
2021-08-16 15:45:26 +02:00
Sebastian Rindom
cfe19f7f9d feat: medusa-telemetry (#328)
* feat: adds a telemetry package to collect anonymous usage data

* fix: update telemetry host

* fix: adds medusa telemetry --disable

* fix: add tracking of link,login,new

* fix: interactively collect db credentials

* fix: require seed file

* fix: removes tracking from reporter
2021-08-05 12:23:05 +02:00
Sebastian Rindom
f4a7138a58 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
2021-07-26 10:09:55 +02:00
Sebastian Rindom
5136c77401 feat(cli): adds seed script 2021-06-03 10:03:44 +02:00
Sebastian Rindom
953747f3d2 fix: better cli 2021-05-02 23:20:35 +02:00
Sebastian Rindom
bbd2f02d54 fix: setup to allow login to Medusa Cloud 2021-04-22 18:44:55 +02:00
Sebastian Rindom
f1baca3cbd Replaces MongoDB support with PostgreSQL (#151)
- All schemas have been rewritten to a relational model
- All services have been rewritten to accommodate the new data model
- Adds idempotency keys to core endpoints allowing you to retry requests with no additional side effects
- Adds staged jobs to avoid putting jobs in the queue when transactions abort
- Adds atomic transactions to all methods with access to the data layer

Co-authored-by: Oliver Windall Juhl <oliver@mrbltech.com>
2021-01-26 10:26:14 +01:00
oliverheaps
782869a46b Adds customer routes to admin 2020-07-09 10:28:58 +02:00
Sebastian Rindom
4c2aec2838 Adds publish/subscribe pattern to allow plugins and projects to hook into events (#55)
Also adds CLI to ease development.
2020-05-07 13:47:27 +02:00