Skip to content

Commit 4ac5c2c

Browse files
committed
feat(doc): move di
1 parent 22df1ad commit 4ac5c2c

File tree

15 files changed

+24
-18
lines changed

15 files changed

+24
-18
lines changed

apps/di/.eslintrc.json renamed to apps/angular/di/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": ["../../.eslintrc.json"],
2+
"extends": ["../../../.eslintrc.json"],
33
"ignorePatterns": ["!**/*"],
44
"overrides": [
55
{

apps/di/README.md renamed to apps/angular/di/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
### Run Application
66

77
```bash
8-
npx nx serve di
8+
npx nx serve angular-di
99
```
1010

1111
### Documentation and Instruction
1212

13-
Challenge documentation is [here](https://angular-challenges.vercel.app/challenges/angular/16-di/).
13+
Challenge documentation is [here](https://angular-challenges.vercel.app/challenges/angular/16-angular-di/).

apps/di/project.json renamed to apps/angular/di/project.json

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
11
{
2-
"name": "di",
3-
"$schema": "../../node_modules/nx/schemas/project-schema.json",
2+
"name": "angular-di",
3+
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
44
"projectType": "application",
5-
"sourceRoot": "apps/di/src",
5+
"sourceRoot": "apps/angular/di/src",
66
"prefix": "app",
77
"targets": {
88
"build": {
99
"executor": "@angular-devkit/build-angular:browser",
1010
"outputs": ["{options.outputPath}"],
1111
"options": {
12-
"outputPath": "dist/apps/di",
13-
"index": "apps/di/src/index.html",
14-
"main": "apps/di/src/main.ts",
12+
"outputPath": "dist/apps/angular/di",
13+
"index": "apps/angular/di/src/index.html",
14+
"main": "apps/angular/di/src/main.ts",
1515
"polyfills": ["zone.js"],
16-
"tsConfig": "apps/di/tsconfig.app.json",
16+
"tsConfig": "apps/angular/di/tsconfig.app.json",
1717
"inlineStyleLanguage": "scss",
18-
"assets": ["apps/di/src/favicon.ico", "apps/di/src/assets"],
18+
"assets": [
19+
"apps/angular/di/src/favicon.ico",
20+
"apps/angular/di/src/assets"
21+
],
1922
"styles": [
20-
"apps/di/src/styles.scss",
23+
"apps/angular/di/src/styles.scss",
2124
"node_modules/primeicons/primeicons.css",
2225
"node_modules/primeng/resources/themes/lara-light-blue/theme.css",
2326
"node_modules/primeng/resources/primeng.min.css"
@@ -55,25 +58,28 @@
5558
"executor": "@angular-devkit/build-angular:dev-server",
5659
"configurations": {
5760
"production": {
58-
"browserTarget": "di:build:production"
61+
"browserTarget": "angular-di:build:production"
5962
},
6063
"development": {
61-
"browserTarget": "di:build:development"
64+
"browserTarget": "angular-di:build:development"
6265
}
6366
},
6467
"defaultConfiguration": "development"
6568
},
6669
"extract-i18n": {
6770
"executor": "@angular-devkit/build-angular:extract-i18n",
6871
"options": {
69-
"browserTarget": "di:build"
72+
"browserTarget": "angular-di:build"
7073
}
7174
},
7275
"lint": {
7376
"executor": "@nx/linter:eslint",
7477
"outputs": ["{options.outputFile}"],
7578
"options": {
76-
"lintFilePatterns": ["apps/di/**/*.ts", "apps/di/**/*.html"]
79+
"lintFilePatterns": [
80+
"apps/angular/di/**/*.ts",
81+
"apps/angular/di/**/*.html"
82+
]
7783
}
7884
}
7985
},
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)