Commit Graph

21 Commits

Author SHA1 Message Date
Adrien de Peretti
ae320ac73f fix: base tsconfig (#9309)
* fix: base tsconfig

* WIP

* wi[]

* update integration typescript version

* update lock file

* fix deps

* fix medusa tests runner
2024-09-25 16:31:57 +02:00
Shahed Nasser
ac30a989f4 feat(create-medusa-app): add publishable API key environment variable to Next.js storefront (#9029)
When installing with Next.js starter, retrieve the publishable API key seeded and add it to the environment variable in the `.env.local` or `.env.template` file
2024-09-06 09:43:55 +00:00
Oli Juhl
2bacf86d3c chore: Remove prepublishOnly script (#8699)
* wip

* wip

* verbose logging

* remove prepublish scripts

* chore: add back prepublish scripts

* wip

* remove prepublishOnly script

* chore: Clean up rest of build scripts

* add back build script

* feedback

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2024-08-27 10:31:38 +02:00
Shahed Nasser
408ed2ee45 feat(create-medusa-app): set database name to project name (#8727)
* add check and prompt for db name

* change var format

* remove log

* remove log
2024-08-23 14:17:37 +03:00
Harminder Virk
5f310c0a00 breaking: remove POSTGRES prefix env variables in favor of DATABASE prefix (#8672) 2024-08-20 17:05:19 +05:30
Carlos R. L. Rodrigues
96bdf3e2c6 chore(core-flows): order transactions (#8568)
What:

- Add order transaction when Cart is completed and payment is refunded
2024-08-12 19:06:58 +00:00
Shahed Nasser
f14f398685 feat(create-medusa-app): prompt for database name with credentials (#8552)
* feat(create-medusa-app): prompt for database name with credentials

* refactor
2024-08-12 11:52:21 +03:00
Carlos R. L. Rodrigues
c9c1a5b41c chore: rm pg dependency (#8526) 2024-08-08 17:22:57 +00:00
Carlos R. L. Rodrigues
3f5ddc5bce chore: normalize packages version (#8492) 2024-08-08 13:52:05 +00:00
Shahed Nasser
98f42e8995 feat(create-medusa-app, medusa): check Node.js version before installation. (#8452)
Check before installation with `create-medusa-app` and `medusa new` whether the current node version is >= 20. If not, exit with an error.
2024-08-06 07:15:17 +00:00
Shahed Nasser
ac21f35b2c fix(create-medusa-app): run links sync during setup (#8215)
Run `links sync` command along with running migrations
2024-07-22 10:09:33 +00: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
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
Shahed Nasser
27b64c23f0 feat(create-medusa-app): support more environment variables + fixes (#7533) 2024-05-29 21:25:31 +02: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
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
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
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
Adrien de Peretti
bbccd6481d chore(): start moving some packages to the core directory (#7215) 2024-05-03 13:37:41 +02:00