Skip to content

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.

2 participants