From 2df7f06905250d35bb89fc23473ae388b3498bb5 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Fri, 28 Dec 2018 01:29:37 +0200 Subject: [PATCH] update .npmignore (#577) --- .gitignore | 2 ++ .npmignore | 49 ++++++++++++++++++++++++++++++++++++++++--------- CHANGELOG.md | 1 + 3 files changed, 43 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index dbcd2749..f2768381 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +# When adding entries here, remember to also update `.npmignore`. + node_modules/ build/ build-pre-gyp/ diff --git a/.npmignore b/.npmignore index 26612da1..893460be 100644 --- a/.npmignore +++ b/.npmignore @@ -1,18 +1,49 @@ -*.tar.gz -build/ -build-pre-gyp/ -test-data.tar -test-data.db.tar deps/leveldb/leveldb-basho/ deps/leveldb/leveldb-hyper/ deps/leveldb/leveldb-rocksdb/ -deps/snappy/snappy/testdata/ -leakydb -bench/ -test/ deps/leveldb/leveldb-*/doc/ +deps/leveldb/leveldb-*/README.md +deps/leveldb/leveldb-*/CONTRIBUTING.md +deps/leveldb/leveldb-*/port/README +deps/snappy/snappy/testdata/ +deps/snappy/snappy/.appveyor.yml +deps/snappy/snappy/.git +deps/snappy/snappy/.travis.yml +deps/snappy/snappy/CONTRIBUTING.md +deps/snappy/snappy/README.md +deps/snappy/snappy/*.txt README INSTALL NEWS AUTHORS +TODO + +# Build artifacts +deps/*/Release/ +deps/*/Debug/ +*.tar.gz +build/ +build-pre-gyp/ +libleveldb.so +libleveldb.a +*.sln +*.vcxproj +*.vcxproj.filters + +# Benchmarks and tests +bench/ +test/ +*.csv + +# Misc .nyc_output/ +yarn.lock +.dntrc +.gitmodules +.travis.yml +appveyor.yml + +# Unknown +leakydb +test-data.tar +test-data.db.tar diff --git a/CHANGELOG.md b/CHANGELOG.md index f0c45646..4f0f88b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ - Tweak copyright years for less maintenance ([`98cbb4f`](https://github.com/level/leveldown/commit/98cbb4f)) ([**@ralphtheninja**](https://github.com/ralphtheninja)) - Document new platform support and prebuilt binaries ([#558](https://github.com/level/leveldown/issues/558), [#563](https://github.com/level/leveldown/issues/563)) ([**@vweevers**](https://github.com/vweevers)) - Replace `remark-cli` with `hallmark` ([#548](https://github.com/level/leveldown/issues/548)) ([**@vweevers**](https://github.com/vweevers)) +- Update `.npmignore` (@vweevers) ### Added