Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Sorixelle
Copy link
Contributor

@uniorgjs/orgx from NPM seems to be missing it's built type declarations. I think this is because the types are included in the package's .gitignore so they don't get committed, but unfortunately pnpm publish also uses the .gitignore to determine what files get included in the published package, leading to the types not getting distributed.

This PR should fix the problem by including an empty .npmignore, which will override the .gitignore file during publish and include the types in published packages again (docs).

@changeset-bot
Copy link

changeset-bot bot commented Apr 10, 2025

🦋 Changeset detected

Latest commit: 92077e1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@uniorgjs/orgx Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Apr 10, 2025

@Sorixelle is attempting to deploy a commit to the rasendubi's projects Team on Vercel.

A member of the Team first needs to authorize it.

@rasendubi rasendubi merged commit a31dda4 into rasendubi:main Apr 11, 2025
1 of 3 checks passed
@github-actions github-actions bot mentioned this pull request Apr 11, 2025
@rasendubi
Copy link
Owner

@Sorixelle thanks for the fix! This has been released in @uniorgjs/[email protected] and the release seems to include type directory now: https://www.npmjs.com/package/@uniorgjs/orgx/v/2.0.1?activeTab=code

@Sorixelle Sorixelle deleted the fix-missing-types branch April 12, 2025 02:48
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.

2 participants