diff --git a/README.md b/README.md index ffd3a34..d21607e 100644 --- a/README.md +++ b/README.md @@ -62,13 +62,11 @@ graph LR sf org create scratch -d -f config/project-scratch-def.json -a recipes ``` -1. Install dependencies, fetch the GraphQL schema, and build React Recipes: +1. Install dependencies and build React Recipes: ```bash cd force-app/main/react-recipes/uiBundles/reactRecipes npm install - npm run graphql:schema - npm run graphql:codegen npm run build cd ../../../../.. ``` @@ -85,6 +83,15 @@ graph LR sf org assign permset -n recipes ``` +1. Fetch the GraphQL schema and run codegen: + + ```bash + cd force-app/main/react-recipes/uiBundles/reactRecipes + npm run graphql:schema + npm run graphql:codegen + cd ../../../../.. + ``` + 1. Import sample data: ```bash @@ -121,13 +128,11 @@ graph LR cd multiframework-recipes ``` -1. Install dependencies, fetch the GraphQL schema, and build React Recipes: +1. Install dependencies and build React Recipes: ```bash cd force-app/main/react-recipes/uiBundles/reactRecipes npm install - npm run graphql:schema - npm run graphql:codegen npm run build cd ../../../../.. ``` @@ -144,6 +149,15 @@ graph LR sf org assign permset -n recipes ``` +1. Fetch the GraphQL schema and run codegen: + + ```bash + cd force-app/main/react-recipes/uiBundles/reactRecipes + npm run graphql:schema + npm run graphql:codegen + cd ../../../../.. + ``` + 1. Import sample data: ```bash