Migrate from Build API to Pipelines API and update to TypeScript 6 / ESLint 10 - #1
Merged
Merged
Conversation
…ript 5.x, Jest 30, ESLint 9 with TS support, remove Q dependency
Copilot created this pull request from a session on behalf of
jessehouwing
June 8, 2026 11:55
View session
- Updated typescript from ^5.8.3 to ^6.0.3 - Updated eslint from ^9.28.0 to ^10.4.1 - Updated @eslint/js from ^9.28.0 to ^10.0.1 - Updated @types/jest to ^30.0.0 - Updated typescript-eslint to ^8.60.1 - Added tsconfig.test.json for jest test compilation - Added lib/ to tsconfig.json exclude (TypeScript 6 compatibility) - Configured ts-jest to use tsconfig.test.json
Copilot
AI
changed the title
Upgrade to v2.0.0: Modernize toolchain and dependencies
chore: update TypeScript to v6 and ESLint to v10
Jun 8, 2026
- Replace BuildApi with PipelinesApi for YAML pipeline execution
- Use listPipelines + runPipeline instead of getDefinitions + queueBuild
- Add support for template parameters via azure-pipeline-parameters input
- Convert variables to Pipelines API format {value: string}
- Pass repository resources (branch and commit) to pipeline runs
- Add explicit pipeline existence validation by name
- Update README with new parameter documentation
- Update tests to mock Pipelines API
Copilot
AI
changed the title
chore: update TypeScript to v6 and ESLint to v10
Migrate from Build API to Pipelines API and update to TypeScript 6 / ESLint 10
Jun 8, 2026
jessehouwing
marked this pull request as ready for review
June 8, 2026 12:11
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Migrates YAML pipeline triggering from the deprecated Build API to the Pipelines API, as proposed in Azure/pipelines#105. Also updates the toolchain to TypeScript 6 and ESLint 10.
Pipelines API Migration
src/pipeline.runner.ts: ReplacegetBuildApi()/getDefinitions()/queueBuild()withgetPipelinesApi()/listPipelines()/runPipeline()src/task.parameters.ts: Addazure-pipeline-parametersinput for template parametersaction.yml: Declare new optional inputRunPipelineParameters.resources{key: {value: string}}Toolchain Updates
^5.8.3→^6.0.3^9.28.0→^10.4.1@eslint/js→^10.0.1,typescript-eslint→^8.60.1,@types/jest→^30.0.0tsconfig.test.jsonfor TS6 compatibility with ts-jest (explicittypes: ["jest", "node"])lib/totsconfig.jsonexclude (TS6 stricter overwrite check on.d.tsfiles)