refactor: change projection and anchor navigation
@@ -4,7 +4,7 @@ export default {
|
||||
preset: '../../../jest.preset.js',
|
||||
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
||||
globals: {},
|
||||
coverageDirectory: '../../../coverage/apps/angular/projection',
|
||||
coverageDirectory: '../../../coverage/apps/angular/1-projection',
|
||||
transform: {
|
||||
'^.+\\.(ts|mjs|js|html)$': [
|
||||
'jest-preset-angular',
|
||||
@@ -2,24 +2,24 @@
|
||||
"name": "angular-projection",
|
||||
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
||||
"projectType": "application",
|
||||
"sourceRoot": "apps/angular/projection/src",
|
||||
"sourceRoot": "apps/angular/1-projection/src",
|
||||
"prefix": "app",
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@angular-devkit/build-angular:application",
|
||||
"outputs": ["{options.outputPath}"],
|
||||
"options": {
|
||||
"outputPath": "dist/apps/angular/projection",
|
||||
"index": "apps/angular/projection/src/index.html",
|
||||
"browser": "apps/angular/projection/src/main.ts",
|
||||
"polyfills": ["apps/angular/projection/src/polyfills.ts"],
|
||||
"tsConfig": "apps/angular/projection/tsconfig.app.json",
|
||||
"outputPath": "dist/apps/angular/1-projection",
|
||||
"index": "apps/angular/1-projection/src/index.html",
|
||||
"browser": "apps/angular/1-projection/src/main.ts",
|
||||
"polyfills": ["apps/angular/1-projection/src/polyfills.ts"],
|
||||
"tsConfig": "apps/angular/1-projection/tsconfig.app.json",
|
||||
"inlineStyleLanguage": "scss",
|
||||
"assets": [
|
||||
"apps/angular/projection/src/favicon.ico",
|
||||
"apps/angular/projection/src/assets"
|
||||
"apps/angular/1-projection/src/favicon.ico",
|
||||
"apps/angular/1-projection/src/assets"
|
||||
],
|
||||
"styles": ["apps/angular/projection/src/styles.scss"],
|
||||
"styles": ["apps/angular/1-projection/src/styles.scss"],
|
||||
"scripts": [],
|
||||
"allowedCommonJsDependencies": ["seedrandom"]
|
||||
},
|
||||
@@ -73,7 +73,7 @@
|
||||
"executor": "@nx/jest:jest",
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"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
|
||||
|
||||
```bash
|
||||
npx nx serve angular-anchor-scrolling
|
||||
npx nx serve angular-anchor-navigation
|
||||
```
|
||||
|
||||
### Documentation and Instruction
|
||||
@@ -1,9 +1,9 @@
|
||||
/* eslint-disable */
|
||||
export default {
|
||||
displayName: 'angular-anchor-scrolling',
|
||||
displayName: 'anchor-navigation-anchor-navigation',
|
||||
preset: '../../../jest.preset.js',
|
||||
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
||||
coverageDirectory: '../../../coverage/apps/angular/anchor-scrolling',
|
||||
coverageDirectory: '../../../coverage/apps/angular/21-anchor-navigation',
|
||||
transform: {
|
||||
'^.+\\.(ts|mjs|js|html)$': [
|
||||
'jest-preset-angular',
|
||||
@@ -1,25 +1,25 @@
|
||||
{
|
||||
"name": "angular-anchor-scrolling",
|
||||
"name": "angular-anchor-navigation",
|
||||
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
||||
"projectType": "application",
|
||||
"sourceRoot": "apps/angular/anchor-scrolling/src",
|
||||
"sourceRoot": "apps/angular/21-anchor-navigation/src",
|
||||
"prefix": "app",
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@angular-devkit/build-angular:browser",
|
||||
"outputs": ["{options.outputPath}"],
|
||||
"options": {
|
||||
"outputPath": "dist/apps/angular/anchor-scrolling",
|
||||
"index": "apps/angular/anchor-scrolling/src/index.html",
|
||||
"main": "apps/angular/anchor-scrolling/src/main.ts",
|
||||
"outputPath": "dist/apps/angular/21-anchor-navigation",
|
||||
"index": "apps/angular/21-anchor-navigation/src/index.html",
|
||||
"main": "apps/angular/21-anchor-navigation/src/main.ts",
|
||||
"polyfills": ["zone.js"],
|
||||
"tsConfig": "apps/angular/anchor-scrolling/tsconfig.app.json",
|
||||
"tsConfig": "apps/angular/21-anchor-navigation/tsconfig.app.json",
|
||||
"inlineStyleLanguage": "scss",
|
||||
"assets": [
|
||||
"apps/angular/anchor-scrolling/src/favicon.ico",
|
||||
"apps/angular/anchor-scrolling/src/assets"
|
||||
"apps/angular/21-anchor-navigation/src/favicon.ico",
|
||||
"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": []
|
||||
},
|
||||
"configurations": {
|
||||
@@ -53,10 +53,10 @@
|
||||
"executor": "@angular-devkit/build-angular:dev-server",
|
||||
"configurations": {
|
||||
"production": {
|
||||
"buildTarget": "angular-anchor-scrolling:build:production"
|
||||
"buildTarget": "angular-anchor-navigation:build:production"
|
||||
},
|
||||
"development": {
|
||||
"buildTarget": "angular-anchor-scrolling:build:development"
|
||||
"buildTarget": "angular-anchor-navigation:build:development"
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "development"
|
||||
@@ -64,7 +64,7 @@
|
||||
"extract-i18n": {
|
||||
"executor": "@angular-devkit/build-angular:extract-i18n",
|
||||
"options": {
|
||||
"buildTarget": "angular-anchor-scrolling:build"
|
||||
"buildTarget": "angular-anchor-navigation:build"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
@@ -74,7 +74,7 @@
|
||||
"executor": "@nx/jest:jest",
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"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 |