Skip to content

Commit beae215

Browse files
committed
feat(doc): move catcherrro
1 parent 7cf675d commit beae215

20 files changed

+50
-50
lines changed

apps/rxjs-catch-error/src/app/app.component.css

Lines changed: 0 additions & 32 deletions
This file was deleted.

apps/rxjs-catch-error/.eslintrc.json renamed to apps/rxjs/catch-error/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": ["../../.eslintrc.json"],
2+
"extends": ["../../../.eslintrc.json"],
33
"ignorePatterns": ["!**/*"],
44
"overrides": [
55
{
File renamed without changes.

apps/rxjs-catch-error/jest.config.ts renamed to apps/rxjs/catch-error/jest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* eslint-disable */
22
export default {
33
displayName: 'rxjs-catch-error',
4-
preset: '../../jest.preset.js',
4+
preset: '../../../jest.preset.js',
55
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
6-
coverageDirectory: '../../coverage/apps/rxjs-catch-error',
6+
coverageDirectory: '../../../coverage/apps/rxjs/catch-error',
77
transform: {
88
'^.+\\.(ts|mjs|js|html)$': [
99
'jest-preset-angular',

apps/rxjs-catch-error/project.json renamed to apps/rxjs/catch-error/project.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
{
22
"name": "rxjs-catch-error",
3-
"$schema": "../../node_modules/nx/schemas/project-schema.json",
3+
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
44
"projectType": "application",
55
"prefix": "app",
6-
"sourceRoot": "apps/rxjs-catch-error/src",
6+
"sourceRoot": "apps/rxjs/catch-error/src",
77
"tags": [],
88
"targets": {
99
"build": {
1010
"executor": "@angular-devkit/build-angular:browser",
1111
"outputs": ["{options.outputPath}"],
1212
"options": {
13-
"outputPath": "dist/apps/rxjs-catch-error",
14-
"index": "apps/rxjs-catch-error/src/index.html",
15-
"main": "apps/rxjs-catch-error/src/main.ts",
13+
"outputPath": "dist/apps/rxjs/catch-error",
14+
"index": "apps/rxjs/catch-error/src/index.html",
15+
"main": "apps/rxjs/catch-error/src/main.ts",
1616
"polyfills": ["zone.js"],
17-
"tsConfig": "apps/rxjs-catch-error/tsconfig.app.json",
17+
"tsConfig": "apps/rxjs/catch-error/tsconfig.app.json",
1818
"assets": [
19-
"apps/rxjs-catch-error/src/favicon.ico",
20-
"apps/rxjs-catch-error/src/assets"
19+
"apps/rxjs/catch-error/src/favicon.ico",
20+
"apps/rxjs/catch-error/src/assets"
2121
],
22-
"styles": ["apps/rxjs-catch-error/src/styles.scss"],
22+
"styles": ["apps/rxjs/catch-error/src/styles.scss"],
2323
"scripts": []
2424
},
2525
"configurations": {
@@ -72,16 +72,16 @@
7272
"outputs": ["{options.outputFile}"],
7373
"options": {
7474
"lintFilePatterns": [
75-
"apps/rxjs-catch-error/**/*.ts",
76-
"apps/rxjs-catch-error/**/*.html"
75+
"apps/rxjs/catch-error/**/*.ts",
76+
"apps/rxjs/catch-error/**/*.html"
7777
]
7878
}
7979
},
8080
"test": {
8181
"executor": "@nx/jest:jest",
8282
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
8383
"options": {
84-
"jestConfig": "apps/rxjs-catch-error/jest.config.ts",
84+
"jestConfig": "apps/rxjs/catch-error/jest.config.ts",
8585
"passWithNoTests": true
8686
},
8787
"configurations": {
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
body {
2+
font-family: Arial, sans-serif;
3+
display: flex;
4+
align-items: center;
5+
justify-content: center;
6+
height: 100vh;
7+
margin: 0;
8+
}
9+
.form-container {
10+
text-align: center;
11+
}
12+
input {
13+
padding: 8px;
14+
margin-right: 8px;
15+
border: 1px solid #ccc;
16+
border-radius: 4px;
17+
}
18+
button {
19+
padding: 8px 16px;
20+
background-color: #007bff;
21+
color: #fff;
22+
border: none;
23+
border-radius: 4px;
24+
cursor: pointer;
25+
}
26+
.response {
27+
margin-left: 25%;
28+
margin-top: 2%;
29+
width: 50%;
30+
text-align: center;
31+
border: 1px solid #ccc;
32+
}

0 commit comments

Comments
 (0)