Compare commits
4 Commits
54c7e09687
...
b3f4317129
Author | SHA1 | Date | |
---|---|---|---|
b3f4317129 | |||
f5673e0c24 | |||
4f1c0b6e2e | |||
e50c5686db |
@ -1,30 +0,0 @@
|
|||||||
name: Build
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
pull_request:
|
|
||||||
types: [opened, synchronize, reopened]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Build and analyze
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
|
||||||
- uses: sonarsource/sonarqube-scan-action@master
|
|
||||||
env:
|
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
||||||
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
|
||||||
# If you wish to fail your job when the Quality Gate is red, uncomment the
|
|
||||||
# following lines. This would typically be used to fail a deployment.
|
|
||||||
# We do not recommend to use this in a pull request. Prefer using pull request
|
|
||||||
# decoration instead.
|
|
||||||
# - uses: sonarsource/sonarqube-quality-gate-action@master
|
|
||||||
# timeout-minutes: 5
|
|
||||||
# env:
|
|
||||||
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
8085
package-lock.json
generated
8085
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -28,7 +28,7 @@
|
|||||||
"@angular/compiler-cli": "^18.2.3",
|
"@angular/compiler-cli": "^18.2.3",
|
||||||
"@types/jasmine": "~5.1.0",
|
"@types/jasmine": "~5.1.0",
|
||||||
"autoprefixer": "^10.4.20",
|
"autoprefixer": "^10.4.20",
|
||||||
"jasmine-core": "~5.1.0",
|
"jasmine-core": "~5.4.0",
|
||||||
"karma": "~6.4.0",
|
"karma": "~6.4.0",
|
||||||
"karma-chrome-launcher": "~3.2.0",
|
"karma-chrome-launcher": "~3.2.0",
|
||||||
"karma-coverage": "~2.2.0",
|
"karma-coverage": "~2.2.0",
|
||||||
@ -36,6 +36,6 @@
|
|||||||
"karma-jasmine-html-reporter": "~2.1.0",
|
"karma-jasmine-html-reporter": "~2.1.0",
|
||||||
"postcss": "^8.4.41",
|
"postcss": "^8.4.41",
|
||||||
"tailwindcss": "^3.4.10",
|
"tailwindcss": "^3.4.10",
|
||||||
"typescript": "~5.5.2"
|
"typescript": "~5.6.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,2 @@
|
|||||||
<h1>{{'hello' | uppercase | text}}</h1>
|
<h1>{{'hello' | uppercase | text}}</h1>
|
||||||
<app-search [(input)]="search"></app-search>
|
<app-search [(input)]="search"></app-search>
|
||||||
@for (let hotel of foundHotels | async) {
|
|
||||||
@if (search === "") {
|
|
||||||
<app-hotel-item [hotel]="hotel"></app-hotel-item>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
@ -5,7 +5,7 @@ import { AsyncPipe, UpperCasePipe } from '@angular/common';
|
|||||||
import { TextPipe } from '../text.pipe';
|
import { TextPipe } from '../text.pipe';
|
||||||
import { HotelService } from './Parent/services/hotel.service';
|
import { HotelService } from './Parent/services/hotel.service';
|
||||||
import { inject } from '@angular/core';
|
import { inject } from '@angular/core';
|
||||||
import { filter, map, Observable, range } from 'rxjs';
|
import { filter, from, map, Observable, range, tap, toArray } from 'rxjs';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-root',
|
selector: 'app-root',
|
||||||
@ -20,20 +20,18 @@ export class AppComponent {
|
|||||||
public hotelService: HotelService = inject(HotelService);
|
public hotelService: HotelService = inject(HotelService);
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
const stream: Observable<number> = range(1, 10);
|
const stream: Observable<number | string> = from([5, 1, 2, 12, 5, 14, 17, 5, "testing"]);
|
||||||
|
|
||||||
stream.pipe(
|
stream.pipe(
|
||||||
filter((value: number) => value % 2 === 1),
|
filter((value) => typeof value === "number"),
|
||||||
).subscribe((value) => console.log(value));
|
tap((value) => console.log("Zahl:" + value)),
|
||||||
console.log('---')
|
filter((value: number) => value % 2 === 0),
|
||||||
|
tap((value) => console.log("Gerade Zahl: " + value)),
|
||||||
stream.pipe(
|
toArray(),
|
||||||
map((value: number) => value * 2)
|
).subscribe(console.log);
|
||||||
).subscribe((value) => console.log(value));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public test() {
|
public test() {
|
||||||
8
|
|
||||||
console.log(this.search);
|
console.log(this.search);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user