Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:#712 migrate angular 17 #731

Merged
merged 44 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
289b121
Update typescript to 5.1.6
ianliuwk1019 Dec 18, 2024
18124e6
temp: Upgrade angular/cli and angular/core to 16
ianliuwk1019 Dec 18, 2024
ef556f5
temp: upgrade angular material
ianliuwk1019 Dec 18, 2024
132b05f
temp: upgrade @angular-eslint
ianliuwk1019 Dec 18, 2024
23352d9
temp: upgrade ng-bootstrap and angular-fontawesome
ianliuwk1019 Dec 18, 2024
a032ff9
angular core/cli upgrade to 16 for admin
ianliuwk1019 Dec 18, 2024
0d7ccb8
upgrade angular material/cdk to 16 at admin; remove commonjs
ianliuwk1019 Dec 18, 2024
422935a
Upgrade angular-fontawesome and ng-bootstrap
ianliuwk1019 Dec 18, 2024
dde0933
Update typescript and zonejs before angular 17 upgrade.
ianliuwk1019 Dec 19, 2024
2c9dfcd
update angular core/cli to 17
ianliuwk1019 Dec 19, 2024
2c7db13
Update angular common and various packages to 17
ianliuwk1019 Dec 19, 2024
b092f6d
upgrade angular cdk to 17
ianliuwk1019 Dec 19, 2024
59e4533
upgrade angular material to 17
ianliuwk1019 Dec 19, 2024
7004046
upgrade angular-eslint to 17
ianliuwk1019 Dec 19, 2024
bb43382
Update ng-bootstrap and ngx-bootstrap
ianliuwk1019 Dec 19, 2024
5ea362c
upgrade libs for angular
ianliuwk1019 Dec 19, 2024
f02b92e
upgrade typescript and zone.js before angular upgrade
ianliuwk1019 Dec 20, 2024
46e2498
upgrade various angular packages to 17
ianliuwk1019 Dec 20, 2024
2e5086a
Remove not exist NgbNavbar
ianliuwk1019 Dec 20, 2024
ba41430
@angular-eslint upgrade and some styling adjustment.
ianliuwk1019 Dec 20, 2024
0503394
Fix matBadge off issue after angular 17 migration.
ianliuwk1019 Dec 20, 2024
47fd06f
Replace moment with luxon for public
ianliuwk1019 Dec 23, 2024
4e97dd6
Add 'luxon' before replacing moment. Re-facgtor some constant. Replac…
ianliuwk1019 Dec 24, 2024
758555b
Replace moment with luxon for interaction component.
ianliuwk1019 Dec 24, 2024
68077cf
Replace moment with luxon for public notice edit component.
ianliuwk1019 Dec 24, 2024
0f5fbe8
Replace moment with luxon for fom-detail component.
ianliuwk1019 Dec 24, 2024
e7b485a
Remove moment from admin package.
ianliuwk1019 Dec 24, 2024
46e592d
Replace lodash debounce with remeda funnel
ianliuwk1019 Dec 24, 2024
791f9f0
Replace lodash with remeda for public-notice component.
ianliuwk1019 Dec 25, 2024
9b4343c
Remove lodash from details-panel component
ianliuwk1019 Dec 25, 2024
e6a6d55
Replace lodash with remeda
ianliuwk1019 Dec 27, 2024
71a5914
Replace isNil with isNullish from remeda for public
ianliuwk1019 Dec 27, 2024
7fb9710
upgrade remeda version at admin and replace lodash isNil to isNullish…
ianliuwk1019 Dec 27, 2024
7c08143
Replace lodash with remeda
ianliuwk1019 Dec 27, 2024
a36bea6
Replace file-saver with file-saver-es es module lib
ianliuwk1019 Dec 27, 2024
943184c
add allowedCommonJsDependencies to ignore common js warning for only …
ianliuwk1019 Dec 27, 2024
12060e4
Remove ngx-dropzone and its unused compoent.
ianliuwk1019 Dec 27, 2024
fbb681d
Replace file-saver with file-saver-es at admin
ianliuwk1019 Dec 27, 2024
b9a7b27
Use allowedCommonJsDependencies to ignore only leaflet.
ianliuwk1019 Dec 27, 2024
297d269
Minor upgrade aws-amplify version
ianliuwk1019 Dec 30, 2024
973231b
Merge branch 'main' into feat/712-migrate-angular-17
ianliuwk1019 Jan 6, 2025
1f62863
Merge branch 'main' into feat/712-migrate-angular-17
ianliuwk1019 Jan 6, 2025
4164ad3
Merge branch 'main' into feat/712-migrate-angular-17
ianliuwk1019 Jan 7, 2025
dc269d6
Add comment to a confusing date field.
ianliuwk1019 Jan 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions admin/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"allowedCommonJsDependencies": [
"leaflet"
],
"baseHref": "/admin/",
"outputPath": "dist/admin",
"index": "src/index.html",
Expand Down Expand Up @@ -50,7 +53,6 @@
"scripts": [
"node_modules/jquery/dist/jquery.min.js",
"node_modules/bootstrap/dist/js/bootstrap.min.js",
"node_modules/moment/min/moment.min.js",
"node_modules/leaflet/dist/leaflet.js",
"node_modules/leaflet.markercluster/dist/leaflet.markercluster.js"
]
Expand Down Expand Up @@ -105,28 +107,28 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "admin:build",
"port": 4200,
"host": "0.0.0.0"
"host": "0.0.0.0",
"buildTarget": "admin:build"
},
"configurations": {
"production": {
"browserTarget": "admin:build:production",
"sourceMap": {
"hidden": false,
"scripts": true,
"styles": true
}
},
"buildTarget": "admin:build:production"
},
"development": {
"browserTarget": "admin:build:development"
"buildTarget": "admin:build:development"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "admin:build"
"buildTarget": "admin:build"
}
},
"lint": {
Expand Down
Loading
Loading