
* Updated to Angular 14 * Fixed all new tslint issues * Fixed a routing bug for Angular 14 * Updated ngBootstrap and bootstrap. Fixed side nav item not highlighting on route change * Refactored how default dark styles are done * Migrated everything to a typed form * Bump versions by dotnet-bump-version. * Fixed a regression where click areas need an explicit z-index * Cleanup some css * Bumped docnet back to the alpha which has our downstream fixes * Updated dependencies to later versions. Mainly just NetVips with some archive fixes. * Fixed broken unit tests (due to some fixes in SharpCompress that changed byte arrays, but not visible quality)
154 lines
No EOL
4.5 KiB
JSON
154 lines
No EOL
4.5 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"cli": {
|
|
"analytics": "6b518972-3ce0-486d-bc55-740bf8308c77"
|
|
},
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"kavita-webui": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
},
|
|
"@schematics/angular:application": {
|
|
"strict": true
|
|
}
|
|
},
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "tsconfig.app.json",
|
|
"assets": [
|
|
"src/assets",
|
|
"src/site.webmanifest",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/ngx-extended-pdf-viewer/assets/",
|
|
"output": "/assets/"
|
|
}
|
|
],
|
|
"sourceMap": {
|
|
"hidden": false,
|
|
"scripts": true,
|
|
"styles": true
|
|
},
|
|
"styles": [
|
|
"src/styles.scss",
|
|
"node_modules/@fortawesome/fontawesome-free/css/all.min.css"
|
|
],
|
|
"scripts": [
|
|
"node_modules/lazysizes/lazysizes.min.js",
|
|
"node_modules/lazysizes/plugins/rias/ls.rias.min.js",
|
|
"node_modules/lazysizes/plugins/attrchange/ls.attrchange.min.js"
|
|
],
|
|
"vendorChunk": true,
|
|
"extractLicenses": false,
|
|
"buildOptimizer": false,
|
|
"optimization": false,
|
|
"namedChunks": true
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "1mb",
|
|
"maximumError": "2mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "2kb",
|
|
"maximumError": "5kb"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultConfiguration": ""
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"sslKey": "./ssl/server.key",
|
|
"sslCert": "./ssl/server.crt",
|
|
"ssl": false,
|
|
"browserTarget": "kavita-webui:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "kavita-webui:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "kavita-webui:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "src/test.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "tsconfig.spec.json",
|
|
"karmaConfig": "karma.conf.js",
|
|
"assets": [
|
|
"src/assets",
|
|
"src/site.webmanifest"
|
|
],
|
|
"styles": [
|
|
"src/styles.scss"
|
|
],
|
|
"scripts": []
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": [
|
|
"tsconfig.app.json",
|
|
"tsconfig.spec.json",
|
|
"e2e/tsconfig.json"
|
|
],
|
|
"exclude": [
|
|
"**/node_modules/**"
|
|
]
|
|
}
|
|
},
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
"devServerTarget": "kavita-webui:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "kavita-webui:serve:production"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |