docs: general improvements and updates (#13485)

* docs: general improvements and updates

* fix vale error
This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-09-15 12:30:59 +03:00
1 parent b35b1b41a4
commit e90dcedcd7
12 files changed
+164 -103

No files matched your search

@@ -11,11 +11,11 @@ export const metadata = {
# {metadata.title}
Commands starting with `db:` perform actions on the database.
Commands in the Medusa CLI starting with `db:` perform actions on the database.
## db\:setup
Creates a database for the Medusa application with the specified name, if it doesn't exit. Then, it runs migrations and syncs links.
Creates a database for the Medusa application with the specified name, if it doesn't exist. Then, it runs migrations and syncs links.
It also updates your `.env` file with the database name.
@@ -158,7 +158,7 @@ Use this command if you're setting up a Medusa project or database manually.
## db\:create
Creates a database for the Medusa application with the specified name, if it doesn't exit.
Creates a database for the Medusa application with the specified name, if it doesn't exist.
It also updates your `.env` file with the database name.
@@ -260,7 +260,7 @@ npx medusa db:generate <module_names...>
</Table.Cell>
<Table.Cell>
The name of one or more module (separated by spaces) to generate migrations for. For example, `helloModuleService`.
The name of one or more modules (separated by spaces) to generate migrations for. For example, `brand`.
</Table.Cell>
<Table.Cell>
@@ -397,7 +397,7 @@ Use this command if you've updated the Medusa packages, or you've created custom
## db\:rollback
Revert the last migrations ran on one or more modules.
Revert the last migrations run on one or more modules.
```bash
npx medusa db:rollback <module_names...>
@@ -422,7 +422,7 @@ npx medusa db:rollback <module_names...>
</Table.Cell>
<Table.Cell>
The name of one or more module (separated by spaces) to rollback their migrations for. For example, `helloModuleService`.
The name of one or more modules (separated by spaces) to rollback their migrations for. For example, `brand`.
</Table.Cell>
<Table.Cell>
@@ -11,7 +11,7 @@ export const metadata = {
# {metadata.title}
Run a custom CLI script. Learn more about it in [this guide](!docs!/learn/fundamentals/custom-cli-scripts).
Run a custom CLI script using Medusa's CLI tool. Learn more about it in [Custom CLI Scripts guide](!docs!/learn/fundamentals/custom-cli-scripts).
```bash
npx medusa exec [file] [args...]
@@ -36,7 +36,7 @@ npx medusa exec [file] [args...]
</Table.Cell>
<Table.Cell>
The path to the TypeScript or JavaScript file holding the function to execute.
The path to the TypeScript or JavaScript file containing the function to execute.
</Table.Cell>
<Table.Cell>
@@ -11,7 +11,7 @@ export const metadata = {
# {metadata.title}
Commands starting with `plugin:` perform actions related to [plugin](!docs!/learn/fundamentals/plugins) development.
Commands in the Medusa CLI starting with `plugin:` perform actions related to [plugin development](!docs!/learn/fundamentals/plugins).
<Note>
@@ -92,7 +92,7 @@ npx medusa plugin:db:generate
## plugin\:build
Build a plugin before publishing it to NPM. The command will compile an output in the `.medusa/server` directory.
Build a plugin before publishing it to NPM. The command will compile the output in the `.medusa/server` directory.
```bash
npx medusa plugin:build
@@ -11,7 +11,7 @@ export const metadata = {
# {metadata.title}
Enable or disable the collection of anonymous data usage. If no option is provided, the command enables the collection of anonymous data usage.
Enable or disable the collection of anonymous usage data. If no option is provided, the command enables the collection of anonymous usage data.
```bash
npx medusa telemetry