Skip to content

Commit bbbfff5

Browse files
PhilipABPhilipAB
and
PhilipAB
authored
Update to Angular 17 (#228)
* 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]>
1 parent 48dccd6 commit bbbfff5

File tree

164 files changed

+11539
-8734
lines changed

Some content is hidden

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

164 files changed

+11539
-8734
lines changed

.prettierrc

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"overrides": [
3+
{
4+
"files": "*.html",
5+
"options": {
6+
"parser": "angular"
7+
}
8+
}
9+
]
10+
}

angular.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@
3232
"src/custom.css"
3333
],
3434
"styles": [
35-
"node_modules/xterm/css/xterm.css",
35+
"node_modules/@xterm/xterm/css/xterm.css",
3636
"src/styles.scss",
37-
"node_modules/prismjs/themes/prism.css"
37+
"node_modules/prismjs/themes/prism.css",
38+
"node_modules/@cds/core/global.min.css",
39+
"node_modules/@cds/core/styles/theme.dark.min.css",
40+
"node_modules/@clr/ui/clr-ui.min.css"
3841
],
3942
"scripts": [
40-
"node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js",
41-
"node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js",
4243
"node_modules/prismjs/prism.js",
43-
"node_modules/marked/marked.min.js",
4444
"node_modules/prismjs/components/prism-yaml.min.js",
4545
"node_modules/prismjs/components/prism-python.min.js",
4646
"node_modules/prismjs/components/prism-go.min.js",
@@ -96,21 +96,21 @@
9696
"serve": {
9797
"builder": "@angular-devkit/build-angular:dev-server",
9898
"options": {
99-
"browserTarget": "hobbyfarm-admin:build"
99+
"buildTarget": "hobbyfarm-admin:build"
100100
},
101101
"configurations": {
102102
"local": {
103-
"browserTarget": "hobbyfarm-admin:build:local"
103+
"buildTarget": "hobbyfarm-admin:build:local"
104104
},
105105
"production": {
106-
"browserTarget": "hobbyfarm-admin:build:production"
106+
"buildTarget": "hobbyfarm-admin:build:production"
107107
}
108108
}
109109
},
110110
"extract-i18n": {
111111
"builder": "@angular-devkit/build-angular:extract-i18n",
112112
"options": {
113-
"browserTarget": "hobbyfarm-admin:build"
113+
"buildTarget": "hobbyfarm-admin:build"
114114
}
115115
},
116116
"test": {

0 commit comments

Comments
 (0)