docs: add appProjectName property

This commit is contained in:
Devesh
2023-10-05 13:12:10 +05:30
parent 917fba494b
commit 2132eabc57
3 changed files with 6 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ WIP: The following documentation need to be written.
---
:::note
Start the project by running: `npx nx serve <%= projectName %>`.
Start the project by running: `npx nx serve <%= appProjectName %>`.
:::
:::tip[Reminder]

View File

@@ -5,7 +5,7 @@
### Run Application
```bash
npx nx serve <%= projectName %>
npx nx serve <%= appProjectName %>
```
### Documentation and Instruction

View File

@@ -76,7 +76,8 @@ export async function challengeGenerator(tree: Tree, options: Schema) {
generateFiles(tree, join(__dirname, 'files', 'readme'), appDirectory, {
tmpl: '',
projectName: appProjectName,
projectName: names(options.name).name,
appProjectName: appProjectName,
title: options.title,
challengeNumber,
docRepository: options.docRepository,
@@ -88,7 +89,8 @@ export async function challengeGenerator(tree: Tree, options: Schema) {
`./docs/src/content/docs/challenges/${options.docRepository}`,
{
tmpl: '',
projectName: appProjectName,
projectName: names(options.name).name,
appProjectName: appProjectName,
title: options.title,
challengeNumber,
difficulty,