-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Users/sanjuyadav/add node24 buildconfig #21423
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
base: master
Are you sure you want to change the base?
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
| .concat(fs.existsSync(genTaskPathLocal) ? fs.readdirSync(genTaskPathLocal).map(taskName => path.join(genTaskPathLocal, taskName)) : []); | ||
|
|
||
| const invalidPaths = paths.filter(taskPath => test('-d', taskPath) && !test('-f', path.join(taskPath, 'task.json')) && !taskPath.includes('_buildConfigs')); | ||
| const invalidPaths = paths.filter(taskPath => test('-d', taskPath) && !test('-f', path.join(taskPath, 'task.json')) && !taskPath.includes('_buildConfigs') && !taskPath.endsWith('Common')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please tell the purpose of excluding this !taskPath.endsWith('Common') here.
| } | ||
|
|
||
| private static void WriteNodePackageJson(string taskOutputNode, string nodeVersion, bool shouldUpdateTypescript, bool shouldUpdateTaskLib) | ||
| private static void WriteNodePackageJson(string taskOutputNode, string nodeVersion, bool shouldUpdateTypescript, string? typescriptVersion, bool shouldUpdateTaskLib) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be a good practice if we keep optional parameter at the end of function definition.
Context
This PR adds complete Node.js 24 support to the Azure Pipelines Tasks build system, enabling task authors to build and deploy tasks that run on Node.js 24.
AB#2328151
Description
This PR implements comprehensive Node.js 24 support across the Azure Pipelines Tasks build system through the following changes:
1. BuildConfigGen Program Updates (
BuildConfigGen/Program.cs)Node24: New standalone config for Node 24 tasks (does not merge to base)Node24_overwrite: Config for migrating existing tasks to Node 24 (merges to base)^24.10.0Node24NODE24^5.7.2Node24-265andNode24-265-overwriteRisk Assessment: Low
Added two additional build configs but these are not used by any tasks
Change Behind Feature Flag: No
Tech Design / Approach
NA
Documentation Changes Required: No
Unit Tests Added or Updated: No
Additional Testing Performed
Manual via building task locally and uploading in private org
Logging Added/Updated: No
Telemetry Added/Updated: No
Rollback Scenario and Process: NA
Dependency Impact Assessed and Regression Tested: Yes