Skip to content

Commit

Permalink
VIH-11260 ng19 upgrade (#2376)
Browse files Browse the repository at this point in the history
* Upgraded to ng18

* fix regular expression in convert language test

* update eslint

* update ng mocks

* upgrade ngx-toastr

* update ng store

* updated es lint

* upgrade to ng19

* fix dependencies

* standalone property added to components

* standalone added to pipes and directives

* change scss imports to use

* directives and pipes tidy

* Updated css imports to use

* fix styling for styles.scss

* switch back to deprecated import directive

* update docker files to use node 22.0.0

* updated timer and interval imp

* added $govuk-suppressed-warnings: ('govuk-typography-scale-14');

* update packages

* changed to es builder

* fix tests

* Update es lint

* reverted back to browser builder

* updated new added component from merge to have standalone: false

* added ng router

* updated nswagudpated nswag

---------

Co-authored-by: Shaed Parkar <shaed.parkar@slimsolutions.tech>
Co-authored-by: shaed-parkar <41630528+shaed-parkar@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 25, 2025
1 parent 367c603 commit 95091f0
Show file tree
Hide file tree
Showing 190 changed files with 10,484 additions and 8,570 deletions.
3 changes: 1 addition & 2 deletions VideoWeb/VideoWeb/ClientApp/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ It represents the closest reasonable ESLint configuration to this
project's original TSLint configuration.
We recommend eventually switching this configuration to extend from
the recommended rulesets in typescript-eslint.
the recommended rulesets in typescript-eslint.
https://github.com/typescript-eslint/tslint-to-eslint-config/blob/master/docs/FAQs.md
Happy linting! 💖
Expand Down Expand Up @@ -40,7 +40,6 @@ module.exports = {
'jasmine/no-focused-tests': 'error',
'@angular-eslint/component-class-suffix': 'error',
'@angular-eslint/directive-class-suffix': 'error',
'@angular-eslint/no-host-metadata-property': 'error',
'@angular-eslint/no-input-rename': 'error',
'@angular-eslint/no-inputs-metadata-property': 'off',
'@angular-eslint/no-output-on-prefix': 'error',
Expand Down
2 changes: 1 addition & 1 deletion VideoWeb/VideoWeb/ClientApp/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.20.2
v22.0.0
2 changes: 1 addition & 1 deletion VideoWeb/VideoWeb/ClientApp/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.15-alpine AS client
FROM node:22.0.0-alpine AS client
EXPOSE 4200 49153
USER node

Expand Down
11 changes: 8 additions & 3 deletions VideoWeb/VideoWeb/ClientApp/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,16 @@
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {},
"schematics": {
"@schematics/angular:component": {
"style": "scss",
"standalone": false
}
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"progress": true,
"outputPath": "dist",
"index": "src/index.html",
Expand Down
Loading

0 comments on commit 95091f0

Please sign in to comment.