Skip to content

feat: add multi-platform npm distribution for @rslint/tsgo and reorganize @rslint/core package#433

Merged
fansenze merged 4 commits intomainfrom
feat/release-scripts-for-rslint-tsgo-20260113
Jan 13, 2026
Merged

feat: add multi-platform npm distribution for @rslint/tsgo and reorganize @rslint/core package#433
fansenze merged 4 commits intomainfrom
feat/release-scripts-for-rslint-tsgo-20260113

Conversation

@fansenze
Copy link
Copy Markdown
Contributor

Summary

This PR restructures the npm package distribution for multi-platform binary support.

@rslint/tsgo

  • Create 6 platform-specific packages under npm/tsgo/:
    • @rslint/tsgo-darwin-x64
    • @rslint/tsgo-darwin-arm64
    • @rslint/tsgo-linux-x64
    • @rslint/tsgo-linux-arm64
    • @rslint/tsgo-win32-x64
    • @rslint/tsgo-win32-arm64
  • Add bin/tsgo.cjs entry point with platform detection
  • Update packages/tsgo/package.json with optionalDependencies

@rslint/core

  • Move rslint platform packages from npm/* to npm/rslint/* for consistency
  • Package names remain unchanged (@rslint/darwin-x64, etc.)
  • Update related scripts and CI workflows:
    • pnpm-workspace.yaml: npm/*npm/rslint/*
    • scripts/build-npm.mjs: output to npm/rslint/
    • scripts/version.mjs: glob npm/rslint/*/package.json
    • .github/workflows/release.yml: update binary paths
    • .github/actions/move-artifacts/move-artifacts.js: update target directories

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@fansenze fansenze requested a review from hardfist January 13, 2026 08:41
@netlify
Copy link
Copy Markdown

netlify bot commented Jan 13, 2026

Deploy Preview for rslint ready!

Name Link
🔨 Latest commit 56c9dae
🔍 Latest deploy log https://app.netlify.com/projects/rslint/deploys/696609db5d885100080d7472
😎 Deploy Preview https://deploy-preview-433--rslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

hardfist
hardfist previously approved these changes Jan 13, 2026
@fansenze fansenze merged commit a9c71da into main Jan 13, 2026
23 of 25 checks passed
@fansenze fansenze deleted the feat/release-scripts-for-rslint-tsgo-20260113 branch January 13, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants