Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Clarify migration commands for testing plugins #3336

Conversation

wpplumber
Copy link
Contributor

Description

This PR clarifies the migration commands in the "Test the Plugin" section of the Vendure documentation. The current instructions are incomplete and could lead to confusion for users trying to test their plugins.

Changes:

Updated the documentation to clearly separate the two steps required for migrations:

  • Generating the migration file using npx vendure migrate wishlist-plugin.

  • Running the migration using npx vendure migrate wishlist-plugin.

Why this matters:

  • The current documentation only mentions the first step (npm run migration:generate), which give error on cmd.

  • By explicitly stating both steps, users can seamlessly test their plugins without confusion or errors.

Breaking changes

No

Screenshots

You can add screenshots here if applicable.

Checklist

📌 Always:

  • I have set a clear title
  • My PR is small and contains a single feature
  • I have checked my own PR

👍 Most of the time:

  • I have added or updated test cases
  • I have updated the README if needed

Copy link

vercel bot commented Jan 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Jan 27, 2025 10:12pm

@dlhck dlhck merged commit 100adb2 into vendure-ecommerce:master Feb 1, 2025
31 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants