mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
docs(docs): writting docs
This commit is contained in:
@@ -24,7 +24,7 @@ If you would like to propose a challenge, this project is open source, so feel f
|
|||||||
|
|
||||||
## Challenges
|
## Challenges
|
||||||
|
|
||||||
Check [all 35 challenges](https://angular-challenges.vercel.app/)
|
Check [all 36 challenges](https://angular-challenges.vercel.app/)
|
||||||
|
|
||||||
## Contributors ✨
|
## Contributors ✨
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #12</div>
|
<div class="chip">Challenge #12</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #32</div>
|
<div class="chip">Challenge #32</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #34</div>
|
<div class="chip">Challenge #34</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #10</div>
|
<div class="chip">Challenge #10</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #13</div>
|
<div class="chip">Challenge #13</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #16</div>
|
<div class="chip">Challenge #16</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #21</div>
|
<div class="chip">Challenge #21</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #22</div>
|
<div class="chip">Challenge #22</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #3</div>
|
<div class="chip">Challenge #3</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #30</div>
|
<div class="chip">Challenge #30</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #31</div>
|
<div class="chip">Challenge #31</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #33</div>
|
<div class="chip">Challenge #33</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #4</div>
|
<div class="chip">Challenge #4</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #5</div>
|
<div class="chip">Challenge #5</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #6</div>
|
<div class="chip">Challenge #6</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #8</div>
|
<div class="chip">Challenge #8</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #9</div>
|
<div class="chip">Challenge #9</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #2</div>
|
<div class="chip">Challenge #2</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #7</div>
|
<div class="chip">Challenge #7</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## Information
|
## Information
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## Information
|
## Information
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## Information
|
## Information
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #11</div>
|
<div class="chip">Challenge #11</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #14</div>
|
<div class="chip">Challenge #14</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #17</div>
|
<div class="chip">Challenge #17</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #18</div>
|
<div class="chip">Challenge #18</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #19</div>
|
<div class="chip">Challenge #19</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #20</div>
|
<div class="chip">Challenge #20</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #23</div>
|
<div class="chip">Challenge #23</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #24</div>
|
<div class="chip">Challenge #24</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #28</div>
|
<div class="chip">Challenge #28</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #29</div>
|
<div class="chip">Challenge #29</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you don't understand a certain part, please feel free to reach out or create an issue.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #15</div>
|
<div class="chip">Challenge #15</div>
|
||||||
|
|||||||
@@ -6,5 +6,24 @@ sidebar:
|
|||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP:
|
WIP: doc in writting
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
You have an idea you want to share, an interesting bug you struggling on in your private organization or in your side project, an Angular trick you discovered,... All those possibilities are a good start to create a challenge and share the solution with others.
|
||||||
|
|
||||||
|
But how to start creating that challenges ?
|
||||||
|
|
||||||
|
## Boilerplate Setup
|
||||||
|
|
||||||
|
To ease the process, I created a Nx generator that will create all the boilerplate for you and get you ready faster. The easiest way to run it is by using the Nx console > generate > @angular-challenges/cli - challenge
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
title: string;
|
||||||
|
challengeDifficulty: string;
|
||||||
|
docRepository: string;
|
||||||
|
name: string;
|
||||||
|
directory?: string;
|
||||||
|
addTest?: boolean;
|
||||||
|
|
||||||
|
This generator will create a new application inside the `apps` directory and a Markdown file inside the `docs` folder.
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ hero:
|
|||||||
import { Card, CardGrid } from '@astrojs/starlight/components';
|
import { Card, CardGrid } from '@astrojs/starlight/components';
|
||||||
|
|
||||||
<CardGrid>
|
<CardGrid>
|
||||||
<Card title="35 Challenges">
|
<Card title="36 Challenges">
|
||||||
This repository gathers 35 Challenges related to <b>Angular</b>, <b>Nx</b>, <b>Ngrx</b>, <b>RxJS</b>, and <b>Ngrx</b>.
|
This repository gathers 36 Challenges related to <b>Angular</b>, <b>Nx</b>, <b>Ngrx</b>, <b>RxJS</b>, and <b>Ngrx</b>.
|
||||||
These challenges resolve around real-life issues or specific features to elevate your skills.
|
These challenges resolve around real-life issues or specific features to elevate your skills.
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
|
|||||||
@@ -92,3 +92,7 @@ b {
|
|||||||
font-size: var(--sl-text-xs);
|
font-size: var(--sl-text-xs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
starlight-menu-button svg {
|
||||||
|
color: #1c1a1d;
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"generators": {
|
"generators": {
|
||||||
"app": {
|
"challenge": {
|
||||||
"factory": "./src/generators/app/generator",
|
"factory": "./src/generators/challenge/generator",
|
||||||
"schema": "./src/generators/app/schema.json",
|
"schema": "./src/generators/challenge/schema.json",
|
||||||
"description": "app generator"
|
"description": "challenge generator"
|
||||||
},
|
},
|
||||||
"readme": {
|
"readme": {
|
||||||
"factory": "./src/generators/readme/generator",
|
"factory": "./src/generators/readme/generator",
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
---
|
---
|
||||||
title: <%= difficulty %> <%= title %>
|
title: <%= difficulty %> <%= title %>
|
||||||
description: Challenge <%= challengeNumber %> is about ...
|
description: Challenge <%= challengeNumber %> is about ...
|
||||||
|
sidebar:
|
||||||
|
order: <%= challengeNumber %>
|
||||||
---
|
---
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
WIP
|
WIP: The following documentation need to be written.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
<div class="chip">Challenge #<%= challengeNumber %></div>
|
<div class="chip">Challenge #<%= challengeNumber %></div>
|
||||||
@@ -12,12 +12,12 @@ import {
|
|||||||
updateJson,
|
updateJson,
|
||||||
} from '@nx/devkit';
|
} from '@nx/devkit';
|
||||||
import { Linter } from '@nx/linter';
|
import { Linter } from '@nx/linter';
|
||||||
import { readFile, writeFile } from 'fs';
|
import { readFile, writeFile } from 'fs/promises';
|
||||||
import { join } from 'path';
|
import { join } from 'path';
|
||||||
import { getProjectDir } from '../../utils/normalize';
|
import { getProjectDir } from '../../utils/normalize';
|
||||||
import { Schema } from './schema';
|
import { Schema } from './schema';
|
||||||
|
|
||||||
export async function appGenerator(tree: Tree, options: Schema) {
|
export async function challengeGenerator(tree: Tree, options: Schema) {
|
||||||
const { appDirectory } = getProjectDir(options.name, options.directory);
|
const { appDirectory } = getProjectDir(options.name, options.directory);
|
||||||
|
|
||||||
const challengeNumberPath = 'challenge-number.json';
|
const challengeNumberPath = 'challenge-number.json';
|
||||||
@@ -70,38 +70,24 @@ export async function appGenerator(tree: Tree, options: Schema) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
readFile('./README.md', 'utf-8', function (err, contents) {
|
const readme = await readFile('./README.md', { encoding: 'utf-8' });
|
||||||
const regex = new RegExp(`all ${challengeNumber} challenges`);
|
|
||||||
const replaced = contents.replace(
|
|
||||||
regex,
|
|
||||||
`all ${challengeNumber + 1} challenges`
|
|
||||||
);
|
|
||||||
|
|
||||||
writeFile('./README.md', replaced, 'utf-8', function (err) {
|
const readmeRegex = new RegExp(`all ${challengeNumber} challenges`);
|
||||||
console.log(err);
|
const readmeReplace = readme.replace(
|
||||||
});
|
readmeRegex,
|
||||||
|
`all ${challengeNumber + 1} challenges`
|
||||||
|
);
|
||||||
|
|
||||||
|
await writeFile('./README.md', readmeReplace, 'utf-8');
|
||||||
|
|
||||||
|
const docs = await readFile('./docs/src/content/docs/index.mdx', {
|
||||||
|
encoding: 'utf-8',
|
||||||
});
|
});
|
||||||
|
|
||||||
readFile(
|
const regex = new RegExp(`${challengeNumber} Challenges`, 'gi');
|
||||||
'./docs/src/content/docs/index.mdx',
|
const replaced = docs.replace(regex, `${challengeNumber + 1} Challenges`);
|
||||||
'utf-8',
|
|
||||||
function (err, contents) {
|
|
||||||
const regex = new RegExp(`${challengeNumber} Challenges`, 'gi');
|
|
||||||
const replaced = contents.replace(
|
|
||||||
regex,
|
|
||||||
`${challengeNumber + 1} Challenges`
|
|
||||||
);
|
|
||||||
|
|
||||||
writeFile(
|
await writeFile('./docs/src/content/docs/index.mdx', replaced, 'utf-8');
|
||||||
'./docs/src/content/docs/index.mdx',
|
|
||||||
replaced,
|
|
||||||
'utf-8',
|
|
||||||
function (err) {
|
|
||||||
console.log(err);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
updateJson(tree, challengeNumberPath, (json) => {
|
updateJson(tree, challengeNumberPath, (json) => {
|
||||||
json.total = json.total + 1;
|
json.total = json.total + 1;
|
||||||
@@ -111,4 +97,4 @@ export async function appGenerator(tree: Tree, options: Schema) {
|
|||||||
await formatFiles(tree);
|
await formatFiles(tree);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default appGenerator;
|
export default challengeGenerator;
|
||||||
@@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"$schema": "http://json-schema.org/schema",
|
"$schema": "http://json-schema.org/schema",
|
||||||
"$id": "GeneratorNxApp",
|
"$id": "GeneratorNxChallenge",
|
||||||
"title": "Creates an Angular application.",
|
"title": "Creates the setup for a new Angular Challenge.",
|
||||||
"description": "Creates an Angular application.",
|
"description": "Creates the boilerplate for an Angular Challenge.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"cli": "nx",
|
"cli": "nx",
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
"description": "The name of the application. (should be in camel case)",
|
"description": "The name of the application. (should be in kebab case)",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"$default": {
|
"$default": {
|
||||||
"$source": "argv",
|
"$source": "argv",
|
||||||
@@ -19,6 +19,7 @@
|
|||||||
"title": {
|
"title": {
|
||||||
"description": "Title of your challenge. (use quote to add spaces)",
|
"description": "Title of your challenge. (use quote to add spaces)",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
"maxLength": "25",
|
||||||
"$default": {
|
"$default": {
|
||||||
"$source": "argv",
|
"$source": "argv",
|
||||||
"index": 1
|
"index": 1
|
||||||
Reference in New Issue
Block a user