Commit Graph

57 Commits

Author SHA1 Message Date
Shahed Nasser
f29948a6a8 docs-util: created docblock-generator tool (#6096) 2024-01-24 11:13:40 +01:00
github-actions[bot]
47272bf2b9 chore: Version Packages (#5880) 2024-01-09 18:41:35 +01:00
Kasper Fabricius Kristensen
f868775861 chore: move next admin packages to core repo (#5983)
**What**
- Move packages for `next` version of admin to core repo

**Other**
- Since this PR introduces packages that depend on Vite 5, it also introduces @types/node@^20. We have never had a direct dependency on the types package for Node, and as far as I can see that has resulted in us using the types from Node.js@8, as those are a dependency of one of our dependencies. With the introduction of @types/node@^20, two of our packages had TS errors because they were using the NodeJS.Timer type, which was deprecated in Node.js@14. We should add specific @types/node packages to all our packages, but I haven't done so in this PR to keep it as clean as possible.
- Q: @olivermrbl I've added the new packages to the ignore list for changeset, is this enough to prevent them from being published?
2024-01-08 09:26:46 +00:00
github-actions[bot]
71d59d2c81 chore: Version Packages (#5527)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-10 10:28:21 +01:00
Egor Makarenko
09ab1d1be6 feat(create-medusa-app): print error message for failed db connection (#5547)
`create-medusa-app` currently prints a generic error message when it cannot connect to a database. This tiny pull request adds the thrown error to the log message, that simplifies debugging of installation issues
2023-11-06 16:37:10 +00:00
github-actions[bot]
309c82e175 chore: Version Packages (#5454)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-01 08:19:58 +01:00
Shahed Nasser
03959c3e3a feat(create-medusa-app): improve spinner style (#5474)
* feat(create-medusa-app): improve spinner style

* remove comment
2023-10-31 08:02:40 +01:00
github-actions[bot]
c0d74bc682 chore: Version Packages (#5340)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-19 15:58:48 +02:00
Shahed Nasser
a1807aea83 feat(create-medusa-app): add tracking for selected options (#5404)
Adds tracking for selected options in `create-medusa-app` to better understand how users are using Medusa.
2023-10-18 09:02:40 +00:00
github-actions[bot]
dab8a82cc1 chore: Version Packages (#5171)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-29 14:17:21 -04:00
Shahed Nasser
18a05dee86 fix(create-medusa-app): fix inconsistency in checking errors in migrations (#5189) 2023-09-29 08:26:24 -04:00
github-actions[bot]
223a4a4cd9 chore: Version Packages (#5002)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-15 17:09:34 +02:00
Shahed Nasser
5b09f816cb fix(create-medusa-app): fix command for windows OS (#5061) 2023-09-14 18:07:43 +03:00
github-actions[bot]
98b91d1137 chore: Version Packages (#4891)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-08 14:09:39 +02:00
Shahed Nasser
240b038006 feat(create-medusa-app): add install Next.js storefront option (#4968)
* feat(create-medusa-app): add install Next.js storefront option

* added config for yes option

* added more instructions to exit message

* handle duplicate directories and next errors

* use next.js branch

* add line break in storefront question

* pass next.js directory name as env variable

* change question message

* address PR feedback

* fix(medusa-cli): remove .git directory in `new` command

* fix deleting a directory error
2023-09-08 12:17:48 +02:00
github-actions[bot]
362abdfad7 chore: Version Packages (#4826)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-25 16:15:33 +02:00
github-actions[bot]
db36258885 chore: Version Packages (#4711)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-17 17:17:41 +02:00
Shahed Nasser
c684d16ec0 feat(create-medusa-app): remove --stable option and change to clone default branch (#4794) 2023-08-17 14:34:36 +00:00
Shahed Nasser
30ce35b163 feat(create-medusa-app): add database options (#4733)
## What

Adds new options for easier usage of the `create-medusa-app` command for regular medusa users.

The following options are added:

- `--skip-db`: Skips creating the database, running migrations, and seeding, and subsequently skips opening the browser. Useful if the developer wants to set the database URL at a later point in the configurations.
- `--db-url <url>`:  Skips database creation and sets the database URL to the provided URL. Throws an error if can't connect to the database. Will still run migrations and open the admin after project creation. Useful if the developer already has database created, locally or remotely.
- `--no-migrations`: Skips running migrations, creating admin user, and seeding. If used, it's expected that you pass the `--db-url` option with a url of a database that has all necessary migrations. Otherwise, unexpected errors will occur. Helpful only if combined with `--db-url`
- `--no-browser`: Disables opening the browser at the end of the project creation and only shows success message.
- `--directory-path <path>`: Allows specifying the directory path to install the project in. Useful for testing.
2023-08-15 08:08:54 +00:00
Oli Juhl
1d2637572b chore: Remove rimraf from prepare (#4741) 2023-08-11 22:55:59 +02:00
github-actions[bot]
5a569c4a20 chore: Version Packages (#4591)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-27 13:19:14 +02:00
Shahed Nasser
15e87a8100 feat(create-medusa-app): add stable option + add URI encoding to database string (#4567)
* feat(create-medusa-app): added stable option

* add new function

* changed open url

* switch condition

* fix open url for stable

* add URI encoding

* modified db error message
2023-07-24 13:33:14 +03:00
github-actions[bot]
2a181bc564 chore: Version Packages (#4527)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-19 18:00:56 +02:00
Shahed Nasser
f325881227 fix(create-medusa-app): improved error messages (#4543)
* fix error messages

* format docs url based on current OS

* added changeset
2023-07-19 14:23:54 +02:00
github-actions[bot]
04917d0721 chore: Version Packages (#4502)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-11 20:38:52 +02:00
Shahed Nasser
4b4296dc16 feat(create-medusa-app): remove .git directory in the project (#4493)
* feat(create-medusa-app): remove .git directory in the project

* reverted version changes

* remove version from package.json
2023-07-11 09:03:23 +02:00
Adrien de Peretti
d363da2b72 chore(create-medusa-app): Cleanup the main script for readability and maintanability (#4369)
* chore(create-medusa-app): Cleanup the main script for readability and maintanability

* update types

* cleanup

* Create polite-queens-kiss.md
2023-07-10 16:27:16 +02:00
github-actions[bot]
8db03619b5 chore: Version Packages (#4364)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-20 11:50:33 +02:00
Shahed Nasser
6d5da9166f feat(create-medusa-app): support admin onboarding experience (#4339) 2023-06-20 11:43:40 +02:00
github-actions[bot]
5d7877ded6 chore: Version Packages (#4223)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-18 13:14:20 +02:00
Shahed Nasser
e1f43fd207 chore(create-medusa-app, product, utils, medusa-cli): Resolve string-width dep issue (#4328) 2023-06-16 11:31:23 +02:00
Shahed Nasser
5ad7347408 fix(create-medusa-app): disable opening browser (#4321) 2023-06-15 21:15:19 +02:00
Shahed Nasser
f98ba5bde8 feat(create-medusa-app,medusa-cli): Allow clearing project (#4273)
- Added build step
- Added `--no-boilerplate` option to `create-medusa-app` to allow clearing onboarding files
- Clear project files by default in medusa-cli
2023-06-15 17:31:30 +00:00
Shahed Nasser
947e6aac77 fix(create-medusa-app): handle todos (#4262) 2023-06-08 09:29:43 +03:00
Shahed Nasser
c04d93cd04 feat(create-medusa-app): update command for a better onboarding experience (#4215)
* feat(create-medusa-app): update command for a better onboarding experience

* use medusa-telemetry for tracking

* update used snapshot

* added changeset

* update yarn.lock

* increased facts timer

* updated snapshot version

* show facts throughout installation + add first_run to url

* added message after server termination

* print message only once

* added github to process terminated message

* address pr feedback

* added onboarding seeding

* fix for npm install
2023-06-07 20:34:50 +02:00
Shahed Nasser
4b5b7b5148 fix(create-medusa-app): remove seed command from create-medusa-app and improve success message (#4247)
## What

- Removed the `seed` process and the `--no-seed` option from the `create-medusa-app` command
- Improved the success message to include details about creating the database and running migrations before starting the backend.

## Why

As of removing support for SQLite, the `seed` command does not work most of the time on installation since there's no database configured and the default one isn't created by the user yet. This leads to an error message showing during the installation which leads the user into thinking the setup went wrong.

Also, the steps after the installation is done successfully don't include anything related to the database, which means that when the user starts the backend they'll see errors.
2023-06-05 16:30:42 +00:00
Oliver Windall Juhl
a91987fab3 feat(medusa): Remove sqlite support (#4026) 2023-05-17 12:13:36 +02:00
olivermrbl
66c59d54ff chore(release): v1.8.0 2023-04-04 18:35:27 +02:00
olivermrbl
b57ea22461 chore: Enter pre-release mode and version packages 2023-03-24 10:16:11 +01:00
Oliver Windall Juhl
88392e0176 chore(create-medusa-app): Remove Admin + Gatsby starter from npx (#3376) 2023-03-13 18:59:52 +01:00
olivermrbl
1bfbe27b9b chore(release): Publish 2023-02-14 17:30:40 +01:00
Adrien de Peretti
8c5219a31e chore: Update ignored files for npm (#3217) 2023-02-09 17:25:14 +01:00
olivermrbl
3b474ec35c chore(release): Publish 2023-02-08 19:35:44 +01:00
Oliver Windall Juhl
08324355a4 chore: Patch bump all dependencies + minor bumps winston (#3185) 2023-02-07 19:15:29 +01:00
Carlos R. L. Rodrigues
a94d9816fe chore: Centralise ESLint rules (#2162)
* chore: centrilize eslint rules
2022-09-13 07:42:33 -03:00
olivermrbl
70139d0bbb chore(release): Publish 2022-09-06 09:50:00 +02:00
Oliver Windall Juhl
ad717b9533 chore(medusa): Remove deprecated dependency @hapi/joi (#2069) 2022-09-05 16:03:06 +02:00
olivermrbl
c16df9383c chore(release): Publish
- create-medusa-app@0.0.6
 - gatsby-source-medusa@0.0.47
 - @medusajs/medusa-cli@1.1.27
 - medusa-file-minio@1.0.4
 - medusa-file-s3@1.0.12
 - medusa-file-spaces@1.1.37
 - @medusajs/medusa-js@1.0.10
 - medusa-payment-adyen@1.1.39
 - medusa-payment-klarna@1.1.39
 - medusa-payment-manual@1.0.16
 - medusa-payment-paypal@1.0.38
 - medusa-payment-stripe@1.1.38
 - medusa-plugin-add-ons@1.1.37
 - medusa-plugin-brightpearl@1.1.43
 - medusa-plugin-contentful@1.1.40
 - medusa-plugin-economic@1.1.37
 - medusa-plugin-mailchimp@1.1.37
 - medusa-plugin-permissions@1.1.37
 - medusa-plugin-restock-notification@0.0.30
 - medusa-plugin-segment@1.1.40
 - medusa-plugin-sendgrid@1.1.38
 - medusa-plugin-slack-notification@1.1.37
 - medusa-plugin-twilio-sms@1.1.37
 - medusa-plugin-wishlist@1.1.37
 - medusa-react@0.1.3
 - medusa-source-shopify@1.0.3
 - medusa-test-utils@1.1.37
 - @medusajs/medusa@1.1.62
2022-01-11 16:54:08 +01:00
Sebastian Rindom
bbc16d6b11 feat(create-medusa-app): add medusa.express (#981)
* feat(create-medusa-app): add medusa.express

* fix: pr comments
2022-01-11 14:06:16 +01:00
Sebastian Rindom
528fc3a933 chore(release): Publish
- babel-preset-medusa-package@1.1.17
 - create-medusa-app@0.0.5
 - @medusajs/medusa-cli@1.1.22
 - medusa-core-utils@1.1.26
 - medusa-dev-cli@0.0.22
 - medusa-file-s3@1.0.4
 - medusa-file-spaces@1.1.29
 - medusa-fulfillment-manual@1.1.26
 - medusa-fulfillment-webshipper@1.1.30
 - medusa-interfaces@1.1.27
 - medusa-payment-adyen@1.1.31
 - medusa-payment-klarna@1.1.31
 - medusa-payment-manual@1.0.8
 - medusa-payment-paypal@1.0.30
 - medusa-payment-stripe@1.1.30
 - medusa-plugin-add-ons@1.1.29
 - medusa-plugin-brightpearl@1.1.34
 - medusa-plugin-contentful@1.1.31
 - medusa-plugin-discount-generator@1.1.19
 - medusa-plugin-economic@1.1.29
 - medusa-plugin-ip-lookup@1.1.19
 - medusa-plugin-mailchimp@1.1.29
 - medusa-plugin-meilisearch@0.0.5
 - medusa-plugin-permissions@1.1.29
 - medusa-plugin-restock-notification@0.0.22
 - medusa-plugin-segment@1.1.32
 - medusa-plugin-sendgrid@1.1.30
 - medusa-plugin-slack-notification@1.1.29
 - medusa-plugin-twilio-sms@1.1.29
 - medusa-plugin-wishlist@1.1.29
 - medusa-telemetry@0.0.9
 - medusa-test-utils@1.1.29
 - @medusajs/medusa@1.1.45
2021-10-18 17:55:22 +02:00