Skip to content

Migrate toolchain to Vitest/TS6 and modernize CI + dependencies - #139

Merged
Iuliia Kulagina (kullJul) merged 5 commits into
microsoft:mainfrom
v-aidaba:v-aidaba/modernize-tooling
Aug 26, 2026
Merged

Migrate toolchain to Vitest/TS6 and modernize CI + dependencies#139
Iuliia Kulagina (kullJul) merged 5 commits into
microsoft:mainfrom
v-aidaba:v-aidaba/modernize-tooling

Conversation

@v-aidaba

Copy link
Copy Markdown
Contributor

No description provided.

@Demonkratiy Alexey (Demonkratiy) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Toolchain migration looks solid: CI is green, the lockfile is clean (all resolved URLs on registry.npmjs.org, npm audit clean), and rootDir + the prebuild clean fix the stale lib/src / lib/test output layout.

Blocking: version must be 9.0.0 — details in the comment on package.json.

Worth fixing here (non-blocking): two no-op ESLint overrides, the unused parserOptions.project, the include pattern, and the waitForRender helper.

Not for this PR:

  • skipLibCheck: true is unavoidable — it's an upstream bug in powerbi-visuals-api (legacy declare module rejected by TS 6). Filed separately; the flag can be dropped once a fix ships.
  • Linting test/ — currently excluded; 551 issues, 543 of them auto-fixable prefer-const.
  • .nvmrc for the dev Node version, now that CI is on 20/22.

Comment thread package.json Outdated
Comment thread eslint.config.mjs Outdated
Comment thread eslint.config.mjs Outdated
Comment thread vitest.config.mts Outdated
Comment thread tsconfig.json
Comment thread test/legendTest.ts Outdated
v-aidaba and others added 4 commits August 24, 2026 09:42
…ipLibCheck, fix Vitest include and legend tests
Resolve workflow conflicts by keeping the upgraded actions pinned to full-length SHAs, per microsoft#140.
Default setup has been configured on the repository since 2026-08-24 and covers actions, javascript and typescript. GitHub rejects SARIF from an advanced configuration while default setup is enabled, so codeql-analysis.yml could only ever fail.

@Demonkratiy Alexey (Demonkratiy) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All six review comments are addressed. Verified locally on the current head: lint 0 errors / 8 warnings (the expected no-useless-assignment set), build ok, test:typecheck ok, 227 passed / 5 skipped.

I pushed three commits to this branch:

  • Merge main — the PR had gone CONFLICTING after #140 landed. Resolved by keeping your upgraded actions but pinning them to full-length SHAs per the new convention, so the merge doesn't revert that hardening: actions/checkout@d23441a4 # v6.1.0 and actions/setup-node@24997072 # v6.5.0, across all 4 usages in build.yml and release.yml.
  • CHANGELOG — moved colorutils and testutils out of Breaking changes; both are devDependencies (and colorutils isn't imported from src/ at all), so they never reach a consumer's dependency tree.
  • Removed codeql-analysis.yml — CodeQL default setup has been configured on the repo since 2026-08-24, and GitHub rejects SARIF from an advanced configuration while it's enabled (CodeQL analyses from advanced configurations cannot be processed when the default setup is enabled). That workflow could only ever fail; default setup covers more languages anyway.

Re: the upstream powerbi-visuals-api issue you offered to file — already tracked internally, nothing needed on your side.

Remaining follow-ups, none blocking: the 8 no-useless-assignment warnings, linting test/, and an .nvmrc for the dev Node version.

@kullJul
Iuliia Kulagina (kullJul) merged commit 1c35ae1 into microsoft:main Aug 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants