From 904fd1f6bff035b09bea9680cdb28dc996c89805 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Fri, 1 Oct 2021 21:06:38 +0200 Subject: [PATCH] Update metadata and add release workflow --- .github/workflows/release.yml | 17 +++++++ CHANGELOG.md | 96 +++++++++++++++++++---------------- CONTRIBUTORS.md | 16 ------ LICENSE.md => LICENSE | 4 +- README.md | 28 +++------- appveyor.yml | 20 -------- package.json | 6 --- 7 files changed, 80 insertions(+), 107 deletions(-) create mode 100644 .github/workflows/release.yml delete mode 100644 CONTRIBUTORS.md rename LICENSE.md => LICENSE (91%) delete mode 100644 appveyor.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..53cd4bd --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,17 @@ +name: Release +on: + push: + tags: ['*'] +permissions: + contents: write +jobs: + release: + name: Release + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Create GitHub release + uses: docker://antonyurchenko/git-release:v4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e8a298..3b5c3fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,9 @@ # Changelog -_**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md)._ - ## [7.0.0] - 2021-04-17 +_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md)._ + ### Changed - **Breaking:** bump `leveldown` and `level-packager` ([`53bd922`](https://github.com/Level/level/commit/53bd922)) (Vincent Weevers) @@ -31,6 +31,8 @@ _**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md)._ ## [6.0.0] - 2019-10-19 +_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md)._ + ### Changed - **Breaking:** upgrade `level-js` from `^4.0.0` to `^5.0.0` ([#158](https://github.com/Level/level/issues/158)) ([**@vweevers**](https://github.com/vweevers)) @@ -55,6 +57,8 @@ _**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md)._ ## [5.0.0] - 2019-03-29 +_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md)._ + ### Changed - Upgrade `leveldown` from `^4.0.0` to `^5.0.0` ([#133](https://github.com/Level/level/issues/133), [#144](https://github.com/Level/level/issues/144)) ([**@vweevers**](https://github.com/vweevers)) @@ -82,6 +86,8 @@ _**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md)._ ## [4.0.0] - 2018-05-23 +_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md)._ + ### Changed - Update `leveldown` to `^4.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja)) @@ -115,6 +121,8 @@ _**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md)._ ## [3.0.0] - 2018-02-17 +_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md)._ + ### Added - Travis: add 9 ([**@ralphtheninja**](https://github.com/ralphtheninja)) @@ -155,6 +163,8 @@ _**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md)._ ## [2.0.0] - 2017-10-17 +_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md)._ + ### Added - Add `standard` for linting ([**@ralphtheninja**](https://github.com/ralphtheninja)) @@ -304,13 +314,13 @@ _**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md)._ ## [0.17.0] - 2013-10-01 +_0.17.0 and 0.17.0-1 are listed out of order here, due to 0.17.0-1 not adhering to the semver rules that we follow today._ + ### Changed - Update `levelup` to `~0.17.0` ([**@rvagg**](https://github.com/rvagg)) - Update `leveldown` to `~0.9.0` ([**@rvagg**](https://github.com/rvagg)) -**Historical Note** 0.17.0 and 0.17.0-1 are listed out of order here, due to 0.17.0-1 not adhering to the semver rules that we follow today. - ## [0.17.0-1] - 2013-10-09 ### Changed @@ -390,80 +400,80 @@ _**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md)._ :seedling: Initial release. -[7.0.0]: https://github.com/Level/level/compare/v6.0.1...v7.0.0 +[7.0.0]: https://github.com/Level/level/releases/tag/v7.0.0 -[6.0.1]: https://github.com/Level/level/compare/v6.0.0...v6.0.1 +[6.0.1]: https://github.com/Level/level/releases/tag/v6.0.1 -[6.0.0]: https://github.com/Level/level/compare/v5.0.1...v6.0.0 +[6.0.0]: https://github.com/Level/level/releases/tag/v6.0.0 -[5.0.1]: https://github.com/Level/level/compare/v5.0.0...v5.0.1 +[5.0.1]: https://github.com/Level/level/releases/tag/v5.0.1 -[5.0.0]: https://github.com/Level/level/compare/v4.0.0...v5.0.0 +[5.0.0]: https://github.com/Level/level/releases/tag/v5.0.0 -[4.0.0]: https://github.com/Level/level/compare/v3.0.2...v4.0.0 +[4.0.0]: https://github.com/Level/level/releases/tag/v4.0.0 -[3.0.2]: https://github.com/Level/level/compare/v3.0.1...v3.0.2 +[3.0.2]: https://github.com/Level/level/releases/tag/v3.0.2 -[3.0.1]: https://github.com/Level/level/compare/v3.0.0...v3.0.1 +[3.0.1]: https://github.com/Level/level/releases/tag/v3.0.1 -[3.0.0]: https://github.com/Level/level/compare/v2.1.2...v3.0.0 +[3.0.0]: https://github.com/Level/level/releases/tag/v3.0.0 -[2.1.2]: https://github.com/Level/level/compare/v2.1.1...v2.1.2 +[2.1.2]: https://github.com/Level/level/releases/tag/v2.1.2 -[2.1.1]: https://github.com/Level/level/compare/v2.1.0...v2.1.1 +[2.1.1]: https://github.com/Level/level/releases/tag/v2.1.1 -[2.1.0]: https://github.com/Level/level/compare/v2.0.1...v2.1.0 +[2.1.0]: https://github.com/Level/level/releases/tag/v2.1.0 -[2.0.1]: https://github.com/Level/level/compare/v2.0.0...v2.0.1 +[2.0.1]: https://github.com/Level/level/releases/tag/v2.0.1 -[2.0.0]: https://github.com/Level/level/compare/v2.0.0-rc3...v2.0.0 +[2.0.0]: https://github.com/Level/level/releases/tag/v2.0.0 -[2.0.0-rc3]: https://github.com/Level/level/compare/v2.0.0-rc2...v2.0.0-rc3 +[2.0.0-rc3]: https://github.com/Level/level/releases/tag/v2.0.0-rc3 -[2.0.0-rc2]: https://github.com/Level/level/compare/v2.0.0-rc1...v2.0.0-rc2 +[2.0.0-rc2]: https://github.com/Level/level/releases/tag/v2.0.0-rc2 -[2.0.0-rc1]: https://github.com/Level/level/compare/v1.7.0...v2.0.0-rc1 +[2.0.0-rc1]: https://github.com/Level/level/releases/tag/v2.0.0-rc1 -[1.7.0]: https://github.com/Level/level/compare/v1.6.0...v1.7.0 +[1.7.0]: https://github.com/Level/level/releases/tag/v1.7.0 -[1.6.0]: https://github.com/Level/level/compare/v1.5.0...v1.6.0 +[1.6.0]: https://github.com/Level/level/releases/tag/v1.6.0 -[1.5.0]: https://github.com/Level/level/compare/v1.4.0...v1.5.0 +[1.5.0]: https://github.com/Level/level/releases/tag/v1.5.0 -[1.4.0]: https://github.com/Level/level/compare/v1.3.0...v1.4.0 +[1.4.0]: https://github.com/Level/level/releases/tag/v1.4.0 -[1.3.0]: https://github.com/Level/level/compare/v1.2.0...v1.3.0 +[1.3.0]: https://github.com/Level/level/releases/tag/v1.3.0 -[1.2.0]: https://github.com/Level/level/compare/v1.1.0...v1.2.0 +[1.2.0]: https://github.com/Level/level/releases/tag/v1.2.0 -[1.1.0]: https://github.com/Level/level/compare/v1.0.0...v1.1.0 +[1.1.0]: https://github.com/Level/level/releases/tag/v1.1.0 -[1.0.0]: https://github.com/Level/level/compare/v1.0.0-0...v1.0.0 +[1.0.0]: https://github.com/Level/level/releases/tag/v1.0.0 -[1.0.0-0]: https://github.com/Level/level/compare/v0.19.1...v1.0.0-0 +[1.0.0-0]: https://github.com/Level/level/releases/tag/v1.0.0-0 -[0.19.1]: https://github.com/Level/level/compare/v0.19.0...v0.19.1 +[0.19.1]: https://github.com/Level/level/releases/tag/v0.19.1 -[0.19.0]: https://github.com/Level/level/compare/0.18.0...v0.19.0 +[0.19.0]: https://github.com/Level/level/releases/tag/v0.19.0 -[0.18.0]: https://github.com/Level/level/compare/0.17.0...0.18.0 +[0.18.0]: https://github.com/Level/level/releases/tag/0.18.0 -[0.17.0]: https://github.com/Level/level/compare/0.17.0-1...0.17.0 +[0.17.0]: https://github.com/Level/level/releases/tag/0.17.0 -[0.17.0-1]: https://github.com/Level/level/compare/0.16.0...0.17.0-1 +[0.17.0-1]: https://github.com/Level/level/releases/tag/0.17.0-1 -[0.16.0]: https://github.com/Level/level/compare/0.15.0...0.16.0 +[0.16.0]: https://github.com/Level/level/releases/tag/0.16.0 -[0.15.0]: https://github.com/Level/level/compare/0.14.0...0.15.0 +[0.15.0]: https://github.com/Level/level/releases/tag/0.15.0 -[0.14.0]: https://github.com/Level/level/compare/0.13.0...0.14.0 +[0.14.0]: https://github.com/Level/level/releases/tag/0.14.0 -[0.13.0]: https://github.com/Level/level/compare/0.12.0...0.13.0 +[0.13.0]: https://github.com/Level/level/releases/tag/0.13.0 -[0.12.0]: https://github.com/Level/level/compare/0.11.0...0.12.0 +[0.12.0]: https://github.com/Level/level/releases/tag/0.12.0 -[0.11.0]: https://github.com/Level/level/compare/0.10.0...0.11.0 +[0.11.0]: https://github.com/Level/level/releases/tag/0.11.0 -[0.10.0]: https://github.com/Level/level/compare/0.9.0...0.10.0 +[0.10.0]: https://github.com/Level/level/releases/tag/0.10.0 -[0.9.0]: https://github.com/Level/level/compare/0.8.0...0.9.0 +[0.9.0]: https://github.com/Level/level/releases/tag/0.9.0 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md deleted file mode 100644 index 8f50984..0000000 --- a/CONTRIBUTORS.md +++ /dev/null @@ -1,16 +0,0 @@ -# Contributors - -| 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) | -| **Rod Vagg** | [**@rvagg**](https://github.com/rvagg) | [**@rvagg@twitter**](https://twitter.com/rvagg) | -| **jess** | [**@monkeywithacupcake**](https://github.com/monkeywithacupcake) | | -| **Julian Gruber** | [**@juliangruber**](https://github.com/juliangruber) | [**@juliangruber@twitter**](https://twitter.com/juliangruber) | -| **Tim Oxley** | [**@timoxley**](https://github.com/timoxley) | [**@secoif@twitter**](https://twitter.com/secoif) | -| **Alex Potsides** | | | -| **Andrew Kelley** | [**@andrewrk**](https://github.com/andrewrk) | | -| **Andrii Shumada** | | | -| **Joseph Dykstra** | [**@ArtskydJ**](https://github.com/ArtskydJ) | | -| **Matt Walters** | [**@mateodelnorte**](https://github.com/mateodelnorte) | | -| **RasmusErik Voel Jensen** | [**@rasmuserik**](https://github.com/rasmuserik) | | diff --git a/LICENSE.md b/LICENSE similarity index 91% rename from LICENSE.md rename to LICENSE index 1e78cf8..fc29db4 100644 --- a/LICENSE.md +++ b/LICENSE @@ -1,6 +1,6 @@ -# The MIT License (MIT) +The MIT License (MIT) -**Copyright © 2013-present Rod Vagg and [Contributors](CONTRIBUTORS.md).** +Copyright © 2013 Rod Vagg and the contributors to level. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index ce72dff..f9f7bdb 100644 --- a/README.md +++ b/README.md @@ -3,15 +3,13 @@ > Fast & simple storage. A Node.js-style `LevelDB` wrapper for Node.js, Electron and browsers. [![level badge][level-badge]](https://github.com/Level/awesome) -[![npm](https://img.shields.io/npm/v/level.svg?label=&logo=npm)](https://www.npmjs.com/package/level) +[![npm](https://img.shields.io/npm/v/level.svg)](https://www.npmjs.com/package/level) [![Node version](https://img.shields.io/node/v/level.svg)](https://www.npmjs.com/package/level) -[![AppVeyor](https://img.shields.io/appveyor/ci/Level/level.svg?logo=appveyor&label=)](https://ci.appveyor.com/project/Level/level) -[![Test](https://github.com/Level/level/actions/workflows/test.yml/badge.svg)](https://github.com/Level/level/actions/workflows/test.yml) -[![Coverage Status](https://codecov.io/gh/Level/level/branch/master/graph/badge.svg)](https://codecov.io/gh/Level/level) -[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) -[![npm](https://img.shields.io/npm/dm/level.svg?label=dl)](https://www.npmjs.com/package/level) -[![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) +[![Test](https://img.shields.io/github/workflow/status/Level/level/Test?label=test)](https://github.com/Level/level/actions/workflows/test.yml) +[![Coverage](https://img.shields.io/codecov/c/github/Level/level?label=&logo=codecov&logoColor=fff)](https://codecov.io/gh/Level/level) +[![Standard](https://img.shields.io/badge/standard-informational?logo=javascript&logoColor=fff)](https://standardjs.com) +[![Common Changelog](https://common-changelog.org/badge.svg)](https://common-changelog.org) +[![Donate](https://img.shields.io/badge/donate-orange?logo=open-collective&logoColor=fff)](https://opencollective.com/level) ## Table of Contents @@ -41,8 +39,6 @@ - [Events](#events) - [Contributing](#contributing) - [Donate](#donate) - - [Backers](#backers) - - [Sponsors](#sponsors) - [License](#license) @@ -523,19 +519,11 @@ See the [Contribution Guide](https://github.com/Level/community/blob/master/CONT ## 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) and [npm](https://www.npmjs.com/) packages. 💖 - -### 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) +Support us with a monthly donation on [Open Collective](https://opencollective.com/level) and help us continue our work. ## License -[MIT](LICENSE.md) © 2013-present Rod Vagg and [Contributors](CONTRIBUTORS.md). +[MIT](LICENSE) [level-badge]: https://leveljs.org/img/badge.svg diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 2244b25..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,20 +0,0 @@ -version: "{build}" -build: off -skip_tags: true - -environment: - matrix: - - nodejs_version: "10" - - nodejs_version: "12" - - nodejs_version: "14" - -platform: - - x64 - -install: - - ps: Install-Product node $env:nodejs_version $env:platform - - set PATH=%APPDATA%\npm;%APPVEYOR_BUILD_FOLDER%\node_modules\.bin;%PATH% - - npm i - -test_script: - - npm test diff --git a/package.json b/package.json index 62f3e47..2c049dc 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,6 @@ "browser.js", "level.js", "CHANGELOG.md", - "CONTRIBUTORS.md", - "LICENSE.md", "UPGRADING.md" ], "browser": "browser.js", @@ -31,7 +29,6 @@ "airtap-playwright": "^1.0.1", "dependency-check": "^4.1.0", "hallmark": "^3.0.0", - "level-community": "^3.0.0", "nyc": "^15.0.0", "standard": "^16.0.3", "tape": "^5.0.1", @@ -41,9 +38,6 @@ "type": "opencollective", "url": "https://opencollective.com/level" }, - "hallmark": { - "community": "level-community" - }, "repository": { "type": "git", "url": "https://github.com/Level/level.git"