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

feat: add populate option when create api project #91

Open
wants to merge 3 commits into
base: trunk
Choose a base branch
from

Conversation

vanpho93
Copy link
Member

Signed-off-by: Brian Nguyen [email protected]

important note: cannot be tested after release api-plugin-sample-data

Resolves: #87

Solution

Add @reactioncommerce/api-plugin-sample-data into package.json
Add sampleDate: "@reactioncommerce/api-plugin-sample-data" into plugins.json
Add env LOAD_SAMPLE_DATA=true

Testing

reaction create-project api test --populate

@vanpho93 vanpho93 force-pushed the feat/add_support_to_install_the_simple_data_plugin_on_create_api branch from 37fb8cf to 63afc18 Compare July 14, 2022 01:43
vanpho93 added 2 commits July 14, 2022 09:08
Signed-off-by: Brian Nguyen <[email protected]>
@vanpho93 vanpho93 force-pushed the feat/add_support_to_install_the_simple_data_plugin_on_create_api branch from f7bcaaa to bd64905 Compare July 14, 2022 02:20
@brent-hoover
Copy link
Collaborator

@vanpho93 Broken test here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use sample-data-plugin to add --populate option to create-project api
2 participants