From 7419be8df7d6fec0a05025fe50382faabcec7e19 Mon Sep 17 00:00:00 2001 From: eding Date: Mon, 14 Sep 2026 23:29:13 +0200 Subject: [PATCH] feat: add Angular E2E fixture --- angular.json | 21 +++++++++++++++++++++ package.json | 20 ++++++++++++++++++++ src/index.html | 5 +++++ src/main.ts | 10 ++++++++++ 4 files changed, 56 insertions(+) create mode 100644 angular.json create mode 100644 package.json create mode 100644 src/index.html create mode 100644 src/main.ts diff --git a/angular.json b/angular.json new file mode 100644 index 0000000..c4083a4 --- /dev/null +++ b/angular.json @@ -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" + } + } + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..3864717 --- /dev/null +++ b/package.json @@ -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" + } +} diff --git a/src/index.html b/src/index.html new file mode 100644 index 0000000..c385fb7 --- /dev/null +++ b/src/index.html @@ -0,0 +1,5 @@ + + + Maidn Angular E2E + + diff --git a/src/main.ts b/src/main.ts new file mode 100644 index 0000000..94925ae --- /dev/null +++ b/src/main.ts @@ -0,0 +1,10 @@ +import {Component} from '@angular/core'; +import {bootstrapApplication} from '@angular/platform-browser'; + +@Component({ + selector: 'app-root', + template: '
maidn-e2e-angular-ready
', +}) +class AppComponent {} + +bootstrapApplication(AppComponent);