feat(doc): move pipe stuling

This commit is contained in:
thomas
2023-10-18 10:05:07 +02:00
parent a0844c8a42
commit 058c7b04a0
14 changed files with 24 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
{
"extends": ["../../.eslintrc.json"],
"extends": ["../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"overrides": [
{

View File

@@ -5,9 +5,9 @@
### Run Application
```bash
npx nx serve styling
npx nx serve angular-styling
```
### Documentation and Instruction
Challenge documentation is [here](https://angular-challenges.vercel.app/challenges/angular/13-styling/).
Challenge documentation is [here](https://angular-challenges.vercel.app/challenges/angular/13-angular-styling/).

View File

@@ -1,22 +1,25 @@
{
"name": "styling",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"name": "angular-styling",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"sourceRoot": "apps/styling/src",
"sourceRoot": "apps/angular/styling/src",
"prefix": "app",
"targets": {
"build": {
"executor": "@angular-devkit/build-angular:browser",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/apps/styling",
"index": "apps/styling/src/index.html",
"main": "apps/styling/src/main.ts",
"outputPath": "dist/apps/angular/styling",
"index": "apps/angular/styling/src/index.html",
"main": "apps/angular/styling/src/main.ts",
"polyfills": ["zone.js"],
"tsConfig": "apps/styling/tsconfig.app.json",
"tsConfig": "apps/angular/styling/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": ["apps/styling/src/favicon.ico", "apps/styling/src/assets"],
"styles": ["apps/styling/src/styles.scss"],
"assets": [
"apps/angular/styling/src/favicon.ico",
"apps/angular/styling/src/assets"
],
"styles": ["apps/angular/styling/src/styles.scss"],
"scripts": []
},
"configurations": {
@@ -50,10 +53,10 @@
"executor": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "styling:build:production"
"browserTarget": "angular-styling:build:production"
},
"development": {
"browserTarget": "styling:build:development"
"browserTarget": "angular-styling:build:development"
}
},
"defaultConfiguration": "development"
@@ -61,14 +64,17 @@
"extract-i18n": {
"executor": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "styling:build"
"browserTarget": "angular-styling:build"
}
},
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/styling/**/*.ts", "apps/styling/**/*.html"]
"lintFilePatterns": [
"apps/angular/styling/**/*.ts",
"apps/angular/styling/**/*.html"
]
}
}
},

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"outDir": "../../../dist/out-tsc",
"types": []
},
"files": ["src/main.ts"],

View File

@@ -19,7 +19,7 @@
"path": "./tsconfig.editor.json"
}
],
"extends": "../../tsconfig.base.json",
"extends": "../../../tsconfig.base.json",
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,