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

Feature/angular15 material legacy #3774

Merged

Conversation

mhenkens
Copy link
Contributor

@mhenkens mhenkens commented Apr 2, 2024

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

[x] Yes
[ ] No

Breaking change related to angular 15 and @angular/material@15

Other information

@mhenkens mhenkens requested a review from SuperITMan April 2, 2024 12:36
@mhenkens mhenkens force-pushed the feature/angular15_material_legacy branch 3 times, most recently from 17d666a to fcf4351 Compare April 3, 2024 06:40
@mhenkens mhenkens force-pushed the feature/angular15_material_legacy branch 9 times, most recently from 6d9ccfc to ec5a3f9 Compare April 18, 2024 07:51
@mhenkens mhenkens force-pushed the feature/angular15_material_legacy branch from ec5a3f9 to fcf23f9 Compare April 25, 2024 12:17
Copy link
Member

@SuperITMan SuperITMan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small changes to apply

@@ -15,39 +15,39 @@
"url": "https://github.com/nationalbankbelgium/stark.git"
},
"engines": {
"node": ">=14.20.0",
"npm": ">=8.19.1"
"node": ">=18.17.1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please adapt the value in the ".nvmrc" file:

18.17.1

package.json Outdated
@@ -39,13 +39,13 @@
"@commitlint/config-conventional": "^18.6.0",
"@compodoc/compodoc": "1.1.19",
"@mdi/angular-material": "^4.0.96",
"@nationalbankbelgium/code-style": "^1.9.0",
"@nationalbankbelgium/code-style": "file:../code-style/dist/nationalbankbelgium-code-style-1.9.0.tgz",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert this change

tsconfig.json Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this file

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the dependencies for each stark module then commit the changes in the main "package.json" at the same time.
For instance:

  1. Update the dependency "webpack-bundle-analyzer" to version "^4.10.1" in the main "package.json" file
  2. Update the dependency "webpack-bundle-analyzer" to version "^4.10.1" in the packages/stark-build/package.json file
  3. Commit the changes in the 3 files (2 package.json + 1 package-lock.json) and mention the updated library:
    It could be a message like: feat(stark-build): update `webpack-bundle-analyzer` dependency to version `^4.10.1`

@mhenkens mhenkens force-pushed the feature/angular15_material_legacy branch from fcf23f9 to 3610514 Compare May 7, 2024 06:39
@mhenkens mhenkens force-pushed the feature/angular15_material_legacy branch 5 times, most recently from ecdf057 to c35d150 Compare May 8, 2024 07:52
… `@uirouter/angular` dependencies

Update node version in `.nvmrc`.
Run schematics to update to angular 15:
`npx ng update @angular/core@15 @angular/cli@15 @angular/material@15`
Sync dependencies with root `package.json`.

Update following dependencies:
- `@angular-builders/custom-webpack` : `^15.0.0`
- `webpack-bundle-analyzer` : `^4.10.1`
Sync dependencies with root `package.json`.

Update following dependencies:
- `@ng-idle/core`: `^13.0.1`
- `@ng-idle/keepalive`: `^13.0.1`
- `@ngrx/effects`: `^15.4.0`
- `@ngrx/store`: `^15.4.0`
- `@ngrx/store-devtools`: `^15.4.0`
- `@ngx-translate/core`: `^14.0.0`
- `@uirouter/angular`: `^11.1.0`

Refactor `StarkSettingsEffects` class due to change in `typescript` configuration:
- `"useDefineForClassFields": true`
Sync dependencies with root `package.json`.

Update following dependency:
- `@angular/material-moment-adapter`: `^15.2.9`

Refactor Effects classes due to change in `typescript` configuration:
- `"useDefineForClassFields": true`
Sync dependencies with root `package.json`.

Update following dependencies:
- `@angular-devkit/build-angular`: `^15.2.10`
- `puppeteer`: `^22.4.0`
@mhenkens mhenkens force-pushed the feature/angular15_material_legacy branch from c35d150 to ee7237e Compare May 8, 2024 12:23
Copy link

sonarcloud bot commented May 8, 2024

Quality Gate Passed Quality Gate passed

Issues
2 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@SuperITMan SuperITMan added the comp: stark-all To apply for all Stark modules label May 21, 2024
Copy link
Member

@SuperITMan SuperITMan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@SuperITMan SuperITMan added this to the 12.0.0-beta.2 milestone May 23, 2024
@SuperITMan SuperITMan merged commit 59c39b1 into NationalBankBelgium:master May 23, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
12.x Stark version comp: stark-all To apply for all Stark modules type: feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants