Skip to content

Commit 33e350b

Browse files
DemaPyFrozenPandaz
authored andcommitted
docs(react): add spaces in 2023-08-10-create-your-own-create-react-app-cli.md (#29510)
Spaces in some places between word and backquote has been missed. ## Current Behavior No spaces between formatted strings in some places. ## Expected Behavior Spaces should appear between formatted string. ## Related Issue(s) Not found any related issues. I have decided just create PR. (cherry picked from commit 21d5bd8)
1 parent 8d383ce commit 33e350b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/blog/2023-08-10-create-your-own-create-react-app-cli.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ export default presetGenerator;
180180

181181
The preset generator does 2 things:
182182

183-
- Create an Nx project using the`addProjectConfiguration` function. This creates a `project.json` file which allows Nx to run commands on it.
184-
- Generates files in the project using the`generateFiles` function. This uses the templates under `src/generators/preset/files` which are interpolated to become the files that are generated for the user.
185-
- Format the generated files with `prettier` with the`formatFiles` function
183+
- Create an Nx project using the `addProjectConfiguration` function. This creates a `project.json` file which allows Nx to run commands on it.
184+
- Generates files in the project using the `generateFiles` function. This uses the templates under `src/generators/preset/files` which are interpolated to become the files that are generated for the user.
185+
- Format the generated files with `prettier` with the `formatFiles` function
186186

187187
![](/blog/images/2023-08-10/38RvkLIwUAvVDDrEp5sFPQ.avif)
188188
_preset generator_
@@ -588,7 +588,7 @@ You can modify this e2e test to test your CLI. Then, run it using the command `n
588588

589589
The default test works like this:
590590

591-
1. Creates a test workspace at `tmp/`using the `create-my-own-react-app` CLI
591+
1. Creates a test workspace at `tmp/` using the `create-my-own-react-app` CLI
592592
2. Runs `npm ls my-own-react` to validate that the plugin is installed in the test workspace
593593
3. Cleans up the test workspace
594594

0 commit comments

Comments
 (0)