* Resolve global.json latestMajor to the newest active release, not LTS
rollForward: latestMajor cleared the version, which createChannelArgument mapped to the LTS channel. When the declared sdk.version belongs to an STS release, the LTS channel is older than the declared version and the installed SDK does not satisfy global.json. Resolve it from the releases index to the newest active release of either support type, still GA only.
* Limit latestMajor resolution to global.json and enforce the minimum version
An empty version without rollForward latestMajor (for example a global.json
without sdk.version) resolves to the LTS channel again. After an online
install, the action fails if the installed SDK is older than the global.json
minimum version. The installer tests now mock the releases index instead of
calling the live service.
* Migrate to ESM and upgrade dependencies
* Address review: use type-only import for QualityOptions
* update version to 6.0.0 in package.json and package-lock.json
* Add ESM migration note to README for V6
* Update test imports for ESM and clean up devDependencies (ts-node, @types/jest)
* Pin @types/node to 24.x and refine tsconfig/README wording