Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Improve JSR publishing support in nx-10x#55

Merged
phuctm97 merged 2 commits intomainfrom
improve-jsr-publishing
Jul 21, 2025
Merged

Improve JSR publishing support in nx-10x#55
phuctm97 merged 2 commits intomainfrom
improve-jsr-publishing

Conversation

@phuctm97
Copy link
Copy Markdown
Owner

@phuctm97 phuctm97 commented Jul 21, 2025

Summary

  • Enhanced JSR (JavaScript Registry) publishing support in the nx-10x library
  • Added automatic generation of deno.json imports for JSR dependencies
  • Introduced project tagging system to better identify and process JSR projects

Changes

  • Added JSR project tagging: Projects that publish to JSR are now automatically tagged with "jsr"
  • Auto-generate deno.json imports: When JSR dependencies are detected, the system now automatically adds the appropriate import mappings to deno.json
  • Conditional JSR processing: JSR/Deno configuration files are now only processed for projects tagged with "jsr", improving build performance
  • Code refactoring: Extracted updateJsrJsonFromPackageJson function for better code reusability

Test plan

  • Run pnpm -w format - All files formatted correctly
  • Run pnpm exec nx run-many -t typecheck - All type checks pass
  • Run pnpm exec nx run-many -t lint --args=--fix - All linting passes
  • Verify JSR publishing still works for JSR-enabled projects
  • Confirm non-JSR projects are not affected by these changes
  • Test that deno.json imports are correctly generated when JSR dependencies are present

🤖 Generated with Claude Code

Enhanced the nx-10x library to better support JSR (JavaScript Registry) publishing:
- Added automatic generation of deno.json imports for JSR dependencies
- Introduced project tagging system to identify projects that publish to JSR
- Refactored JSR/Deno configuration handling to only process JSR-related files for tagged projects
- Created reusable function for updating JSR/Deno JSON files from package.json

This improves the developer experience when working with JSR packages by automating import configuration and ensuring only relevant projects are processed for JSR publishing.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Jul 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
modelfetch-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 21, 2025 9:51am

@phuctm97 phuctm97 merged commit 4c20052 into main Jul 21, 2025
2 checks passed
@phuctm97 phuctm97 deleted the improve-jsr-publishing branch July 21, 2025 09:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant