-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove support to fastify 3 and eslint
BREAKING CHANGE: Remove support to Fastify 3
- Loading branch information
1 parent
f39ab24
commit 1551e25
Showing
17 changed files
with
5,369 additions
and
11,622 deletions.
There are no files selected for viewing
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
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
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,4 +1 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx commitlint --edit "$1" |
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,4 +1 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npm run build |
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
|
||
<div align="center"> | ||
|
||
[](https://github.com/ducktors/arecibo/actions/workflows/ci.yaml) | ||
[](https://github.com/ducktors/arecibo/actions/workflows/ci.yaml) ![[email protected]](https://img.shields.io/badge/pnpm-10.4.1-yellow) | ||
[](https://www.npmjs.com/package/arecibo) | ||
[](https://www.npmjs.com/package/arecibo) | ||
[](https://github.com/prettier/prettier) | ||
|
@@ -21,16 +21,20 @@ | |
</div> | ||
|
||
## Installation | ||
__Note: Arecibo version 1 supports version 2 of Fastify. Arecibo version 2 supports version 3 of Fastify.__ | ||
__Note: Please refer to the table below to find the correct version of Arecibo for your Fastify version.__ | ||
|
||
|
||
| Arecibo version | Fastify version | Branch | | ||
| -- | -- | -- | | ||
| [v3](https://github.com/ducktors/arecibo/releases/tag/v3.1.0) | Fastify 3, 4, 5 | [master](https://github.com/ducktors/arecibo/tree/master) | | ||
| [v1.1.0](https://github.com/ducktors/arecibo/releases/tag/v1.1.0) | Fastify 2 | deprecated | | ||
| [v4](https://github.com/ducktors/arecibo/releases/tag/v4.0.0) | Fastify 4, 5 | [master](https://github.com/ducktors/arecibo/tree/master) | | ||
| [v3](https://github.com/ducktors/arecibo/releases/tag/v3.1.1) | Fastify 3, 4, 5 | not maintained | | ||
| [v1.1.0](https://github.com/ducktors/arecibo/releases/tag/v1.1.0) | Fastify 2 | deprecated | | ||
|
||
|
||
```bash | ||
npm i arecibo | ||
pnpm add arecibo | ||
npm install arecibo | ||
yarn add arecibo | ||
``` | ||
|
||
## Usage in Node.js | ||
|
@@ -50,7 +54,7 @@ fastify.register(arecibo, { | |
}) | ||
|
||
``` | ||
### Note for typescript users | ||
### Note for TypeScript users | ||
|
||
If you set `"esModuleInterop": true` you must import this module using `import arecibo from 'arecibo'`. | ||
|
||
|
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,21 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.1.2/schema.json", | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true | ||
} | ||
}, | ||
"formatter": { | ||
"indentStyle": "space" | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"semicolons": "asNeeded", | ||
"quoteStyle": "single" | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -7,4 +7,4 @@ module.exports = { | |
'footer-max-line-length': [0, 'always'], | ||
'body-max-line-length': [0, 'always'], | ||
}, | ||
}; | ||
} |
Oops, something went wrong.