feat: initialize Angular application with basic structure and configuration

- Add app configuration in app.config.ts
- Create main application component with routing support
- Implement basic HTML structure in app.html
- Add global styles and Tailwind CSS integration
- Set up routing with an empty routes array
- Create unit tests for the app component
- Add TypeScript configuration files for the application and tests
- Include index.html as the entry point for the application
- Bootstrap the application in main.ts
This commit is contained in:
2026-02-03 11:04:52 +01:00
parent b27c9a1e2f
commit 1dd564119e
23 changed files with 9961 additions and 0 deletions

46
package.json Normal file
View File

@@ -0,0 +1,46 @@
{
"name": "myfirstangularapp",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test"
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"overrides": [
{
"files": "*.html",
"options": {
"parser": "angular"
}
}
]
},
"private": true,
"packageManager": "npm@11.7.0",
"dependencies": {
"@angular/common": "^21.1.0",
"@angular/compiler": "^21.1.0",
"@angular/core": "^21.1.0",
"@angular/forms": "^21.1.0",
"@angular/platform-browser": "^21.1.0",
"@angular/router": "^21.1.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0"
},
"devDependencies": {
"@angular/build": "^21.1.2",
"@angular/cli": "^21.1.2",
"@angular/compiler-cli": "^21.1.0",
"@tailwindcss/postcss": "^4.1.12",
"jsdom": "^27.1.0",
"postcss": "^8.5.3",
"tailwindcss": "^4.1.12",
"typescript": "~5.9.2",
"vitest": "^4.0.8"
}
}