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

Is it possible to not publish the example folder on npm? #38

Open
Utwo opened this issue May 28, 2024 · 0 comments
Open

Is it possible to not publish the example folder on npm? #38

Utwo opened this issue May 28, 2024 · 0 comments

Comments

@Utwo
Copy link

Utwo commented May 28, 2024

Is it possible to not publish the example folder on npm? It would make the installation of the package much faster and in our case, the docker image slimmer. NPM reports that the example folder is having around 61MB. https://www.npmjs.com/package/graphql-validated-types?activeTab=code

We can ignore the folder by using the .npmignore file https://docs.npmjs.com/cli/v10/using-npm/developers#keeping-files-out-of-your-package

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

1 participant