From 21d5bd8d664af93d7e64bd24a4465bc46f741cfa Mon Sep 17 00:00:00 2001 From: Slava <80632445+DemaPy@users.noreply.github.com> Date: Fri, 3 Jan 2025 20:24:42 +0100 Subject: [PATCH] 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. --- .../2023-08-10-create-your-own-create-react-app-cli.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/blog/2023-08-10-create-your-own-create-react-app-cli.md b/docs/blog/2023-08-10-create-your-own-create-react-app-cli.md index 5a7edd1e0ca37..d49f2ec927c01 100644 --- a/docs/blog/2023-08-10-create-your-own-create-react-app-cli.md +++ b/docs/blog/2023-08-10-create-your-own-create-react-app-cli.md @@ -180,9 +180,9 @@ export default presetGenerator; The preset generator does 2 things: -- Create an Nx project using the`addProjectConfiguration` function. This creates a `project.json` file which allows Nx to run commands on it. -- 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. -- Format the generated files with `prettier` with the`formatFiles` function +- Create an Nx project using the `addProjectConfiguration` function. This creates a `project.json` file which allows Nx to run commands on it. +- 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. +- Format the generated files with `prettier` with the `formatFiles` function ![](/blog/images/2023-08-10/38RvkLIwUAvVDDrEp5sFPQ.avif) _preset generator_ @@ -588,7 +588,7 @@ You can modify this e2e test to test your CLI. Then, run it using the command `n The default test works like this: -1. Creates a test workspace at `tmp/`using the `create-my-own-react-app` CLI +1. Creates a test workspace at `tmp/` using the `create-my-own-react-app` CLI 2. Runs `npm ls my-own-react` to validate that the plugin is installed in the test workspace 3. Cleans up the test workspace