Skip to content

fix: type only packages should be considered when marking module external#755

Closed
kalvenschraut wants to merge 2 commits intorolldown:mainfrom
RTVision:fix/type-only-package-externalization
Closed

fix: type only packages should be considered when marking module external#755
kalvenschraut wants to merge 2 commits intorolldown:mainfrom
RTVision:fix/type-only-package-externalization

Conversation

@kalvenschraut
Copy link
Contributor

  • This PR contains AI-generated code, but I have carefully reviewed it myself. Otherwise, my PR may be closed.

Description

As I tried to make the tests show if a type only package like @types/json-schema is prod/peer dependency it should be considered external, but only if the runtime dep wouldn't be inlined due to being a dev dependency.

Linked Issues

#745

Additional context

@netlify
Copy link

netlify bot commented Feb 4, 2026

Deploy Preview for tsdown ready!

Name Link
🔨 Latest commit 0a4af1c
🔍 Latest deploy log https://app.netlify.com/projects/tsdown/deploys/69837b87c2656f0008cb0878
😎 Deploy Preview https://deploy-preview-755--tsdown.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.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 4, 2026

Open in StackBlitz

npm i https://pkg.pr.new/tsdown@755
npm i https://pkg.pr.new/create-tsdown@755
npm i https://pkg.pr.new/tsdown-migrate@755

commit: 0a4af1c

@sxzz
Copy link
Member

sxzz commented Feb 4, 2026

I cannot push my commit on your branch/repo

ERROR: Permission to RTVision/tsdown.git denied to sxzz.
fatal: Could not read from remote repository.

Could you please enable allow maintainer to edit?

@sxzz sxzz closed this in 0be7c6d Feb 4, 2026
@sxzz
Copy link
Member

sxzz commented Feb 4, 2026

I pushed your commits directly 0be7c6d

@sxzz
Copy link
Member

sxzz commented Feb 4, 2026

@kalvenschraut I noticed you are part of the @RTVision organization, so I’ve sent you an invitation to my priority support channel here: https://github.com/sxzz-sponsors/discussions/invitations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants