Excluded dotfiles and SECURITY.md via .npmignore (#10700)
refs #9441 The grunt-contrib-copy doesn't automatically include dotfiles, which is whats used to build the release zip. These files aren't necessary when using ghost as a dependency. This updates to exclude them from the npm packages, which means the output of `npm pack` and `grunt release` give the same content.
This commit is contained in:
parent
0c12b37493
commit
1facbc5c02
@ -2,6 +2,9 @@
|
|||||||
.build
|
.build
|
||||||
.dist
|
.dist
|
||||||
.tmp
|
.tmp
|
||||||
|
.eslintignore
|
||||||
|
.eslintrc.json
|
||||||
|
.npmignore
|
||||||
docs/**
|
docs/**
|
||||||
_site/**
|
_site/**
|
||||||
content/adapters/**
|
content/adapters/**
|
||||||
@ -16,6 +19,8 @@ content/logs/**
|
|||||||
!content/logs/README.md
|
!content/logs/README.md
|
||||||
content/themes/**
|
content/themes/**
|
||||||
!content/themes/casper/**
|
!content/themes/casper/**
|
||||||
|
content/themes/casper/assets/css/.csscomb.json
|
||||||
|
content/themes/casper/.yarnrc
|
||||||
node_modules/**
|
node_modules/**
|
||||||
core/server/lib/members/static/auth/node_modules/**
|
core/server/lib/members/static/auth/node_modules/**
|
||||||
**/*.db*
|
**/*.db*
|
||||||
@ -32,15 +37,18 @@ core/built/**/tests-*
|
|||||||
core/client/**
|
core/client/**
|
||||||
core/test/**
|
core/test/**
|
||||||
CONTRIBUTING.md
|
CONTRIBUTING.md
|
||||||
|
content/themes/casper/SECURITY.md
|
||||||
SECURITY.md
|
SECURITY.md
|
||||||
.travis.yml
|
.travis.yml
|
||||||
*.html
|
*.html
|
||||||
!core/server/web/admin/views/**
|
!core/server/web/admin/views/**
|
||||||
|
core/server/web/admin/views/.gitkeep
|
||||||
!core/server/services/mail/templates/**
|
!core/server/services/mail/templates/**
|
||||||
bower_components/**
|
bower_components/**
|
||||||
.editorconfig
|
.editorconfig
|
||||||
gulpfile.js
|
gulpfile.js
|
||||||
!content/themes/casper/gulpfile.js
|
!content/themes/casper/gulpfile.js
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
content/themes/casper/config.*.json
|
||||||
config.*.json
|
config.*.json
|
||||||
!core/server/config/env/**
|
!core/server/config/env/**
|
||||||
|
Loading…
Reference in New Issue
Block a user