Commit Graph

33 Commits

Author SHA1 Message Date
Harminder Virk
45c573b03a Feat: Improvements to the migrations CLI and workflow (#8060) 2024-07-11 16:52:34 +05:30
Carlos R. L. Rodrigues
de36e2b36e chore: rename return flow (#8050) 2024-07-10 08:09:10 -03:00
Shahed Nasser
d2c89e7071 fix(create-medusa-app): remove glob-related warnings (#7985)
On every new installation of `create-medusa-app`, you get a warning related to `glob`'s version.

Since we don't need `glob` anymore (it was used to remove boilerplate files), I've removed it along with its usage. This includes removing the `--no-boilerplate` option.
2024-07-08 08:24:10 +00:00
Shahed Nasser
8fde57263f fix(create-medusa-app): remove preview links (#7884)
Remove temporary doc links set in `STORE_CORS` and `ADMIN_CORS`
2024-07-01 12:16:12 +00:00
Shahed Nasser
9ded63cc62 chore: OAS and TSDoc fixes (#7864) 2024-07-01 10:21:34 +03:00
Riqwan Thamir
33c4cd34cc chore: export DML builders + fix default undefined values in SQL (#7776)
* chore: export dml builders through utils

* chore: fix undefined sql error

* chore: upgrade to ts 5

* chore: use isDefined
2024-06-20 10:45:49 +02:00
Riqwan Thamir
3d33f06e77 chore: upgrade jest everywhere (#7703) 2024-06-14 07:35:30 +02:00
Shahed Nasser
7e7e6e3311 chore: fix OAS circular dependencies (#7693) 2024-06-12 19:42:03 +02:00
Shahed Nasser
636bf3a15f fix(medusa-oas-cli): add circular dependency (#7639) 2024-06-06 20:26:11 +03:00
Shahed Nasser
fa0c7dfbb5 fix(create-medusa-app): set the database host and port explicitely (#7637)
* pass host and port explicitely

* set AUTH_CORS in env
2024-06-06 18:26:06 +03:00
Stevche Radevski
78768574af chore: Remove generated client types folder (#7633)
* chore: Remove generated client types folder

* chore: Remove typescript-codegen package and client commands for oas
2024-06-06 16:14:35 +02:00
Shahed Nasser
27b64c23f0 feat(create-medusa-app): support more environment variables + fixes (#7533) 2024-05-29 21:25:31 +02:00
Carlos R. L. Rodrigues
f1ced57d5f chore: payment auto capture + remove enum from utils (#7513)
What:

- handles payments session that are auto captured
- removes all the enums from `@medusajs/types`
- move all `@medusajs/types` to devDependencies
2024-05-29 11:12:59 +00:00
Shahed Nasser
639758ffec chore(create-medusa-app): remove .github directory (#7473)
As we're adding some actions to the starter, it doesn't make sense to keep them in the cloned projects with `create-medusa-app`. This PR removes the `.github` directory from the project after cloning it
2024-05-27 12:43:49 +00:00
Shahed Nasser
98615c388b docs-util: fixes to base OAS + circular-patch redocly plugin (#7382)
* docs-util: remove MultipleErrors schema from base OAS

* fixes to circular patch plugin

* general fixes

* change nested schemas to references
2024-05-27 14:29:48 +02:00
Adrien de Peretti
b8bc3ed16f chore: Start cleaning up medusa-core-utils (#7450)
**What**
- remove medusa-core-utils
- dispatch the utils where they belongs
- update usage

**NOTE**
I have been wondering if the graceful class should go into the utils package or medusa package, I ve put it in the medusa package as it seems to be the best place I can see for now and is tight to the server as well. Also, I wanted to avoid the utils package to depends on http and net dependencies, happy to change that if you feel like it
2024-05-27 08:00:15 +00:00
Adrien de Peretti
d354b253d5 chore: Fixes somes command and migrate to ts (#7444)
**What**
Fix some commands that are using the loaders return unproperly and cleanup, also includes a migration to ts
2024-05-24 14:17:58 +00:00
Harminder Virk
ada33e984d refactor: silently load ts-node (#7424) 2024-05-23 18:34:34 +05:30
Harminder Virk
66279f1691 Remove redundant bin option in the medusa package (#7418) 2024-05-23 16:56:54 +05:30
Shahed Nasser
9cbe0085d0 feat(create-medusa-app): remove admin email prompt (#7417)
* feat(create-medusa-app): remove admin email prompt

* change to constant
2024-05-23 12:23:45 +03:00
Oli Juhl
c198e2329c chore: Change default log level (#7402) 2024-05-22 15:16:45 +02:00
Shahed Nasser
24a2ab754a fix(create-medusa-app): fix seed step to use seed script in package.json (#7397)
Fix the seed step to use the `seed` script defined in `package.json` to avoid issues if the file is renamed or path is changed
2024-05-22 11:41:45 +00:00
Shahed Nasser
e443a7be3f feat(create-medusa-app): install v2 by default (#7381)
- Remove `v2` option and install V2 starter branch by default.
- Use new `exec` command to seed data
- Install v2 branch of next.js starter if the option is provided.
- Change the opened browser to `localhost:9000/app`.
- Added a bunch of todos for onboarding flows once we have that
2024-05-21 19:45:43 +00:00
Shahed Nasser
1f43290cec feat(medusa-cli): added branch option (#7384) 2024-05-21 21:17:01 +02:00
Shahed Nasser
73c917fdce feat(medusa,medusa-cli): add an exec command (#7376) 2024-05-21 10:56:44 +02:00
Stevche Radevski
07e5c17f86 chore: Remove medusa interfaces package (#7347) 2024-05-16 15:06:21 +02:00
Kasper Fabricius Kristensen
490586f566 feat(medusa,dashboard,admin-sdk): Run admin dashboard from Medusa instance (#7330) 2024-05-15 19:52:09 +02:00
Carlos R. L. Rodrigues
9dae86daa2 chore: es target 2021 (#7325) 2024-05-14 08:07:14 -03:00
Shahed Nasser
8b2429d24f chore(medusa-oas-cli,oas-github-ci): remove v2 option + generate v2 by default (#7304)
* chore(medusa-oas-cli,oas-github-ci): remove v2 option + generate v2 by default

* fixes to changeset

* fix public url path
2024-05-13 17:01:38 +03:00
Adrien de Peretti
71f4f46cb9 chore(medusa): cleanup medusa package (#7206) 2024-05-07 12:48:49 +02:00
Shahed Nasser
e7a3528367 fix(create-medusa-app): don't open browser to admin if v2 option is passed (#7253)
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2024-05-06 18:35:32 +02:00
Shahed Nasser
651b953db7 fix(medusa-oas-cli, oas-github-ci): updated paths to docs directories following monorepo reorganization (#7245)
* fix(medusa-oas-cli, oas-github-ci): updated paths to docs directories following monorepo reorganization

* revert change to workspaces

* change oas in workspaces

* revert change in test script
2024-05-06 16:15:38 +03:00
Adrien de Peretti
bbccd6481d chore(): start moving some packages to the core directory (#7215) 2024-05-03 13:37:41 +02:00