feat: add Angular E2E fixture

This commit is contained in:
eding 2026-09-14 23:29:13 +02:00
commit 7419be8df7
4 changed files with 56 additions and 0 deletions

21
angular.json Normal file
View file

@ -0,0 +1,21 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"projects": {
"maidn-e2e-angular": {
"projectType": "application",
"root": "",
"sourceRoot": "src",
"architect": {
"build": {
"builder": "@angular/build:application",
"options": {
"outputPath": "dist/maidn-e2e-angular",
"browser": "src/main.ts",
"index": "src/index.html"
}
}
}
}
}
}

20
package.json Normal file
View file

@ -0,0 +1,20 @@
{
"name": "maidn-e2e-angular",
"private": true,
"scripts": {
"build": "ng build"
},
"dependencies": {
"@angular/common": "^20.0.0",
"@angular/compiler": "^20.0.0",
"@angular/core": "^20.0.0",
"@angular/platform-browser": "^20.0.0",
"rxjs": "^7.8.0",
"zone.js": "^0.15.0"
},
"devDependencies": {
"@angular/cli": "^20.0.0",
"@angular/compiler-cli": "^20.0.0",
"typescript": "~5.8.0"
}
}

5
src/index.html Normal file
View file

@ -0,0 +1,5 @@
<!doctype html>
<html lang="en">
<head><meta charset="utf-8"><title>Maidn Angular E2E</title><base href="/"></head>
<body><app-root></app-root></body>
</html>

10
src/main.ts Normal file
View file

@ -0,0 +1,10 @@
import {Component} from '@angular/core';
import {bootstrapApplication} from '@angular/platform-browser';
@Component({
selector: 'app-root',
template: '<main>maidn-e2e-angular-ready</main>',
})
class AppComponent {}
bootstrapApplication(AppComponent);