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

Create .npmignore #410

Merged
merged 3 commits into from Feb 21, 2022
Merged

Create .npmignore #410

merged 3 commits into from Feb 21, 2022

Conversation

vain0x
Copy link
Contributor

@vain0x vain0x commented Feb 19, 2022

With .npmignore file, npm excludes these files from package. Published package size will be smaller. See also https://docs.npmjs.com/cli/v8/using-npm/developers#keeping-files-out-of-your-package .

With .npmignore file, npm excludes these files from package. Published package size will be smaller. See also https://docs.npmjs.com/cli/v8/using-npm/developers#keeping-files-out-of-your-package .
Ensure files listed in .gitignore are also ignored.

Context: By adding .npmignore, .gitignore is no longer used by npm.
See also https://npm.github.io/publishing-pkgs-docs/publishing/the-npmignore-file.html .
@MonsieurV
Copy link
Collaborator

Hi @vain0x,

Good idea.

Can you bump the package.json version and add a note in the CHANGELOG?

Thx :)

@vain0x
Copy link
Contributor Author

vain0x commented Feb 19, 2022

@MonsieurV Thank you quick response. I updated. (Feel free to correct text, my English isn't good enough.)

@MonsieurV MonsieurV merged commit cdec16e into AdeleD:master Feb 21, 2022
@MonsieurV
Copy link
Collaborator

That's good, thanks @vain0x!

https://github.com/AdeleD/react-paginate/releases/tag/v8.1.2
to be released on NPM @AdeleD

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.

None yet

2 participants