-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update repo automation * docs: update readme
- Loading branch information
Showing
7 changed files
with
60 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" | ||
open-pull-requests-limit: 10 | ||
|
||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
open-pull-requests-limit: 10 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
semver: | ||
description: 'The semver to use' | ||
required: true | ||
default: 'patch' | ||
type: choice | ||
options: | ||
- patch | ||
- minor | ||
- major | ||
pull_request: | ||
types: [closed] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- uses: nearform/optic-release-automation-action@v2 | ||
with: | ||
github-token: ${{ secrets.github_token }} | ||
npm-token: ${{ secrets.NPM_TOKEN }} | ||
optic-token: ${{ secrets.OPTIC_TOKEN }} | ||
semver: ${{ github.event.inputs.semver }} | ||
sync-semver-tags: 'true' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,3 +104,4 @@ dist | |
.tern-port | ||
|
||
package-lock.json | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
# fastify-raw-body | ||
|
||
![ci](https://github.com/Eomm/fastify-raw-body/workflows/ci/badge.svg) | ||
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/) | ||
[![Build Status](https://github.com/Eomm/fastify-raw-body/workflows/ci/badge.svg)](https://github.com/Eomm/fastify-raw-body/actions) | ||
[![npm](https://img.shields.io/npm/v/fastify-raw-body)](https://www.npmjs.com/package/fastify-raw-body) | ||
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) | ||
|
||
Adds the raw body to the Fastify request object. | ||
|
||
|
@@ -13,13 +14,13 @@ Adds the raw body to the Fastify request object. | |
npm i fastify-raw-body | ||
``` | ||
|
||
### Fastify v2 | ||
### Compatibility | ||
|
||
The version `2.x` of this module support Fastify v2 and Node.js>=6 | ||
| Plugin version | Fastify version | | ||
| ------------- |:---------------:| | ||
| `^2.0.0` | `^2.0.0` | | ||
| `^3.0.0` | `^3.0.0` | | ||
|
||
``` | ||
npm i [email protected] | ||
``` | ||
|
||
## Usage | ||
|
||
|
@@ -65,4 +66,4 @@ If you haven't customized this component, it will be secure as the original one | |
|
||
## License | ||
|
||
Licensed under [MIT](./LICENSE). | ||
Copyright [Manuel Spigolon](https://github.com/Eomm), Licensed under [MIT](./LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters