Open
Conversation
- Add TypeScriptAdapter implementing EcosystemAdapter trait - Support npm/yarn/bun workspaces (package.json) and pnpm (pnpm-workspace.yaml) - Auto-detect package manager from lockfile (bun.lockb, pnpm-lock.yaml, yarn.lock, package-lock.json) - Handle scoped packages (@org/pkg) with proper URL encoding and --access public - Add npm registry check via registry.npmjs.org API - Add npm-token input to GitHub Action - Add glob dependency for workspace pattern expansion - Include comprehensive unit tests Amp-Thread-ID: https://ampcode.com/threads/T-019c2111-b969-761e-b5d3-70a67850a61f Co-authored-by: Amp <amp@ampcode.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds full TypeScript/JavaScript ecosystem support for changelogs, completing the trifecta of Rust, Python, and TypeScript.
Features
workspacesfield in package.json) and pnpm (pnpm-workspace.yaml)@org/pkgwith proper URL encoding and--access publicfor publishingregistry.npmjs.org) to check if versions are publishednpm-tokeninput for publishingChanges
src/ecosystems/typescript.rs- new TypeScriptAdapter (350 lines)src/ecosystems/mod.rs- addedEcosystem::TypeScriptvariant and wiringsrc/error.rs- 3 new error variantssrc/workspace.rs- added package.json manifest detectionCargo.toml- addedglobdependencyaction.yml- addednpm-tokeninputREADME.md- TypeScript documentationTests
7 new unit tests covering:
All 47 tests pass.