refactor: change projection and anchor navigation
@@ -4,7 +4,7 @@ export default {
|
|||||||
preset: '../../../jest.preset.js',
|
preset: '../../../jest.preset.js',
|
||||||
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
||||||
globals: {},
|
globals: {},
|
||||||
coverageDirectory: '../../../coverage/apps/angular/projection',
|
coverageDirectory: '../../../coverage/apps/angular/1-projection',
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.(ts|mjs|js|html)$': [
|
'^.+\\.(ts|mjs|js|html)$': [
|
||||||
'jest-preset-angular',
|
'jest-preset-angular',
|
||||||
@@ -2,24 +2,24 @@
|
|||||||
"name": "angular-projection",
|
"name": "angular-projection",
|
||||||
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
||||||
"projectType": "application",
|
"projectType": "application",
|
||||||
"sourceRoot": "apps/angular/projection/src",
|
"sourceRoot": "apps/angular/1-projection/src",
|
||||||
"prefix": "app",
|
"prefix": "app",
|
||||||
"targets": {
|
"targets": {
|
||||||
"build": {
|
"build": {
|
||||||
"executor": "@angular-devkit/build-angular:application",
|
"executor": "@angular-devkit/build-angular:application",
|
||||||
"outputs": ["{options.outputPath}"],
|
"outputs": ["{options.outputPath}"],
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "dist/apps/angular/projection",
|
"outputPath": "dist/apps/angular/1-projection",
|
||||||
"index": "apps/angular/projection/src/index.html",
|
"index": "apps/angular/1-projection/src/index.html",
|
||||||
"browser": "apps/angular/projection/src/main.ts",
|
"browser": "apps/angular/1-projection/src/main.ts",
|
||||||
"polyfills": ["apps/angular/projection/src/polyfills.ts"],
|
"polyfills": ["apps/angular/1-projection/src/polyfills.ts"],
|
||||||
"tsConfig": "apps/angular/projection/tsconfig.app.json",
|
"tsConfig": "apps/angular/1-projection/tsconfig.app.json",
|
||||||
"inlineStyleLanguage": "scss",
|
"inlineStyleLanguage": "scss",
|
||||||
"assets": [
|
"assets": [
|
||||||
"apps/angular/projection/src/favicon.ico",
|
"apps/angular/1-projection/src/favicon.ico",
|
||||||
"apps/angular/projection/src/assets"
|
"apps/angular/1-projection/src/assets"
|
||||||
],
|
],
|
||||||
"styles": ["apps/angular/projection/src/styles.scss"],
|
"styles": ["apps/angular/1-projection/src/styles.scss"],
|
||||||
"scripts": [],
|
"scripts": [],
|
||||||
"allowedCommonJsDependencies": ["seedrandom"]
|
"allowedCommonJsDependencies": ["seedrandom"]
|
||||||
},
|
},
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
"executor": "@nx/jest:jest",
|
"executor": "@nx/jest:jest",
|
||||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "apps/angular/projection/jest.config.ts"
|
"jestConfig": "apps/angular/1-projection/jest.config.ts"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 502 B After Width: | Height: | Size: 502 B |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@@ -5,7 +5,7 @@
|
|||||||
### Run Application
|
### Run Application
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx nx serve angular-anchor-scrolling
|
npx nx serve angular-anchor-navigation
|
||||||
```
|
```
|
||||||
|
|
||||||
### Documentation and Instruction
|
### Documentation and Instruction
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
export default {
|
export default {
|
||||||
displayName: 'angular-anchor-scrolling',
|
displayName: 'anchor-navigation-anchor-navigation',
|
||||||
preset: '../../../jest.preset.js',
|
preset: '../../../jest.preset.js',
|
||||||
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
||||||
coverageDirectory: '../../../coverage/apps/angular/anchor-scrolling',
|
coverageDirectory: '../../../coverage/apps/angular/21-anchor-navigation',
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.(ts|mjs|js|html)$': [
|
'^.+\\.(ts|mjs|js|html)$': [
|
||||||
'jest-preset-angular',
|
'jest-preset-angular',
|
||||||
@@ -1,25 +1,25 @@
|
|||||||
{
|
{
|
||||||
"name": "angular-anchor-scrolling",
|
"name": "angular-anchor-navigation",
|
||||||
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
||||||
"projectType": "application",
|
"projectType": "application",
|
||||||
"sourceRoot": "apps/angular/anchor-scrolling/src",
|
"sourceRoot": "apps/angular/21-anchor-navigation/src",
|
||||||
"prefix": "app",
|
"prefix": "app",
|
||||||
"targets": {
|
"targets": {
|
||||||
"build": {
|
"build": {
|
||||||
"executor": "@angular-devkit/build-angular:browser",
|
"executor": "@angular-devkit/build-angular:browser",
|
||||||
"outputs": ["{options.outputPath}"],
|
"outputs": ["{options.outputPath}"],
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "dist/apps/angular/anchor-scrolling",
|
"outputPath": "dist/apps/angular/21-anchor-navigation",
|
||||||
"index": "apps/angular/anchor-scrolling/src/index.html",
|
"index": "apps/angular/21-anchor-navigation/src/index.html",
|
||||||
"main": "apps/angular/anchor-scrolling/src/main.ts",
|
"main": "apps/angular/21-anchor-navigation/src/main.ts",
|
||||||
"polyfills": ["zone.js"],
|
"polyfills": ["zone.js"],
|
||||||
"tsConfig": "apps/angular/anchor-scrolling/tsconfig.app.json",
|
"tsConfig": "apps/angular/21-anchor-navigation/tsconfig.app.json",
|
||||||
"inlineStyleLanguage": "scss",
|
"inlineStyleLanguage": "scss",
|
||||||
"assets": [
|
"assets": [
|
||||||
"apps/angular/anchor-scrolling/src/favicon.ico",
|
"apps/angular/21-anchor-navigation/src/favicon.ico",
|
||||||
"apps/angular/anchor-scrolling/src/assets"
|
"apps/angular/21-anchor-navigation/src/assets"
|
||||||
],
|
],
|
||||||
"styles": ["apps/angular/anchor-scrolling/src/styles.scss"],
|
"styles": ["apps/angular/21-anchor-navigation/src/styles.scss"],
|
||||||
"scripts": []
|
"scripts": []
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
@@ -53,10 +53,10 @@
|
|||||||
"executor": "@angular-devkit/build-angular:dev-server",
|
"executor": "@angular-devkit/build-angular:dev-server",
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
"buildTarget": "angular-anchor-scrolling:build:production"
|
"buildTarget": "angular-anchor-navigation:build:production"
|
||||||
},
|
},
|
||||||
"development": {
|
"development": {
|
||||||
"buildTarget": "angular-anchor-scrolling:build:development"
|
"buildTarget": "angular-anchor-navigation:build:development"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"defaultConfiguration": "development"
|
"defaultConfiguration": "development"
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
"extract-i18n": {
|
"extract-i18n": {
|
||||||
"executor": "@angular-devkit/build-angular:extract-i18n",
|
"executor": "@angular-devkit/build-angular:extract-i18n",
|
||||||
"options": {
|
"options": {
|
||||||
"buildTarget": "angular-anchor-scrolling:build"
|
"buildTarget": "angular-anchor-navigation:build"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
"executor": "@nx/jest:jest",
|
"executor": "@nx/jest:jest",
|
||||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||||
"options": {
|
"options": {
|
||||||
"jestConfig": "apps/angular/anchor-scrolling/jest.config.ts"
|
"jestConfig": "apps/angular/21-anchor-navigation/jest.config.ts"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@@ -6,7 +6,7 @@ contributors:
|
|||||||
- tomalaforge
|
- tomalaforge
|
||||||
- tomer953
|
- tomer953
|
||||||
challengeNumber: 21
|
challengeNumber: 21
|
||||||
command: angular-anchor-scrolling
|
command: angular-anchor-navigation
|
||||||
sidebar:
|
sidebar:
|
||||||
order: 4
|
order: 4
|
||||||
---
|
---
|
||||||
@@ -5,7 +5,7 @@ author: thomas-laforge
|
|||||||
contributors:
|
contributors:
|
||||||
- ErickRodrCodes
|
- ErickRodrCodes
|
||||||
challengeNumber: 21
|
challengeNumber: 21
|
||||||
command: angular-anchor-scrolling
|
command: angular-anchor-navigation
|
||||||
sidebar:
|
sidebar:
|
||||||
order: 4
|
order: 4
|
||||||
---
|
---
|
||||||
@@ -5,7 +5,7 @@ author: thomas-laforge
|
|||||||
contributors:
|
contributors:
|
||||||
- kabrunko-dev
|
- kabrunko-dev
|
||||||
challengeNumber: 21
|
challengeNumber: 21
|
||||||
command: angular-anchor-scrolling
|
command: angular-anchor-navigation
|
||||||
sidebar:
|
sidebar:
|
||||||
order: 4
|
order: 4
|
||||||
---
|
---
|
||||||
@@ -5,7 +5,7 @@ author: thomas-laforge
|
|||||||
contributors:
|
contributors:
|
||||||
- stillst
|
- stillst
|
||||||
challengeNumber: 21
|
challengeNumber: 21
|
||||||
command: angular-anchor-scrolling
|
command: angular-anchor-navigation
|
||||||
sidebar:
|
sidebar:
|
||||||
order: 4
|
order: 4
|
||||||
---
|
---
|
||||||