Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export Types for typescript & npm #131

Open
KrakenTyio opened this issue Apr 12, 2021 · 2 comments
Open

export Types for typescript & npm #131

KrakenTyio opened this issue Apr 12, 2021 · 2 comments

Comments

@KrakenTyio
Copy link

KrakenTyio commented Apr 12, 2021

@types/y18n are 5 years old.

I see your project is already in typescript, but you are not exporting *.d.ts to npm

also in deno.ts you have build/lib/index.d.ts but by npm this file is missing

@KrakenTyio KrakenTyio changed the title Types for typescript export Types for typescript & npm Apr 12, 2021
@dopry
Copy link

dopry commented Jun 2, 2021

@types/y18n is out of date and causing confusion on our team.

@peterblazejewicz
Copy link

Hey folks,
I think there is a proper NPM package distribution missing. Everything else is in place IMO (there is a proper
reference in the package.json to allow TypeScript tsc use automatic types resolution properly):
https://github.com/yargs/y18n/blob/v5.0.0/package.json#L11
what's missing is publishing this file to NPM registry:

npm pack y18n
npm notice
npm notice package: [email protected]
npm notice === Tarball Contents ===
npm notice 731B  LICENSE
npm notice 6.8kB build/index.cjs
npm notice 192B  build/lib/cjs.js
npm notice 6.3kB build/lib/index.js
npm notice 377B  build/lib/platform-shims/node.js
npm notice 1.8kB package.json
npm notice 3.9kB CHANGELOG.md
npm notice 3.2kB README.md
npm notice 183B  index.mjs

thanks!

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

No branches or pull requests

3 participants