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 3685ba2..dc4649f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,5 @@ # Changelog -**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md). - ## [0.1.0] - 2019-09-22 ### Changed @@ -34,6 +32,6 @@ :seedling: Initial release. -[0.1.0]: https://github.com/Level/bench/compare/v0.0.1...v0.1.0 +[0.1.0]: https://github.com/Level/bench/releases/tag/v0.1.0 -[0.0.1]: https://github.com/Level/bench/compare/v0.0.0...v0.0.1 +[0.0.1]: https://github.com/Level/bench/releases/tag/v0.0.1 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md deleted file mode 100644 index e9797b9..0000000 --- a/CONTRIBUTORS.md +++ /dev/null @@ -1,5 +0,0 @@ -# Contributors - -| Name | GitHub | Social | -| :------------------ | :------------------------------------------- | :---------------------------------------------------- | -| **Vincent Weevers** | [**@vweevers**](https://github.com/vweevers) | [**@vweevers@twitter**](https://twitter.com/vweevers) | diff --git a/LICENSE.md b/LICENSE similarity index 92% rename from LICENSE.md rename to LICENSE index fb0fbdb..6a10e90 100644 --- a/LICENSE.md +++ b/LICENSE @@ -1,6 +1,6 @@ -# The MIT License (MIT) +The MIT License (MIT) -**Copyright © 2019-present [Contributors](CONTRIBUTORS.md).** +Copyright © 2019 The contributors to level-bench. 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 c67c653..5bce429 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,13 @@ > Currently only suitable for use in Node.js. [![level badge][level-badge]](https://github.com/Level/awesome) -[![npm](https://img.shields.io/npm/v/level-bench.svg?label=&logo=npm)](https://www.npmjs.com/package/level-bench) +[![npm](https://img.shields.io/npm/v/level-bench.svg)](https://www.npmjs.com/package/level-bench) [![Node version](https://img.shields.io/node/v/level-bench.svg)](https://www.npmjs.com/package/level-bench) -[![Test](https://github.com/Level/bench/actions/workflows/test.yml/badge.svg)](https://github.com/Level/bench/actions/workflows/test.yml) -[![Coverage Status](https://codecov.io/gh/Level/bench/branch/master/graph/badge.svg)](https://codecov.io/gh/Level/bench) -[![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) +[![Test](https://img.shields.io/github/workflow/status/Level/bench/Test?label=test)](https://github.com/Level/bench/actions/workflows/test.yml) +[![Coverage](https://img.shields.io/codecov/c/github/Level/bench?label=&logo=codecov&logoColor=fff)](https://codecov.io/gh/Level/bench) +[![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) ## Example @@ -189,18 +189,10 @@ 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) © 2019-present [Contributors](CONTRIBUTORS.md). +[MIT](LICENSE) [level-badge]: https://leveljs.org/img/badge.svg diff --git a/package.json b/package.json index c12e46a..281fdd3 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,15 @@ "dependency-check": "dependency-check --no-dev .", "prepublishOnly": "npm run dependency-check" }, + "files": [ + "benchmarks", + "lib", + "third-party", + "level-bench.js", + "CHANGELOG.md", + "UPGRADING.md", + "example.png" + ], "dependencies": { "bytes": "^3.1.0", "current-commit": "0.0.0", @@ -32,14 +41,10 @@ "dependency-check": "^4.1.0", "faucet": "^0.0.1", "hallmark": "^3.1.0", - "level-community": "^3.0.0", "nyc": "^15.0.0", "standard": "^16.0.3", "tape": "^5.0.1" }, - "hallmark": { - "community": "level-community" - }, "repository": "Level/bench", "homepage": "https://github.com/Level/bench", "keywords": [