Skip to content

Conversation

@tylerbutler
Copy link
Member

@tylerbutler tylerbutler commented Nov 25, 2025

Updates build-tools dependencies with the following changes:

Successfully Upgraded:

  • cosmiconfig: 8.x → 9.x
  • change-case: 3.x → 5.x
  • minimatch: 7.x → 10.x
  • @inquirer/prompts: 7.x → 8.x
  • picomatch: 2.x → 4.x
  • ignore: 5.x → 7.x
  • @fluid-tools/api-markdown-documenter: 0.17.x → 0.23.x
  • @microsoft/api-extractor: 7.52.x → 7.55.x

ESM-Only Dependencies (Cannot Upgrade):
Multiple dependencies are pinned to older versions because newer versions are ESM-only and incompatible with the CommonJS codebase:

  • type-fest (pinned to ^2.x, latest: ^4.x)
  • execa, globby, glob, multimatch, picospinner, read-pkg-up, replace-in-file, date-fns, @manypkg/get-packages, detect-indent

ESLint Plugin Migration:

  • Updated configs to use import-x/ rules (plugin renamed from import/)
  • Updated inline eslint-disable comments throughout codebase

All changes are documented in DEV.md for future reference.

@github-actions github-actions bot added area: build Build related issues public api change Changes to a public API base: main PRs targeted against main branch labels Nov 25, 2025
Keep updated dependency versions from bt-deps-major-updates branch:
- @commitlint/* packages: ^17 → ^20
- chai: ^5 → ^6
- mocha: ^10 → ^11
- rimraf: ^4 → ^6
- date-fns: ^2 → ^3
- inquirer: ^8 → ^9 (required for @commitlint/cz-commitlint peer dep)
- azure-devops-node-api: ^11 → ^15
- change-case: ^3 → ^5
- cosmiconfig: ^8 → ^9
- strip-ansi: ^6 → ^7
- picomatch: ^2 → ^4
- @inquirer/prompts: ^7 → ^8
- @fluid-tools/api-markdown-documenter: ^0.17 → ^0.23
- @microsoft/api-extractor: ^7.52 → ^7.55
- typedoc: ^0.26 → ^0.28
- eslint-plugin-chai-friendly: ~1.0 → ~1.1
- sharp override: ^0.33 → ^0.34
- @types/rimraf: ^2 → ^3

Also added @typescript-eslint/parser to peerDependencyRules allowedVersions.
Run syncpack fix-mismatches to align versions:
- @fluidframework/eslint-config-fluid: ^6.1.0 → ^8.1.0
- @microsoft/api-extractor: ^7.52.11 → ^7.55.1
- cosmiconfig: ^8.3.6 → ^9.0.0
- type-fest: ^2.19.0 → ^5.2.0
- Revert type-fest from v5 to v2 (v5+ is ESM-only, incompatible with CommonJS)
- Update ESLint configs to use import-x/ rules (plugin was renamed from import/)
- Update inline eslint-disable comments from import/ to import-x/
- Expand internal modules allow list in build-cli
- Update DEV.md to document type-fest limitation
@tylerbutler tylerbutler changed the title build(build-tools): update dependencies and document limitations build(build-tools): Update dependencies with ESM-only limitations Nov 25, 2025
@tylerbutler tylerbutler changed the title build(build-tools): Update dependencies with ESM-only limitations build(build-tools): Update dependencies and document limitations Nov 26, 2025
- Restore pnpm packageManager integrity hash
- Remove Migration Path section from DEV.md
- ESLint: replace import/* with import-x/* where applicable

Committed on 2025-11-26T19:37:46.621Z
@tylerbutler tylerbutler marked this pull request as ready for review November 26, 2025 19:39
@tylerbutler tylerbutler requested a review from a team November 26, 2025 19:39
Copy link
Contributor

@Josmithr Josmithr left a comment

Choose a reason for hiding this comment

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

Looks good to me, save for a comment that I re-opened.

Copy link
Contributor

@alexvy86 alexvy86 left a comment

Choose a reason for hiding this comment

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

Haven't looked at the DEV.md file yet, but left several comments.

@github-actions github-actions bot removed the public api change Changes to a public API label Nov 27, 2025
Copy link
Contributor

@alexvy86 alexvy86 left a comment

Choose a reason for hiding this comment

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

LGTM

@tylerbutler tylerbutler merged commit a31ace8 into microsoft:main Dec 2, 2025
26 of 28 checks passed
@tylerbutler tylerbutler deleted the bt-deps-major-updates branch December 2, 2025 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build Build related issues base: main PRs targeted against main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants