From 845d75206205964a190bf4e18a51cb5c2ae44849 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sat, 5 Jan 2019 12:43:12 +0100 Subject: [PATCH 01/13] Sort package.json --- package.json | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index 65079108..9ba58085 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,18 @@ { "name": "leveldown", - "description": "A low-level Node.js LevelDB binding", "version": "5.0.0-1", - "repository": { - "type": "git", - "url": "https://github.com/level/leveldown.git" - }, - "homepage": "https://github.com/level/leveldown", - "keywords": [ - "leveldb", - "level" - ], + "description": "A low-level Node.js LevelDB binding", + "license": "MIT", "main": "leveldown.js", + "scripts": { + "install": "node-gyp-build", + "test": "standard && nyc tape test/*-test.js", + "coverage": "nyc report --reporter=text-lcov | coveralls", + "rebuild": "node-gyp rebuild", + "prebuild": "prebuildify -t 8.14.0 -t electron@3.0.0 --napi --strip", + "download-prebuilds": "prebuildify-ci download", + "hallmark": "hallmark --fix UPGRADING.md CHANGELOG.md" + }, "dependencies": { "abstract-leveldown": "~6.0.0", "bindings": "~1.3.0", @@ -41,17 +42,16 @@ "tempy": "^0.2.1", "uuid": "^3.2.1" }, - "scripts": { - "install": "node-gyp-build", - "test": "standard && nyc tape test/*-test.js", - "coverage": "nyc report --reporter=text-lcov | coveralls", - "rebuild": "node-gyp rebuild", - "prebuild": "prebuildify -t 8.14.0 -t electron@3.0.0 --napi --strip", - "download-prebuilds": "prebuildify-ci download", - "hallmark": "hallmark --fix UPGRADING.md CHANGELOG.md" - }, - "license": "MIT", "gypfile": true, + "repository": { + "type": "git", + "url": "https://github.com/level/leveldown.git" + }, + "homepage": "https://github.com/level/leveldown", + "keywords": [ + "leveldb", + "level" + ], "engines": { "node": ">=8.6.0" } From b677624cffb928773d3f82e994864dee08b63f01 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sat, 5 Jan 2019 12:43:13 +0100 Subject: [PATCH 02/13] Upgrade hallmark devDependency from ~0.1.0 to ^0.1.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9ba58085..ca7fce0f 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "coveralls": "^3.0.2", "delayed": "~1.0.1", "du": "~0.1.0", - "hallmark": "~0.1.0", + "hallmark": "^0.1.0", "level-concat-iterator": "^2.0.0", "mkfiletree": "~1.0.1", "monotonic-timestamp": "~0.0.8", From 22bb912499f56f3b750c884117ffa9749a35abc9 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sat, 5 Jan 2019 12:43:13 +0100 Subject: [PATCH 03/13] Add level-community devDependency --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index ca7fce0f..ae085896 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "delayed": "~1.0.1", "du": "~0.1.0", "hallmark": "^0.1.0", + "level-community": "^3.0.0", "level-concat-iterator": "^2.0.0", "mkfiletree": "~1.0.1", "monotonic-timestamp": "~0.0.8", From e61233e785367894c1d4e0793dcc6b323b83f0b7 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sat, 5 Jan 2019 12:43:14 +0100 Subject: [PATCH 04/13] Add hallmark configuration --- package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package.json b/package.json index ae085896..78ba955d 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,12 @@ "tempy": "^0.2.1", "uuid": "^3.2.1" }, + "hallmark": { + "community": "level-community", + "ignore": [ + "README.md" + ] + }, "gypfile": true, "repository": { "type": "git", From 836784ff6be99e1eef47e1ad0fe74b9100dcb5cf Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sat, 5 Jan 2019 12:43:14 +0100 Subject: [PATCH 05/13] Add hallmark to npm scripts --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 78ba955d..55aec422 100644 --- a/package.json +++ b/package.json @@ -6,12 +6,12 @@ "main": "leveldown.js", "scripts": { "install": "node-gyp-build", - "test": "standard && nyc tape test/*-test.js", + "test": "standard && hallmark && nyc tape test/*-test.js", "coverage": "nyc report --reporter=text-lcov | coveralls", "rebuild": "node-gyp rebuild", "prebuild": "prebuildify -t 8.14.0 -t electron@3.0.0 --napi --strip", "download-prebuilds": "prebuildify-ci download", - "hallmark": "hallmark --fix UPGRADING.md CHANGELOG.md" + "hallmark": "hallmark --fix" }, "dependencies": { "abstract-leveldown": "~6.0.0", From 7d8d930fee184ce5f986f0c708de0fcf18d4d2d0 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sat, 5 Jan 2019 12:43:15 +0100 Subject: [PATCH 06/13] Add CONTRIBUTORS.md --- CONTRIBUTORS.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 CONTRIBUTORS.md diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md new file mode 100644 index 00000000..77e81149 --- /dev/null +++ b/CONTRIBUTORS.md @@ -0,0 +1 @@ +# Contributors From a49384197779782b7cd301fe8db62e79dc234a28 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sat, 5 Jan 2019 12:43:15 +0100 Subject: [PATCH 07/13] Update LICENSE.md --- LICENSE.md | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 296b7b7f..d9f5e379 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,11 +1,21 @@ -The MIT License (MIT) -===================== +# The MIT License (MIT) -Copyright (c) 2017 Rod Vagg ---------------------------- +**Copyright © 2012-present Rod Vagg and [Contributors](CONTRIBUTORS.md).** -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 63ac595905899ff783b981d15aad3d74a93ae7bd Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sat, 5 Jan 2019 12:43:16 +0100 Subject: [PATCH 08/13] Update License section in README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eb1cef79..caad1d56 100644 --- a/README.md +++ b/README.md @@ -380,10 +380,8 @@ A large portion of the Windows support comes from code by [Krzysztof Kowalczyk]( ## License -Copyright © 2012-present `leveldown` [contributors](https://github.com/level/community#contributors). +[MIT](LICENSE.md) © 2012-present Rod Vagg and [Contributors](CONTRIBUTORS.md). -`leveldown` is licensed under the MIT license. All rights not explicitly granted in the MIT license are reserved. See the included `LICENSE.md` file for more details. - -*`leveldown` builds on the excellent work of the LevelDB and Snappy teams from Google and additional contributors. LevelDB and Snappy are both issued under the [New BSD Licence](http://opensource.org/licenses/BSD-3-Clause).* +_`leveldown` builds on the excellent work of the LevelDB and Snappy teams from Google and additional contributors. LevelDB and Snappy are both issued under the [New BSD License](http://opensource.org/licenses/BSD-3-Clause). A large portion of `leveldown` Windows support comes from the [Windows LevelDB port](http://code.google.com/r/kkowalczyk-leveldb/) (archived) by [Krzysztof Kowalczyk](http://blog.kowalczyk.info/) ([`@kjk`](https://twitter.com/kjk)). If you're using `leveldown` on Windows, you should give him your thanks!_ [level-badge]: http://leveldb.org/img/badge.svg From eecc08937dae4c9329e39089f4b1829184adba1a Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sat, 5 Jan 2019 12:43:16 +0100 Subject: [PATCH 09/13] Update Contributing section in README.md --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index caad1d56..166b82d3 100644 --- a/README.md +++ b/README.md @@ -343,11 +343,11 @@ There are multiple ways you can find help in using LevelDB in Node.js: ## Contributing -`leveldown` is an **OPEN Open Source Project**. This means that: +[`Level/leveldown`](https://github.com/Level/leveldown) is an **OPEN Open Source Project**. This means that: > Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project. -See the [contribution guide](https://github.com/Level/community/blob/master/CONTRIBUTING.md) for more details. +See the [Contribution Guide](https://github.com/Level/community/blob/master/CONTRIBUTING.md) for more details. ### Git Submodules @@ -374,10 +374,6 @@ $ git submodule update --init --recursive 7. Add changelog to the GitHub release 8. Finally: `npm publish` -### Windows - -A large portion of the Windows support comes from code by [Krzysztof Kowalczyk](http://blog.kowalczyk.info/) [@kjk](https://twitter.com/kjk), see his Windows LevelDB port [here](http://code.google.com/r/kkowalczyk-leveldb/). If you're using `leveldown` on Windows, you should give him your thanks! - ## License [MIT](LICENSE.md) © 2012-present Rod Vagg and [Contributors](CONTRIBUTORS.md). From 7347a3c4b7ce0d7beda323d07fb1d8fa73cc92c1 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sat, 5 Jan 2019 12:45:09 +0100 Subject: [PATCH 10/13] Run hallmark --- CHANGELOG.md | 2 +- CONTRIBUTORS.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f0f88b0..3323ff46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,7 +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) +- Update `.npmignore` ([**@vweevers**](https://github.com/vweevers)) ### Added diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 77e81149..d41393e7 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1 +1,46 @@ # Contributors + +| Name | GitHub | Social | +| :------------------------- | :----------------------------------------------------- | :----------------------------------------------------------------------- | +| **Lars-Magnus Skog** | [**@ralphtheninja**](https://github.com/ralphtheninja) | [**@ralph@social.weho.st**](https://social.weho.st/@ralph) | +| **Rod Vagg** | [**@rvagg**](https://github.com/rvagg) | [**@rvagg@twitter**](https://twitter.com/rvagg) | +| **Vincent Weevers** | [**@vweevers**](https://github.com/vweevers) | [**@vweevers@twitter**](https://twitter.com/vweevers) | +| **David Björklund** | [**@kesla**](https://github.com/kesla) | [**@david_bjorklund@twitter**](https://twitter.com/david_bjorklund) | +| **Julian Gruber** | [**@juliangruber**](https://github.com/juliangruber) | [**@juliangruber@twitter**](https://twitter.com/juliangruber) | +| **Yichao 'Peak' Ji** | [**@peakji**](https://github.com/peakji) | | +| **Mathias Buus** | [**@mafintosh**](https://github.com/mafintosh) | [**@mafintosh@twitter**](https://twitter.com/mafintosh) | +| **Dominic Tarr** | [**@dominictarr**](https://github.com/dominictarr) | [**@dominictarr@twitter**](https://twitter.com/dominictarr) | +| **Philippe Schommers** | | | +| **Christopher Jeffrey** | | | +| **Raynos** | | | +| **Gordon Hall** | [**@bookchin**](https://github.com/bookchin) | | +| **Max Ogden** | [**@maxogden**](https://github.com/maxogden) | [**@maxogden@twitter**](https://twitter.com/maxogden) | +| **Geoff Greer** | [**@ggreer**](https://github.com/ggreer) | | +| **Meirion Hughes** | [**@MeirionHughes**](https://github.com/MeirionHughes) | | +| **Matteo Collina** | [**@mcollina**](https://github.com/mcollina) | [**@matteocollina@twitter**](https://twitter.com/matteocollina) | +| **Oguz Bastemur** | [**@obastemur**](https://github.com/obastemur) | [**@obastemur@twitter**](https://twitter.com/obastemur) | +| **Braydon Fuller** | [**@braydonf**](https://github.com/braydonf) | | +| **duralog** | | | +| **Amine Mouafik** | [**@kytwb**](https://github.com/kytwb) | | +| **James Butler** | [**@sandfox**](https://github.com/sandfox) | | +| **Super-User** | | | +| **Luandro** | [**@luandro**](https://github.com/luandro) | | +| **Joyee Cheung** | [**@joyeecheung**](https://github.com/joyeecheung) | [**@joyeecheung@twitter**](https://twitter.com/joyeecheung) | +| **Andre Staltz** | | | +| **Nathan Shively-Sanders** | [**@sandersn**](https://github.com/sandersn) | | +| **Huan LI** | [**@zixia**](https://github.com/zixia) | [**@zixia@twitter**](https://twitter.com/zixia) | +| **Michael Ihde** | | | +| **Aaron Bieber** | [**@qbit**](https://github.com/qbit) | | +| **Anton Whalley** | [**@no9**](https://github.com/no9) | [**@dhigit9@twitter**](https://twitter.com/dhigit9) | +| **Tim Kuijsten** | [**@timkuijsten**](https://github.com/timkuijsten) | [**@timkuijsten@mastodon.social**](https://mastodon.social/@timkuijsten) | +| **Michael Nisi** | [**@michaelnisi**](https://github.com/michaelnisi) | | +| **Sharvil Nanavati** | [**@sharvil**](https://github.com/sharvil) | | +| **Thorsten Lorenz** | [**@thlorenz**](https://github.com/thlorenz) | | +| **Andrew Kelley** | [**@andrewrk**](https://github.com/andrewrk) | | +| **Adam Bliss** | [**@abliss**](https://github.com/abliss) | | +| **flames of love** | | | +| **mscdex** | [**@mscdex**](https://github.com/mscdex) | | +| **Dean Landolt** | [**@deanlandolt**](https://github.com/deanlandolt) | | +| **No9** | | | +| **Mark Wolfe** | [**@wolfeidau**](https://github.com/wolfeidau) | | +| **Alex Gentile** | [**@agentilela**](https://github.com/agentilela) | | From 17edd06e3ef84a7d2661a834807f4a6512ead53c Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sat, 5 Jan 2019 13:24:34 +0100 Subject: [PATCH 11/13] Fix 'Do not use upper-case characters in definition labels' in CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3323ff46..ea3d4108 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [Unreleased] +## [Unreleased][unreleased] ### Changed From 87925f65cc47a3a8a6f564220ae3d244fcaf86df Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sat, 5 Jan 2019 16:29:47 +0200 Subject: [PATCH 12/13] Fix repository in package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 55aec422..24f121fd 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "gypfile": true, "repository": { "type": "git", - "url": "https://github.com/level/leveldown.git" + "url": "https://github.com/Level/leveldown.git" }, "homepage": "https://github.com/level/leveldown", "keywords": [ From c7a4bd414d07c3474dd120787cdde88fc89f4944 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Sat, 5 Jan 2019 16:29:58 +0200 Subject: [PATCH 13/13] Fix homepage in package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 24f121fd..1e0b2b24 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "type": "git", "url": "https://github.com/Level/leveldown.git" }, - "homepage": "https://github.com/level/leveldown", + "homepage": "https://github.com/Level/leveldown", "keywords": [ "leveldb", "level"