chore: add ng-bootstrap+icons, qrcode

This commit is contained in:
eneller
2026-02-28 00:27:44 +01:00
parent 40b020455e
commit 9f6c9b569c
6 changed files with 432 additions and 18 deletions

View File

@@ -30,8 +30,11 @@
}
],
"styles": [
"../node_modules/bootstrap/dist/css/bootstrap.min.css",
"../node_modules/bootstrap-icons/font/bootstrap-icons.min.css",
"src/styles.less"
]
],
"polyfills": ["@angular/localize/init"]
},
"configurations": {
"production": {

View File

@@ -17,6 +17,8 @@
"@angular/forms": "^21.2.0",
"@angular/platform-browser": "^21.2.0",
"@angular/router": "^21.2.0",
"@popperjs/core": "^2.11.8",
"bootstrap": "^5.3.8",
"rxjs": "~7.8.0",
"tslib": "^2.3.0"
},
@@ -24,10 +26,14 @@
"@angular/build": "^21.2.0",
"@angular/cli": "^21.2.0",
"@angular/compiler-cli": "^21.2.0",
"@angular/localize": "^21.2.0",
"@ng-bootstrap/ng-bootstrap": "^20.0.0",
"bootstrap-icons": "^1.13.1",
"jsdom": "^28.0.0",
"less": "^4.2.0",
"prettier": "^3.8.1",
"qrcode": "^1.5.4",
"typescript": "~5.9.2",
"vitest": "^4.0.8"
}
}
}

View File

@@ -1,6 +1,7 @@
/// <reference types="@angular/localize" />
import { bootstrapApplication } from '@angular/platform-browser';
import { appConfig } from './app/app.config';
import { App } from './app/app';
bootstrapApplication(App, appConfig)
.catch((err) => console.error(err));
bootstrapApplication(App, appConfig).catch((err) => console.error(err));

View File

@@ -4,12 +4,8 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./out-tsc/app",
"types": []
"types": ["@angular/localize"]
},
"include": [
"src/**/*.ts"
],
"exclude": [
"src/**/*.spec.ts"
]
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.spec.ts"]
}

View File

@@ -4,12 +4,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./out-tsc/spec",
"types": [
"vitest/globals"
]
"types": ["vitest/globals", "@angular/localize"]
},
"include": [
"src/**/*.d.ts",
"src/**/*.spec.ts"
]
"include": ["src/**/*.d.ts", "src/**/*.spec.ts"]
}