From 1facbc5c02e820bfc62aa84c50ba3a8387ec1713 Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Mon, 22 Apr 2019 13:37:26 +0200 Subject: [PATCH] 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. --- .npmignore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.npmignore b/.npmignore index 99b1cf1292..8943c84de0 100644 --- a/.npmignore +++ b/.npmignore @@ -2,6 +2,9 @@ .build .dist .tmp +.eslintignore +.eslintrc.json +.npmignore docs/** _site/** content/adapters/** @@ -16,6 +19,8 @@ content/logs/** !content/logs/README.md content/themes/** !content/themes/casper/** +content/themes/casper/assets/css/.csscomb.json +content/themes/casper/.yarnrc node_modules/** core/server/lib/members/static/auth/node_modules/** **/*.db* @@ -32,15 +37,18 @@ core/built/**/tests-* core/client/** core/test/** CONTRIBUTING.md +content/themes/casper/SECURITY.md SECURITY.md .travis.yml *.html !core/server/web/admin/views/** +core/server/web/admin/views/.gitkeep !core/server/services/mail/templates/** bower_components/** .editorconfig gulpfile.js !content/themes/casper/gulpfile.js package-lock.json +content/themes/casper/config.*.json config.*.json !core/server/config/env/**