Skip to content

chore: latest dev tooling, corepack#73

Merged
ibgreen merged 2 commits intomasterfrom
ib/refresh-dev-tooling
Apr 5, 2026
Merged

chore: latest dev tooling, corepack#73
ibgreen merged 2 commits intomasterfrom
ib/refresh-dev-tooling

Conversation

@ibgreen
Copy link
Copy Markdown
Contributor

@ibgreen ibgreen commented Apr 5, 2026

Prep diff for TypeScript 6 introduction

Summary

This PR updates math.gl's local tooling and CI setup to match the newer luma.gl pattern.

What changed

  • Migrated from Volta to Corepack
  • Switched the default Node environment to Node 22
  • Pinned Yarn via packageManager and .nvmrc
  • Upgraded @vis.gl/dev-tools and @vis.gl/ts-plugins to ^1.0.2
  • Updated GitHub Actions workflows to use actions/setup-node + Corepack instead of volta-cli/action
  • Added bare @math.gl/* TS path aliases so workspace package imports resolve correctly during linting

Notable details

  • Added .nvmrc with 22.22.1
  • Set root packageManager to yarn@4.13.0
  • Removed stale Volta config from the root package and website package
  • Updated CI caching/install steps to use Yarn 4/Corepack conventions
  • Refreshed lockfiles after the dependency/tooling updates

Why

  • Align math.gl with the tooling and CI approach already adopted in luma.gl
  • Make Node 22 the default test/runtime environment
  • Remove the repo’s dependency on Volta
  • Bring dev tooling up to date
  • Fix lint-time resolution for bare workspace imports such as @math.gl/culling

Validation

  • yarn install
  • yarn build
  • yarn test
  • yarn lint

All of the above pass after this change.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 63f26791d4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ibgreen ibgreen merged commit 43566b5 into master Apr 5, 2026
1 check passed
@ibgreen ibgreen deleted the ib/refresh-dev-tooling branch April 5, 2026 14:53
Copy link
Copy Markdown

@chrisgervang chrisgervang left a comment

Choose a reason for hiding this comment

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

👍

- name: Enable Corepack / Yarn 4
run: |
corepack enable
corepack prepare yarn@4.13.0 --activate
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What does prepare do? That's a new one to me

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.

2 participants