Skip to content

Commit

Permalink
feat: update to Angular 18
Browse files Browse the repository at this point in the history
  • Loading branch information
jrassa committed Sep 13, 2024
1 parent 99f1712 commit a70d1c9
Show file tree
Hide file tree
Showing 26 changed files with 3,471 additions and 4,439 deletions.
49 changes: 19 additions & 30 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,31 +27,29 @@
"build": {
"builder": "@angular-devkit/build-angular:application",
"options": {
"allowedCommonJsDependencies": [
"lodash",
"socket.io-client"
],
"outputPath": {
"base": "dist/ngx-starter"
},
"outputPath": "dist/ngx-starter",
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": [
"@angular/localize/init",
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
{
"glob": "**/*",
"input": "public"
}
],
"styles": [
"node_modules/@fortawesome/fontawesome-free/css/all.css",
"node_modules/@fortawesome/fontawesome-free/css/v4-shims.css",
"node_modules/roboto-fontface/css/roboto/roboto-fontface.css",
"src/styles.scss"
],
"scripts": [],
"browser": "src/main.ts",
"allowedCommonJsDependencies": [
"lodash",
"socket.io-client"
],
"stylePreprocessorOptions": {
"includePaths": [
"."
Expand All @@ -68,14 +66,8 @@
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
"maximumWarning": "2kB",
"maximumError": "4kB"
}
],
"outputHashing": "all"
Expand All @@ -102,30 +94,27 @@
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "ngx-starter:build"
}
"builder": "@angular-devkit/build-angular:extract-i18n"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": [
"@angular/localize/init",
"zone.js",
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
{
"glob": "**/*",
"input": "public"
}
],
"styles": [
"node_modules/@fortawesome/fontawesome-free/css/all.css",
"node_modules/@fortawesome/fontawesome-free/css/v4-shims.css",
"node_modules/roboto-fontface/css/roboto/roboto-fontface.css",
"src/styles.scss"
],
"scripts": []
Expand Down
Loading

0 comments on commit a70d1c9

Please sign in to comment.