-
Notifications
You must be signed in to change notification settings - Fork 49
Development support v12 #781
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
Merged
pedroapap
merged 3 commits into
criticalmanufacturing:development-cliSupportPreReleases
from
cesarmeira90:development-support-v12
Aug 20, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -60,29 +60,54 @@ public class DependencyVersionService : IDependencyVersionService | |
| { | ||
| public const string NET6TARGETFRAMEWORK = "net6.0"; | ||
| public const string NET8TARGETFRAMEWORK = "net8.0"; | ||
| public const string NET10TARGETFRAMEWORK = "net10.0"; | ||
| public const string NET6SDK = "6.0.201"; // avoid >2xx as it requires HTTPS for nuget pulls | ||
| public const string NET8SDK = "8.0.301"; | ||
| public const string NET10SDK = "10.0.301"; | ||
| public const string NODE24 = "24"; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We want to change this to node 26 probably.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are the UI already in node 26? The migration on IoT was put on hold, if I'm not mistaken. |
||
| public const string NODE20 = "20"; | ||
| public const string NODE18 = "18"; | ||
| public const string NG15 = "15.2.1"; | ||
| public const string NG17 = "17.2.1"; | ||
| public const string NG21 = "21.1.0"; | ||
|
pedroapap marked this conversation as resolved.
|
||
| public const string NG22 = "22.1.2"; | ||
| public const string NG15_ZONE = "0.12.0"; | ||
| public const string NG17_ZONE = "0.14.3"; | ||
| public const string NG21_ZONE = "0.16.0"; | ||
| public const string NG22_ZONE = "0.16.2"; | ||
| public const string NG15_TSESLINT = "5.44.0"; | ||
| public const string NG17_TSESLINT = "6.10.0"; | ||
| public const string NG21_TSESLINT = "8.52.0"; | ||
| public const string NG22_TSESLINT = "8.67.0"; | ||
| public const string NG15_ESLINT = "8.28.0"; | ||
| public const string NG17_ESLINT = "8.53.0"; | ||
| public const string NG21_ESLINT = "9.39.2"; | ||
| public const string NG22_ESLINT = "10.8.1"; | ||
| public const string NG15_TS = "4.8.4"; | ||
| public const string NG17_TS = "5.3.3"; | ||
| public const string NG21_TS = "5.9.3"; | ||
| public const string NG22_TS = "6.0.3"; | ||
|
|
||
| public string DotNetSdk(NuGetVersion productVersion) => productVersion.Major >= 11 ? NET8SDK : NET6SDK; | ||
| public string DotNetTargetFramework(NuGetVersion productVersion) => productVersion.Major >= 11 ? NET8TARGETFRAMEWORK : NET6TARGETFRAMEWORK; | ||
| public string Node(SemanticVersion productVersion) => productVersion.Major >= 11 ? NODE20 : NODE18; | ||
| public string DotNetSdk(NuGetVersion productVersion) => | ||
| productVersion.Major >= 12 | ||
| ? NET10SDK | ||
| : productVersion.Major >= 11 | ||
| ? NET8SDK | ||
| : NET6SDK; | ||
|
|
||
| public string DotNetTargetFramework(NuGetVersion productVersion) => | ||
| productVersion.Major >= 12 | ||
| ? NET10TARGETFRAMEWORK | ||
| : productVersion.Major >= 11 | ||
| ? NET8TARGETFRAMEWORK | ||
| : NET6TARGETFRAMEWORK; | ||
|
|
||
| public string Node(SemanticVersion productVersion) => | ||
| productVersion.Major >= 12 | ||
| ? NODE24 | ||
| : productVersion.Major >= 11 | ||
| ? NODE20 | ||
| : NODE18; | ||
|
|
||
| public AngularDeps Angular(SemanticVersion productVersion) => | ||
| productVersion.Major switch | ||
|
|
@@ -105,11 +130,11 @@ public AngularDeps Angular(SemanticVersion productVersion) => | |
| }, | ||
| 12 => new AngularDeps() | ||
| { | ||
| CLI = Version.Parse(NG21), | ||
|
pedroapap marked this conversation as resolved.
|
||
| Zone = NG21_ZONE, | ||
| Typescript = NG21_TS, | ||
| ESLint = NG21_ESLINT, | ||
| TSESLint = NG21_TSESLINT | ||
| CLI = Version.Parse(NG22), | ||
| Zone = NG22_ZONE, | ||
| Typescript = NG22_TS, | ||
| ESLint = NG22_ESLINT, | ||
| TSESLint = NG22_TSESLINT | ||
| }, | ||
| _ => throw new NotSupportedException($"No Angular dependencies defined for MES version {productVersion}") | ||
| }; | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.