Skip to content

Commit c571cac

Browse files
authored
Merge pull request #49 from DevCom-IITB/develop
Angular upgrade to to latest version 18
2 parents 65a0f2c + 828914b commit c571cac

File tree

72 files changed

+13945
-29292
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+13945
-29292
lines changed

.browserslistrc

Lines changed: 0 additions & 17 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ speed-measure-plugin*.json
3333
.history/*
3434

3535
# misc
36+
/.angular/cache
3637
/.sass-cache
3738
/connect.lock
3839
/coverage

angular.json

Lines changed: 26 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,15 @@
1515
"prefix": "app",
1616
"architect": {
1717
"build": {
18-
"builder": "@angular-devkit/build-angular:browser",
18+
"builder": "@angular-devkit/build-angular:application",
1919
"options": {
20-
"outputPath": "dist/mess-i-dashboard",
20+
"outputPath": {
21+
"base": "dist/mess-i-dashboard"
22+
},
2123
"index": "src/index.html",
22-
"main": "src/main.ts",
23-
"polyfills": "src/polyfills.ts",
24+
"polyfills": [
25+
"src/polyfills.ts"
26+
],
2427
"tsConfig": "tsconfig.app.json",
2528
"aot": true,
2629
"assets": [
@@ -33,7 +36,8 @@
3336
],
3437
"scripts": [
3538
"./node_modules/plotly.js/dist/plotly.min.js"
36-
]
39+
],
40+
"browser": "src/main.ts"
3741
},
3842
"configurations": {
3943
"production": {
@@ -52,8 +56,6 @@
5256
"sourceMap": false,
5357
"namedChunks": false,
5458
"extractLicenses": true,
55-
"vendorChunk": false,
56-
"buildOptimizer": true,
5759
"budgets": [
5860
{
5961
"type": "initial",
@@ -66,24 +68,29 @@
6668
"maximumError": "4kb"
6769
}
6870
]
69-
}
70-
}
71+
},
72+
"development": {}
73+
},
74+
"defaultConfiguration": "production"
7175
},
7276
"serve": {
7377
"builder": "@angular-devkit/build-angular:dev-server",
7478
"options": {
75-
"browserTarget": "mess-i-dashboard:build"
7679
},
7780
"configurations": {
7881
"production": {
79-
"browserTarget": "mess-i-dashboard:build:production"
82+
"buildTarget": "mess-i-dashboard:build:production"
83+
},
84+
"development": {
85+
"buildTarget": "mess-i-dashboard:build:development"
8086
}
81-
}
87+
},
88+
"defaultConfiguration": "development"
8289
},
8390
"extract-i18n": {
8491
"builder": "@angular-devkit/build-angular:extract-i18n",
8592
"options": {
86-
"browserTarget": "mess-i-dashboard:build"
93+
"buildTarget": "mess-i-dashboard:build"
8794
}
8895
},
8996
"test": {
@@ -106,35 +113,24 @@
106113
]
107114
}
108115
},
109-
"lint": {
110-
"builder": "@angular-devkit/build-angular:tslint",
111-
"options": {
112-
"tsConfig": [
113-
"tsconfig.app.json",
114-
"tsconfig.spec.json",
115-
"e2e/tsconfig.json"
116-
],
117-
"exclude": [
118-
"**/node_modules/**"
119-
]
120-
}
121-
},
122116
"e2e": {
123117
"builder": "@angular-devkit/build-angular:protractor",
124118
"options": {
125-
"protractorConfig": "e2e/protractor.conf.js",
126-
"devServerTarget": "mess-i-dashboard:serve"
119+
"protractorConfig": "e2e/protractor.conf.js"
127120
},
128121
"configurations": {
129122
"production": {
130123
"devServerTarget": "mess-i-dashboard:serve:production"
124+
},
125+
"development": {
126+
"devServerTarget": "mess-i-dashboard:serve:development"
131127
}
132-
}
128+
},
129+
"defaultConfiguration": "development"
133130
}
134131
}
135132
}
136133
},
137-
"defaultProject": "mess-i-dashboard",
138134
"cli": {
139135
"analytics": "7e36cfb9-4410-4cae-a4e6-68e4b8c8cae6"
140136
}

0 commit comments

Comments
 (0)