mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 21:03:03 -05:00
feat(move): move lib to test
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": ["../../.eslintrc.json"],
|
||||
"extends": ["../../../.eslintrc.json"],
|
||||
"ignorePatterns": ["!**/*"],
|
||||
"overrides": [
|
||||
{
|
||||
@@ -5,7 +5,7 @@
|
||||
### Run Application
|
||||
|
||||
```bash
|
||||
npx nx serve testing-checkbox
|
||||
npx nx serve test-checkbox
|
||||
```
|
||||
|
||||
### Documentation and Instruction
|
||||
@@ -1,9 +1,9 @@
|
||||
/* eslint-disable */
|
||||
export default {
|
||||
displayName: 'testing-checkbox',
|
||||
preset: '../../jest.preset.js',
|
||||
displayName: 'test-checkbox',
|
||||
preset: '../../../jest.preset.js',
|
||||
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
||||
coverageDirectory: '../../coverage/apps/testing-checkbox',
|
||||
coverageDirectory: '../../../coverage/apps/test/checkbox',
|
||||
transform: {
|
||||
'^.+\\.(ts|mjs|js|html)$': [
|
||||
'jest-preset-angular',
|
||||
@@ -1,25 +1,25 @@
|
||||
{
|
||||
"name": "testing-checkbox",
|
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||
"name": "test-checkbox",
|
||||
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
||||
"projectType": "application",
|
||||
"prefix": "app",
|
||||
"sourceRoot": "apps/testing-checkbox/src",
|
||||
"sourceRoot": "apps/test/checkbox/src",
|
||||
"tags": [],
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@angular-devkit/build-angular:browser",
|
||||
"outputs": ["{options.outputPath}"],
|
||||
"options": {
|
||||
"outputPath": "dist/apps/testing-checkbox",
|
||||
"index": "apps/testing-checkbox/src/index.html",
|
||||
"main": "apps/testing-checkbox/src/main.ts",
|
||||
"outputPath": "dist/apps/test/checkbox",
|
||||
"index": "apps/test/checkbox/src/index.html",
|
||||
"main": "apps/test/checkbox/src/main.ts",
|
||||
"polyfills": ["zone.js"],
|
||||
"tsConfig": "apps/testing-checkbox/tsconfig.app.json",
|
||||
"tsConfig": "apps/test/checkbox/tsconfig.app.json",
|
||||
"assets": [
|
||||
"apps/testing-checkbox/src/favicon.ico",
|
||||
"apps/testing-checkbox/src/assets"
|
||||
"apps/test/checkbox/src/favicon.ico",
|
||||
"apps/test/checkbox/src/assets"
|
||||
],
|
||||
"styles": ["apps/testing-checkbox/src/styles.scss"],
|
||||
"styles": ["apps/test/checkbox/src/styles.scss"],
|
||||
"scripts": []
|
||||
},
|
||||
"configurations": {
|
||||
@@ -53,10 +53,10 @@
|
||||
"executor": "@angular-devkit/build-angular:dev-server",
|
||||
"configurations": {
|
||||
"production": {
|
||||
"browserTarget": "testing-checkbox:build:production"
|
||||
"browserTarget": "test-checkbox:build:production"
|
||||
},
|
||||
"development": {
|
||||
"browserTarget": "testing-checkbox:build:development"
|
||||
"browserTarget": "test-checkbox:build:development"
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "development"
|
||||
@@ -64,7 +64,7 @@
|
||||
"extract-i18n": {
|
||||
"executor": "@angular-devkit/build-angular:extract-i18n",
|
||||
"options": {
|
||||
"browserTarget": "testing-checkbox:build"
|
||||
"browserTarget": "test-checkbox:build"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
@@ -72,8 +72,8 @@
|
||||
"outputs": ["{options.outputFile}"],
|
||||
"options": {
|
||||
"lintFilePatterns": [
|
||||
"apps/testing-checkbox/**/*.ts",
|
||||
"apps/testing-checkbox/**/*.html"
|
||||
"apps/test/checkbox/**/*.ts",
|
||||
"apps/test/checkbox/**/*.html"
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -81,7 +81,7 @@
|
||||
"executor": "@nx/jest:jest",
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"options": {
|
||||
"jestConfig": "apps/testing-checkbox/jest.config.ts",
|
||||
"jestConfig": "apps/test/checkbox/jest.config.ts",
|
||||
"passWithNoTests": true
|
||||
},
|
||||
"configurations": {
|
||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../dist/out-tsc",
|
||||
"outDir": "../../../dist/out-tsc",
|
||||
"types": []
|
||||
},
|
||||
"files": ["src/main.ts"],
|
||||
@@ -22,7 +22,7 @@
|
||||
"path": "./tsconfig.editor.json"
|
||||
}
|
||||
],
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"angularCompilerOptions": {
|
||||
"enableI18nLegacyMessageIdFormat": false,
|
||||
"strictInjectionParameters": true,
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../dist/out-tsc",
|
||||
"outDir": "../../../dist/out-tsc",
|
||||
"module": "commonjs",
|
||||
"types": ["jest", "node", "@testing-library/jest-dom"]
|
||||
},
|
||||
Reference in New Issue
Block a user