Skip to content

Commit

Permalink
Update to Angular 17 (#228)
Browse files Browse the repository at this point in the history
* Update ts version

* Update angular version

* Update clarity version

* Refactor markdown component

* Update cds core and add style sheets

* Add theme settings

* Update @angular/cdk

* Fix markdown rendering

* Set background color via variable to consider theme changes

* Implement custom text tooltip component

* Add prettier as dev dependency

* Add lint-staged as dev dependency

* Migrate code to new @if/@for/@switch syntax

* Update angular-split version

* Migrate ngx-dynamic-hooks to v3

* Replace deprecated xterm packages

* Fix path to xterm style sheet

* remove unused Web Components polyfills

* update @auth0/angular-jwt

* update ng2-charts

* update packages

* run nmp audit fix

* Add authn service. Improve theme handler

* Minor fix

* Ensure that note component always receives valid type

* Enable strict null checks & function types

* Fix bug that steps do not load initially

* Remove unused component

* Fix: Reference to scenario needed to correctly update steps

* Fix icons

* Remove unused code

* Replace clr-alerts by our alert component

* Minor fix

* Use "@else" or "@else if" where possible

* Simplify glossary component

* Fix nested md in hidden/node component

* Escape code to allow double quotes etc.

* Prevent removal of backslashes in ngx-dynamic-hooks inputs

* Clarity css vars changed ... add login padding

---------

Co-authored-by: PhilipAB <[email protected]>
  • Loading branch information
PhilipAB and PhilipAB authored Dec 6, 2024
1 parent 48dccd6 commit bbbfff5
Show file tree
Hide file tree
Showing 164 changed files with 11,539 additions and 8,734 deletions.
10 changes: 10 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"overrides": [
{
"files": "*.html",
"options": {
"parser": "angular"
}
}
]
}
18 changes: 9 additions & 9 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
"src/custom.css"
],
"styles": [
"node_modules/xterm/css/xterm.css",
"node_modules/@xterm/xterm/css/xterm.css",
"src/styles.scss",
"node_modules/prismjs/themes/prism.css"
"node_modules/prismjs/themes/prism.css",
"node_modules/@cds/core/global.min.css",
"node_modules/@cds/core/styles/theme.dark.min.css",
"node_modules/@clr/ui/clr-ui.min.css"
],
"scripts": [
"node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js",
"node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js",
"node_modules/prismjs/prism.js",
"node_modules/marked/marked.min.js",
"node_modules/prismjs/components/prism-yaml.min.js",
"node_modules/prismjs/components/prism-python.min.js",
"node_modules/prismjs/components/prism-go.min.js",
Expand Down Expand Up @@ -96,21 +96,21 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "hobbyfarm-admin:build"
"buildTarget": "hobbyfarm-admin:build"
},
"configurations": {
"local": {
"browserTarget": "hobbyfarm-admin:build:local"
"buildTarget": "hobbyfarm-admin:build:local"
},
"production": {
"browserTarget": "hobbyfarm-admin:build:production"
"buildTarget": "hobbyfarm-admin:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "hobbyfarm-admin:build"
"buildTarget": "hobbyfarm-admin:build"
}
},
"test": {
Expand Down
Loading

0 comments on commit bbbfff5

Please sign in to comment.