feat(doc): move scroll-vd

This commit is contained in:
thomas
2023-10-18 09:49:19 +02:00
parent 0fae068682
commit a2d6f2471d
16 changed files with 26 additions and 26 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 scroll-cd
npx nx serve performance-scroll-cd
```
### Documentation and Instruction
Challenge documentation is [here](https://angular-challenges.vercel.app/challenges/angular-performance/12-scroll-cd/).
Challenge documentation is [here](https://angular-challenges.vercel.app/challenges/angular-performance/12-performance-scroll-cd/).

View File

@@ -1,10 +1,10 @@
/* eslint-disable */
export default {
displayName: 'scroll-cd',
preset: '../../jest.preset.js',
displayName: 'performance-scroll-cd',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {},
coverageDirectory: '../../coverage/apps/scroll-cd',
coverageDirectory: '../../../coverage/apps/performance/scroll-cd',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
'jest-preset-angular',

View File

@@ -1,25 +1,25 @@
{
"name": "scroll-cd",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"name": "performance-scroll-cd",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"sourceRoot": "apps/scroll-cd/src",
"sourceRoot": "apps/performance/scroll-cd/src",
"prefix": "app",
"targets": {
"build": {
"executor": "@angular-devkit/build-angular:browser",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/apps/scroll-cd",
"index": "apps/scroll-cd/src/index.html",
"main": "apps/scroll-cd/src/main.ts",
"outputPath": "dist/apps/performance/scroll-cd",
"index": "apps/performance/scroll-cd/src/index.html",
"main": "apps/performance/scroll-cd/src/main.ts",
"polyfills": ["zone.js"],
"tsConfig": "apps/scroll-cd/tsconfig.app.json",
"tsConfig": "apps/performance/scroll-cd/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"apps/scroll-cd/src/favicon.ico",
"apps/scroll-cd/src/assets"
"apps/performance/scroll-cd/src/favicon.ico",
"apps/performance/scroll-cd/src/assets"
],
"styles": ["apps/scroll-cd/src/styles.scss"],
"styles": ["apps/performance/scroll-cd/src/styles.scss"],
"scripts": []
},
"configurations": {
@@ -53,10 +53,10 @@
"executor": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "scroll-cd:build:production"
"browserTarget": "performance-scroll-cd:build:production"
},
"development": {
"browserTarget": "scroll-cd:build:development"
"browserTarget": "performance-scroll-cd:build:development"
}
},
"defaultConfiguration": "development"
@@ -64,7 +64,7 @@
"extract-i18n": {
"executor": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "scroll-cd:build"
"browserTarget": "performance-scroll-cd:build"
}
},
"lint": {
@@ -72,8 +72,8 @@
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"apps/scroll-cd/**/*.ts",
"apps/scroll-cd/**/*.html"
"apps/performance/scroll-cd/**/*.ts",
"apps/performance/scroll-cd/**/*.html"
]
}
},
@@ -81,7 +81,7 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/scroll-cd/jest.config.ts",
"jestConfig": "apps/performance/scroll-cd/jest.config.ts",
"passWithNoTests": true
}
}

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

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

View File

@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"outDir": "../../../dist/out-tsc",
"module": "commonjs",
"types": ["jest", "node"]
},