mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
docs: add appProjectName property
This commit is contained in:
@@ -21,7 +21,7 @@ WIP: The following documentation need to be written.
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
Start the project by running: `npx nx serve <%= projectName %>`.
|
Start the project by running: `npx nx serve <%= appProjectName %>`.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
:::tip[Reminder]
|
:::tip[Reminder]
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
### Run Application
|
### Run Application
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx nx serve <%= projectName %>
|
npx nx serve <%= appProjectName %>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Documentation and Instruction
|
### Documentation and Instruction
|
||||||
|
|||||||
@@ -76,7 +76,8 @@ export async function challengeGenerator(tree: Tree, options: Schema) {
|
|||||||
|
|
||||||
generateFiles(tree, join(__dirname, 'files', 'readme'), appDirectory, {
|
generateFiles(tree, join(__dirname, 'files', 'readme'), appDirectory, {
|
||||||
tmpl: '',
|
tmpl: '',
|
||||||
projectName: appProjectName,
|
projectName: names(options.name).name,
|
||||||
|
appProjectName: appProjectName,
|
||||||
title: options.title,
|
title: options.title,
|
||||||
challengeNumber,
|
challengeNumber,
|
||||||
docRepository: options.docRepository,
|
docRepository: options.docRepository,
|
||||||
@@ -88,7 +89,8 @@ export async function challengeGenerator(tree: Tree, options: Schema) {
|
|||||||
`./docs/src/content/docs/challenges/${options.docRepository}`,
|
`./docs/src/content/docs/challenges/${options.docRepository}`,
|
||||||
{
|
{
|
||||||
tmpl: '',
|
tmpl: '',
|
||||||
projectName: appProjectName,
|
projectName: names(options.name).name,
|
||||||
|
appProjectName: appProjectName,
|
||||||
title: options.title,
|
title: options.title,
|
||||||
challengeNumber,
|
challengeNumber,
|
||||||
difficulty,
|
difficulty,
|
||||||
|
|||||||
Reference in New Issue
Block a user