Skip to content

unity-cli@v3.0.0#77

Merged
StephenHodgson merged 8 commits into
mainfrom
v3.0.0
May 11, 2026
Merged

unity-cli@v3.0.0#77
StephenHodgson merged 8 commits into
mainfrom
v3.0.0

Conversation

@StephenHodgson
Copy link
Copy Markdown
Member

@StephenHodgson StephenHodgson commented May 10, 2026

  • Node 24+ only; bump deps (TS 6, glob 13, Jest, lockfile)
  • TS/Jest config updates for TS 6 + @types/node 24.x
  • CodeQL: Linux Hub apt install/update without embedding version in sh -c; UPM CDN URLs via URL + encoded segments; Exec uses explicit shell: false and no redundant env passthrough
  • Linux headless CI: fix XDG_RUNTIME_DIR when missing or set but unusable; run pulse/pactl with same runtime dir as Editor; optional env on Exec; don’t default ALSA_CARD to Loopback

- Node 24+ only; bump deps (TS 6, glob 13, Jest, lockfile)
- TS/Jest config updates for TS 6 + @types/node 24.x
Copilot AI review requested due to automatic review settings May 10, 2026 21:36
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates unity-cli for the v3.0.0 release by raising the minimum supported Node.js version to 24+ and aligning TypeScript/Jest tooling and dependency versions accordingly.

Changes:

  • Bump package version to 3.0.0 and require Node >=24.0.0.
  • Upgrade key dependencies/devDependencies (notably TypeScript 6, glob 13, Jest 30) and refresh package-lock.json.
  • Update TS/Jest configs (including switching TypeScript moduleResolution to bundler and adjusting Jest’s TS transform rules).

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tsconfig.json Switches TS module resolution to bundler.
tsconfig.jest.json Aligns Jest TS compilation settings (adds include/noEmit/etc.) and also uses bundler resolution.
package.json Major version bump + Node engine bump + dependency updates.
package-lock.json Lockfile refresh to reflect updated dependency graph.
jest.config.mjs Updates Jest config to explicitly treat TS as ESM and broadens the ts-jest transform pattern.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tsconfig.jest.json Outdated
…ripts, run apt-get install via argv (no version in sh -c)

- UPM CLI: build CDN URLs with URL + encodeURIComponent after validated release tags
- Exec: spawn with shell false, drop redundant env passthrough
- Resolve XDG_RUNTIME_DIR: prefer env only if writable; else /run/user/$UID or tmp-based unity-cli-xdg-runtime-$UID (0700)
- Run pulseaudio/pactl with the same XDG_RUNTIME_DIR as the Editor
- Add optional env overlay to Exec for child processes
- Stop defaulting ALSA_CARD to Loopback (opt-in via env after snd-aloop)
Comment thread src/utilities.ts Fixed
@StephenHodgson StephenHodgson merged commit b5d45ea into main May 11, 2026
206 of 207 checks passed
@StephenHodgson StephenHodgson deleted the v3.0.0 branch May 11, 2026 23:53
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