From 1a1caafdadb40d2bebc1c4b9c9fb90e507e4fd92 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sun, 6 Jan 2019 18:33:26 +0100 Subject: [PATCH 1/4] Add dependency-check --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 12d96ba..815379b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "scripts": { "test": "standard && hallmark && nyc node test.js", "coverage": "nyc report --reporter=text-lcov | coveralls", - "hallmark": "hallmark --fix" + "hallmark": "hallmark --fix", + "dependency-check": "dependency-check . test.js", + "prepublishOnly": "npm run dependency-check" }, "dependencies": { "level-packager": "^4.0.0", @@ -15,6 +17,7 @@ }, "devDependencies": { "coveralls": "^3.0.2", + "dependency-check": "^3.3.0", "hallmark": "^0.1.0", "level-community": "^3.0.0", "nyc": "^12.0.2", From 0f40e438b93688030c4d8a46c9c947274b63d183 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sun, 6 Jan 2019 18:33:34 +0100 Subject: [PATCH 2/4] Add Donate section and badges to README.md --- README.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 50990b1..3a81086 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,15 @@ > Fast & simple storage. A Node.js-style RocksDB wrapper. [![level badge][level-badge]](https://github.com/level/awesome) -[![npm](https://img.shields.io/npm/v/level-rocksdb.svg)](https://www.npmjs.com/package/level-rocksdb) -![Node version](https://img.shields.io/node/v/level-rocksdb.svg) +[![npm](https://img.shields.io/npm/v/level-rocksdb.svg?label=&logo=npm)](https://www.npmjs.com/package/level-rocksdb) +[![Node version](https://img.shields.io/node/v/level-rocksdb.svg)](https://www.npmjs.com/package/level-rocksdb) [![Build Status](https://secure.travis-ci.org/Level/level-rocksdb.svg)](http://travis-ci.org/Level/level-rocksdb) [![dependencies](https://david-dm.org/Level/level-rocksdb.svg)](https://david-dm.org/level/level-rocksdb) -[![npm](https://img.shields.io/npm/dm/level-rocksdb.svg)](https://www.npmjs.com/package/level-rocksdb) +[![npm](https://img.shields.io/npm/dm/level-rocksdb.svg?label=dl)](https://www.npmjs.com/package/level-rocksdb) [![Coverage Status](https://coveralls.io/repos/github/Level/level-rocksdb/badge.svg)](https://coveralls.io/github/Level/level-rocksdb) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) +[![Backers on Open Collective](https://opencollective.com/level/backers/badge.svg?color=orange)](#backers) +[![Sponsors on Open Collective](https://opencollective.com/level/sponsors/badge.svg?color=orange)](#sponsors) A convenience package that: @@ -410,6 +412,18 @@ db.on('put', function (key, value) { See the [Contribution Guide](https://github.com/Level/community/blob/master/CONTRIBUTING.md) for more details. +## Donate + +To sustain [`Level`](https://github.com/Level) and its activities, become a backer or sponsor on [Open Collective](https://opencollective.com/level). Your logo or avatar will be displayed on our 28+ [GitHub repositories](https://github.com/Level), [npm](https://www.npmjs.com/) packages and (soon) [our website](http://leveldb.org). 💖 + +### Backers + +[![Open Collective backers](https://opencollective.com/level/backers.svg?width=890)](https://opencollective.com/level) + +### Sponsors + +[![Open Collective sponsors](https://opencollective.com/level/sponsors.svg?width=890)](https://opencollective.com/level) + ## License [MIT](LICENSE.md) © 2013-present [Contributors](CONTRIBUTORS.md). From 4968cdf8af70357f2ed20e2cb43728ebd287ecb5 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sun, 6 Jan 2019 18:33:44 +0100 Subject: [PATCH 3/4] Run hallmark --- CONTRIBUTORS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index bf65d22..0676cf5 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -3,6 +3,6 @@ | Name | GitHub | Social | | :------------------- | :----------------------------------------------------- | :-------------------------------------------------------------- | | **Lars-Magnus Skog** | [**@ralphtheninja**](https://github.com/ralphtheninja) | [**@ralph@social.weho.st**](https://social.weho.st/@ralph) | -| **Vincent Weevers** | [**@vweevers**](https://github.com/vweevers) | [**@vweevers@twitter**](https://twitter.com/vweevers) | | **Matteo Collina** | [**@mcollina**](https://github.com/mcollina) | [**@matteocollina@twitter**](https://twitter.com/matteocollina) | +| **Vincent Weevers** | [**@vweevers**](https://github.com/vweevers) | [**@vweevers@twitter**](https://twitter.com/vweevers) | | **Rod Vagg** | [**@rvagg**](https://github.com/rvagg) | [**@rvagg@twitter**](https://twitter.com/rvagg) | From b67f41ef8f1f98eb66da7dde23fda1162dc77c4a Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sun, 6 Jan 2019 20:02:10 +0100 Subject: [PATCH 4/4] Tweak badges and links in README.md --- README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3a81086..0ab2713 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,10 @@ > Fast & simple storage. A Node.js-style RocksDB wrapper. -[![level badge][level-badge]](https://github.com/level/awesome) +[![level badge][level-badge]](https://github.com/Level/awesome) [![npm](https://img.shields.io/npm/v/level-rocksdb.svg?label=&logo=npm)](https://www.npmjs.com/package/level-rocksdb) [![Node version](https://img.shields.io/node/v/level-rocksdb.svg)](https://www.npmjs.com/package/level-rocksdb) -[![Build Status](https://secure.travis-ci.org/Level/level-rocksdb.svg)](http://travis-ci.org/Level/level-rocksdb) -[![dependencies](https://david-dm.org/Level/level-rocksdb.svg)](https://david-dm.org/level/level-rocksdb) +[![Travis](https://img.shields.io/travis/Level/level-rocksdb.svg?logo=travis&label=)](https://travis-ci.org/Level/level-rocksdb) [![npm](https://img.shields.io/npm/dm/level-rocksdb.svg?label=dl)](https://www.npmjs.com/package/level-rocksdb) [![Coverage Status](https://coveralls.io/repos/github/Level/level-rocksdb/badge.svg)](https://coveralls.io/github/Level/level-rocksdb) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) @@ -15,7 +14,7 @@ A convenience package that: -* exports a function that returns a [`levelup instance`](https://github.com/level/levelup#ctor) when invoked +* exports a function that returns a [`levelup instance`](https://github.com/Level/levelup#ctor) when invoked * bundles the current release of [`levelup`][levelup] and [`rocksdb`][rocksdb] * leverages encodings using [`encoding-down`][encoding-down] @@ -429,7 +428,7 @@ To sustain [`Level`](https://github.com/Level) and its activities, become a back [MIT](LICENSE.md) © 2013-present [Contributors](CONTRIBUTORS.md). [level-badge]: http://leveldb.org/img/badge.svg -[levelup]: https://github.com/level/levelup -[level]: https://github.com/level/level -[rocksdb]: https://github.com/level/rocksdb -[encoding-down]: https://github.com/level/encoding-down +[levelup]: https://github.com/Level/levelup +[level]: https://github.com/Level/level +[rocksdb]: https://github.com/Level/rocksdb +[encoding-down]: https://github.com/Level/encoding-down