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

Add exports to package DSL #157

Open
iruizmar opened this issue Jan 5, 2024 · 0 comments · May be fixed by #158
Open

Add exports to package DSL #157

iruizmar opened this issue Jan 5, 2024 · 0 comments · May be fixed by #158

Comments

@iruizmar
Copy link

iruizmar commented Jan 5, 2024

NpmPackage is missing a property to typesafe set the exports option of an NPM package as defined here:
https://nodejs.org/api/packages.html#subpath-exports

Please, keep in mind that inside each exported package, many properties may be set, for example, Typescript will search for a "types" property inside each module as stated here:

https://www.typescriptlang.org/docs/handbook/modules/reference.html#packagejson-exports

Thanks!

@iruizmar iruizmar linked a pull request Jan 9, 2024 that will close this issue
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 a pull request may close this issue.

1 participant