From 47a1d88fb1b8400cda9bde693a19a8d5da1d9e7e Mon Sep 17 00:00:00 2001 From: Colum Ferry Date: Thu, 14 Nov 2024 18:33:39 +0000 Subject: [PATCH] fix(core): typo in readme for CNW --- .../generate-workspace-files.spec.ts.snap | 44 +++++++++---------- .../new/files-readme/README.md.template | 2 +- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/packages/workspace/src/generators/new/__snapshots__/generate-workspace-files.spec.ts.snap b/packages/workspace/src/generators/new/__snapshots__/generate-workspace-files.spec.ts.snap index 84a888fb32b34..0d3d82c804b3a 100644 --- a/packages/workspace/src/generators/new/__snapshots__/generate-workspace-files.spec.ts.snap +++ b/packages/workspace/src/generators/new/__snapshots__/generate-workspace-files.spec.ts.snap @@ -214,7 +214,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -295,7 +295,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -473,7 +473,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -809,7 +809,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -1230,7 +1230,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -1396,7 +1396,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -1477,7 +1477,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -2165,7 +2165,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -2267,7 +2267,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -2487,7 +2487,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -2907,7 +2907,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -3433,7 +3433,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -3641,7 +3641,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -3743,7 +3743,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -4523,7 +4523,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -4604,7 +4604,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -4782,7 +4782,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -5118,7 +5118,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -5539,7 +5539,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -5705,7 +5705,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -5786,7 +5786,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library @@ -6261,7 +6261,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: \`\`\`sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library diff --git a/packages/workspace/src/generators/new/files-readme/README.md.template b/packages/workspace/src/generators/new/files-readme/README.md.template index 47ac233b33a4e..4cfa6c339ba26 100644 --- a/packages/workspace/src/generators/new/files-readme/README.md.template +++ b/packages/workspace/src/generators/new/files-readme/README.md.template @@ -119,7 +119,7 @@ npx nx add @nx/react Use the plugin's generator to create new projects. For example, to create a new React app or library: ```sh -# Genenerate an app +# Generate an app npx nx g @nx/react:app demo # Generate a library