refactor: move libs
@@ -5,7 +5,7 @@
|
||||
### Run Application
|
||||
|
||||
```bash
|
||||
npx nx serve testing-router-outlet
|
||||
npx nx serve testing-router
|
||||
```
|
||||
|
||||
### Documentation and Instruction
|
||||
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable */
|
||||
export default {
|
||||
displayName: 'testing-router-outlet',
|
||||
displayName: 'testing-router',
|
||||
preset: '../../../jest.preset.js',
|
||||
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
||||
globals: {},
|
||||
@@ -1,25 +1,25 @@
|
||||
{
|
||||
"name": "testing-nested",
|
||||
"name": "testing-router",
|
||||
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
||||
"projectType": "application",
|
||||
"sourceRoot": "apps/testing/nested/src",
|
||||
"sourceRoot": "apps/testing/17-router/src",
|
||||
"prefix": "app",
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@angular-devkit/build-angular:browser",
|
||||
"outputs": ["{options.outputPath}"],
|
||||
"options": {
|
||||
"outputPath": "dist/apps/testing/nested",
|
||||
"index": "apps/testing/nested/src/index.html",
|
||||
"main": "apps/testing/nested/src/main.ts",
|
||||
"outputPath": "dist/apps/testing/17-router",
|
||||
"index": "apps/testing/17-router/src/index.html",
|
||||
"main": "apps/testing/17-router/src/main.ts",
|
||||
"polyfills": ["zone.js"],
|
||||
"tsConfig": "apps/testing/nested/tsconfig.app.json",
|
||||
"tsConfig": "apps/testing/17-router/tsconfig.app.json",
|
||||
"inlineStyleLanguage": "scss",
|
||||
"assets": [
|
||||
"apps/testing/nested/src/favicon.ico",
|
||||
"apps/testing/nested/src/assets"
|
||||
"apps/testing/17-router/src/favicon.ico",
|
||||
"apps/testing/17-router/src/assets"
|
||||
],
|
||||
"styles": ["apps/testing/nested/src/styles.scss"],
|
||||
"styles": ["apps/testing/17-router/src/styles.scss"],
|
||||
"scripts": []
|
||||
},
|
||||
"configurations": {
|
||||
@@ -53,10 +53,10 @@
|
||||
"executor": "@angular-devkit/build-angular:dev-server",
|
||||
"configurations": {
|
||||
"production": {
|
||||
"buildTarget": "testing-nested:build:production"
|
||||
"buildTarget": "testing-router:build:production"
|
||||
},
|
||||
"development": {
|
||||
"buildTarget": "testing-nested:build:development"
|
||||
"buildTarget": "testing-router:build:development"
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "development"
|
||||
@@ -64,7 +64,7 @@
|
||||
"extract-i18n": {
|
||||
"executor": "@angular-devkit/build-angular:extract-i18n",
|
||||
"options": {
|
||||
"buildTarget": "testing-nested:build"
|
||||
"buildTarget": "testing-router:build"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
@@ -74,16 +74,16 @@
|
||||
"executor": "@nx/jest:jest",
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"options": {
|
||||
"jestConfig": "apps/testing/nested/jest.config.ts"
|
||||
"jestConfig": "apps/testing/17-router/jest.config.ts"
|
||||
}
|
||||
},
|
||||
"component-test": {
|
||||
"executor": "@nx/cypress:cypress",
|
||||
"options": {
|
||||
"cypressConfig": "apps/testing/nested/cypress.config.ts",
|
||||
"cypressConfig": "apps/testing/17-router/cypress.config.ts",
|
||||
"testingType": "component",
|
||||
"skipServe": true,
|
||||
"devServerTarget": "testing-nested:build"
|
||||
"devServerTarget": "testing-router:build"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@@ -22,7 +22,7 @@
|
||||
"path": "./tsconfig.editor.json"
|
||||
},
|
||||
{
|
||||
"path": "./cypress/tsconfig.json"
|
||||
"path": "./cypress/tsconfig.base.json"
|
||||
}
|
||||
],
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
@@ -5,7 +5,7 @@
|
||||
### Run Application
|
||||
|
||||
```bash
|
||||
npx nx serve testing-nested
|
||||
npx nx serve testing-nested-components
|
||||
```
|
||||
|
||||
### Documentation and Instruction
|
||||
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable */
|
||||
export default {
|
||||
displayName: 'testing-nested',
|
||||
displayName: 'testing-nested-components',
|
||||
preset: '../../../jest.preset.js',
|
||||
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
||||
transform: {
|
||||
@@ -1,25 +1,25 @@
|
||||
{
|
||||
"name": "testing-router-outlet",
|
||||
"name": "testing-nested-components",
|
||||
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
||||
"projectType": "application",
|
||||
"sourceRoot": "apps/testing/router-outlet/src",
|
||||
"sourceRoot": "apps/testing/18-nested-components/src",
|
||||
"prefix": "app",
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@angular-devkit/build-angular:browser",
|
||||
"outputs": ["{options.outputPath}"],
|
||||
"options": {
|
||||
"outputPath": "dist/apps/testing/router-outlet",
|
||||
"index": "apps/testing/router-outlet/src/index.html",
|
||||
"main": "apps/testing/router-outlet/src/main.ts",
|
||||
"outputPath": "dist/apps/testing/18-nested-components",
|
||||
"index": "apps/testing/18-nested-components/src/index.html",
|
||||
"main": "apps/testing/18-nested-components/src/main.ts",
|
||||
"polyfills": ["zone.js"],
|
||||
"tsConfig": "apps/testing/router-outlet/tsconfig.app.json",
|
||||
"tsConfig": "apps/testing/18-nested-components/tsconfig.app.json",
|
||||
"inlineStyleLanguage": "scss",
|
||||
"assets": [
|
||||
"apps/testing/router-outlet/src/favicon.ico",
|
||||
"apps/testing/router-outlet/src/assets"
|
||||
"apps/testing/18-nested-components/src/favicon.ico",
|
||||
"apps/testing/18-nested-components/src/assets"
|
||||
],
|
||||
"styles": ["apps/testing/router-outlet/src/styles.scss"],
|
||||
"styles": ["apps/testing/18-nested-components/src/styles.scss"],
|
||||
"scripts": []
|
||||
},
|
||||
"configurations": {
|
||||
@@ -53,10 +53,10 @@
|
||||
"executor": "@angular-devkit/build-angular:dev-server",
|
||||
"configurations": {
|
||||
"production": {
|
||||
"buildTarget": "testing-router-outlet:build:production"
|
||||
"buildTarget": "testing-nested-components:build:production"
|
||||
},
|
||||
"development": {
|
||||
"buildTarget": "testing-router-outlet:build:development"
|
||||
"buildTarget": "testing-nested-components:build:development"
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "development"
|
||||
@@ -64,7 +64,7 @@
|
||||
"extract-i18n": {
|
||||
"executor": "@angular-devkit/build-angular:extract-i18n",
|
||||
"options": {
|
||||
"buildTarget": "testing-router-outlet:build"
|
||||
"buildTarget": "testing-nested-components:build"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
@@ -74,16 +74,16 @@
|
||||
"executor": "@nx/jest:jest",
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"options": {
|
||||
"jestConfig": "apps/testing/router-outlet/jest.config.ts"
|
||||
"jestConfig": "apps/testing/18-nested-components/jest.config.ts"
|
||||
}
|
||||
},
|
||||
"component-test": {
|
||||
"executor": "@nx/cypress:cypress",
|
||||
"options": {
|
||||
"cypressConfig": "apps/testing/router-outlet/cypress.config.ts",
|
||||
"cypressConfig": "apps/testing/18-nested-components/cypress.config.ts",
|
||||
"testingType": "component",
|
||||
"skipServe": true,
|
||||
"devServerTarget": "testing-router-outlet:build"
|
||||
"devServerTarget": "testing-nested-components:build"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@@ -22,7 +22,7 @@
|
||||
"path": "./tsconfig.editor.json"
|
||||
},
|
||||
{
|
||||
"path": "./cypress/tsconfig.json"
|
||||
"path": "./cypress/tsconfig.base.json"
|
||||
}
|
||||
],
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
@@ -2,24 +2,24 @@
|
||||
"name": "testing-input-output",
|
||||
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
||||
"projectType": "application",
|
||||
"sourceRoot": "apps/testing/input-output/src",
|
||||
"sourceRoot": "apps/testing/19-input-output/src",
|
||||
"prefix": "app",
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@angular-devkit/build-angular:browser",
|
||||
"outputs": ["{options.outputPath}"],
|
||||
"options": {
|
||||
"outputPath": "dist/apps/testing/input-output",
|
||||
"index": "apps/testing/input-output/src/index.html",
|
||||
"main": "apps/testing/input-output/src/main.ts",
|
||||
"outputPath": "dist/apps/testing/19-input-output",
|
||||
"index": "apps/testing/19-input-output/src/index.html",
|
||||
"main": "apps/testing/19-input-output/src/main.ts",
|
||||
"polyfills": ["zone.js"],
|
||||
"tsConfig": "apps/testing/input-output/tsconfig.app.json",
|
||||
"tsConfig": "apps/testing/19-input-output/tsconfig.app.json",
|
||||
"inlineStyleLanguage": "scss",
|
||||
"assets": [
|
||||
"apps/testing/input-output/src/favicon.ico",
|
||||
"apps/testing/input-output/src/assets"
|
||||
"apps/testing/19-input-output/src/favicon.ico",
|
||||
"apps/testing/19-input-output/src/assets"
|
||||
],
|
||||
"styles": ["apps/testing/input-output/src/styles.scss"],
|
||||
"styles": ["apps/testing/19-input-output/src/styles.scss"],
|
||||
"scripts": []
|
||||
},
|
||||
"configurations": {
|
||||
@@ -74,13 +74,13 @@
|
||||
"executor": "@nx/jest:jest",
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"options": {
|
||||
"jestConfig": "apps/testing/input-output/jest.config.ts"
|
||||
"jestConfig": "apps/testing/19-input-output/jest.config.ts"
|
||||
}
|
||||
},
|
||||
"component-test": {
|
||||
"executor": "@nx/cypress:cypress",
|
||||
"options": {
|
||||
"cypressConfig": "apps/testing/input-output/cypress.config.ts",
|
||||
"cypressConfig": "apps/testing/19-input-output/cypress.config.ts",
|
||||
"testingType": "component",
|
||||
"skipServe": true,
|
||||
"devServerTarget": "testing-input-output:build"
|
||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@@ -22,7 +22,7 @@
|
||||
"path": "./tsconfig.editor.json"
|
||||
},
|
||||
{
|
||||
"path": "./cypress/tsconfig.json"
|
||||
"path": "./cypress/tsconfig.base.json"
|
||||
}
|
||||
],
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
@@ -2,25 +2,25 @@
|
||||
"name": "testing-modal",
|
||||
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
||||
"projectType": "application",
|
||||
"sourceRoot": "apps/testing/modal/src",
|
||||
"sourceRoot": "apps/testing/20-modal/src",
|
||||
"prefix": "app",
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@angular-devkit/build-angular:browser",
|
||||
"outputs": ["{options.outputPath}"],
|
||||
"options": {
|
||||
"outputPath": "dist/apps/testing/modal",
|
||||
"index": "apps/testing/modal/src/index.html",
|
||||
"main": "apps/testing/modal/src/main.ts",
|
||||
"outputPath": "dist/apps/testing/20-modal",
|
||||
"index": "apps/testing/20-modal/src/index.html",
|
||||
"main": "apps/testing/20-modal/src/main.ts",
|
||||
"polyfills": ["zone.js"],
|
||||
"tsConfig": "apps/testing/modal/tsconfig.app.json",
|
||||
"tsConfig": "apps/testing/20-modal/tsconfig.app.json",
|
||||
"inlineStyleLanguage": "scss",
|
||||
"assets": [
|
||||
"apps/testing/modal/src/favicon.ico",
|
||||
"apps/testing/modal/src/assets"
|
||||
"apps/testing/20-modal/src/favicon.ico",
|
||||
"apps/testing/20-modal/src/assets"
|
||||
],
|
||||
"styles": [
|
||||
"apps/testing/modal/src/styles.scss",
|
||||
"apps/testing/20-modal/src/styles.scss",
|
||||
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css"
|
||||
],
|
||||
"scripts": []
|
||||
@@ -77,13 +77,13 @@
|
||||
"executor": "@nx/jest:jest",
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"options": {
|
||||
"jestConfig": "apps/testing/modal/jest.config.ts"
|
||||
"jestConfig": "apps/testing/20-modal/jest.config.ts"
|
||||
}
|
||||
},
|
||||
"component-test": {
|
||||
"executor": "@nx/cypress:cypress",
|
||||
"options": {
|
||||
"cypressConfig": "apps/testing/modal/cypress.config.ts",
|
||||
"cypressConfig": "apps/testing/20-modal/cypress.config.ts",
|
||||
"testingType": "component",
|
||||
"skipServe": true,
|
||||
"devServerTarget": "testing-modal:build"
|
||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |