Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
feat: add fastify plugin (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
KagChi authored Feb 15, 2024
1 parent 5fda44a commit 028270c
Show file tree
Hide file tree
Showing 26 changed files with 1,752 additions and 12 deletions.
4 changes: 4 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ export default [
{
rule: "@typescript-eslint/strict-boolean-expressions",
option: ["off"]
},
{
rule: "@typescript-eslint/consistent-type-definitions",
option: ["off"]
}
]),
...ignores
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/NezuChan/library"
"url": "https://github.com/NezuChan/kanao"
},
"homepage": "https://nezu.my.id",
"main": "./dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/Typings/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export type ClientOptions = {
export interface ClientOptions {
token?: string;
amqpUrl: string;
shardIds?: number[] | { start: number; end: number; };
rest?: string;
databaseUrl: string;
};
}
2 changes: 1 addition & 1 deletion packages/framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/NezuChan/library"
"url": "https://github.com/NezuChan/kanao"
},
"homepage": "https://nezu.my.id",
"files": [
Expand Down
5 changes: 5 additions & 0 deletions packages/kanao-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
"lint": "eslint src",
"lint:fix": "eslint src --fix"
},
"repository": {
"type": "git",
"url": "https://github.com/NezuChan/kanao"
},
"homepage": "https://nezu.my.id",
"keywords": [],
"author": "KagChi",
"license": "GPL-3.0",
Expand Down
277 changes: 277 additions & 0 deletions plugins/fastify-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,277 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.3.3](https://github.com/NezuChan/library/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2024-01-01)

**Note:** Version bump only for package @nezuchan/fastify-plugin





## [0.3.2](https://github.com/NezuChan/library/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2024-01-01)

**Note:** Version bump only for package @nezuchan/fastify-plugin





## [0.3.1](https://github.com/NezuChan/library/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2024-01-01)

**Note:** Version bump only for package @nezuchan/fastify-plugin





# [0.3.0](https://github.com/NezuChan/library/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-12-31)


### Bug Fixes

* **deps:** update all non-major dependencies ([#50](https://github.com/NezuChan/library/issues/50)) ([ce1f360](https://github.com/NezuChan/library/commit/ce1f36082841e6cb2040d7f4d6f34a1a7cd9cf23))
* **deps:** update dependency @sapphire/pieces to v4 ([#54](https://github.com/NezuChan/library/issues/54)) ([523bfde](https://github.com/NezuChan/library/commit/523bfdeb8ffdce7667bf7fd06a9466f201f71c50))
* **deps:** update dependency @sapphire/utilities to ^3.15.1 ([8e259bc](https://github.com/NezuChan/library/commit/8e259bc985ec313796d2856062c1393ede1fb456))





## [0.2.9](https://github.com/NezuChan/library/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-12-07)

**Note:** Version bump only for package @nezuchan/fastify-plugin





## [0.2.8](https://github.com/NezuChan/library/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-12-07)


### Bug Fixes

* **deps:** update sapphire dependencies ([3a34b73](https://github.com/NezuChan/library/commit/3a34b73e086a41be67e0c1b962bc7761033435f8))





## [0.2.7](https://github.com/NezuChan/library/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-11-18)


### Bug Fixes

* **deps:** update all non-major dependencies ([#35](https://github.com/NezuChan/library/issues/35)) ([2817e59](https://github.com/NezuChan/library/commit/2817e59f298aab90662d40eea94e2d80a8736241))
* **deps:** update dependency @discordjs/collection to v2 ([#43](https://github.com/NezuChan/library/issues/43)) ([a87cb5b](https://github.com/NezuChan/library/commit/a87cb5bbcedebadb74862ae6f7958ecac8ee46dd))
* **deps:** update dependency @sapphire/pieces to ^3.10.0 ([f3cde93](https://github.com/NezuChan/library/commit/f3cde93376026fd81465f915d3052e3721336efc))
* **deps:** update dependency @sapphire/pieces to ^3.7.1 ([0f52f03](https://github.com/NezuChan/library/commit/0f52f03d3357f0cebe1c541df748184f53b8d2c9))
* **deps:** update dependency @sapphire/pieces to ^3.9.0 ([4bd85e8](https://github.com/NezuChan/library/commit/4bd85e86b973bbdf1294e004c75836094ea85559))





## [0.2.6](https://github.com/NezuChan/library/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-09-24)

**Note:** Version bump only for package @nezuchan/fastify-plugin





## [0.2.5](https://github.com/NezuChan/library/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-09-16)


### Bug Fixes

* **deps:** update all non-major dependencies ([99f2e19](https://github.com/NezuChan/library/commit/99f2e196e4718ed1a590ee3c8231fde881b6cd32))
* **deps:** update dependency fastify to ^4.23.2 ([4779d0b](https://github.com/NezuChan/library/commit/4779d0b9bfdadffdbc10381ade9b036631f24ad8))





## [0.2.4](https://github.com/NezuChan/library/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-09-13)

**Note:** Version bump only for package @nezuchan/fastify-plugin





## [0.2.3](https://github.com/NezuChan/library/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-09-09)

**Note:** Version bump only for package @nezuchan/fastify-plugin





## [0.2.2](https://github.com/NezuChan/library/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-09-09)

**Note:** Version bump only for package @nezuchan/fastify-plugin





## [0.2.1](https://github.com/NezuChan/library/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-09-07)

**Note:** Version bump only for package @nezuchan/fastify-plugin





# [0.2.0](https://github.com/NezuChan/library/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-08-30)


### Features

* add socket.io to fastify-plugin ([#6](https://github.com/NezuChan/library/issues/6)) ([d1acf54](https://github.com/NezuChan/library/commit/d1acf54389abf43d2f637667d4e593a1db0eff55))





## 0.1.9 (2023-08-27)


### Bug Fixes

* install missing deps ([6e9691f](https://github.com/NezuChan/library/commit/6e9691fa20abbf18f3c56c5bb6ce012104315889))


### Features

* add plugins package ([3a73b35](https://github.com/NezuChan/library/commit/3a73b35faa1c91c3396b3b3b5f23f1cb1b49c1ae))
* use pnpm workspace version ([0593064](https://github.com/NezuChan/library/commit/05930644af446f6d82511c1ce4d921e9f800f150))





## [0.1.8](https://github.com/NezuChan/plugins/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-08-27)


### Bug Fixes

* **deps:** update all non-major dependencies ([#13](https://github.com/NezuChan/plugins/issues/13)) ([20ec256](https://github.com/NezuChan/plugins/commit/20ec25624494c9b8bfbdcc56bbf7d33c063b7e87))
* **deps:** update dependency @sapphire/pieces to ^3.7.0 ([d4338ab](https://github.com/NezuChan/plugins/commit/d4338ab30582b7877a0d1f2865ba103b0cf5577a))


### Features

* pass all options to route ([b62805d](https://github.com/NezuChan/plugins/commit/b62805d1fd02dd731ba94807b290e46320c704e1))





## [0.1.7](https://github.com/NezuChan/plugins/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-05-18)


### Bug Fixes

* change github readme license location ([4eceb2f](https://github.com/NezuChan/plugins/commit/4eceb2f24fd13a20a16cfebaa5e303112f7e6e7a))


### Features

* tasker plugin ([c5a31cc](https://github.com/NezuChan/plugins/commit/c5a31cc267237cba2830743bed407fe5beb0c626))





## [0.1.6](https://github.com/NezuChan/plugins/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-05-17)


### Bug Fixes

* error types ([5d629ba](https://github.com/NezuChan/plugins/commit/5d629ba90450de3b9b5b86895a8fca18b910e2c7))





## [0.1.5](https://github.com/NezuChan/plugins/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-05-17)


### Bug Fixes

* default to statusCode ([fe8cb8e](https://github.com/NezuChan/plugins/commit/fe8cb8ebbf02fe86e787c673bcd85062124e0b04))





## [0.1.4](https://github.com/NezuChan/plugins/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-05-17)


### Bug Fixes

* properly handle prehandlers ([c68651d](https://github.com/NezuChan/plugins/commit/c68651de344a45a061d03476b66e48b3ee9d00d0))





## [0.1.3](https://github.com/NezuChan/plugins/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-05-17)


### Bug Fixes

* listen app post login ([4bfb752](https://github.com/NezuChan/plugins/commit/4bfb752361429e7fb35a8d1a175c4b8f2c6a93b1))





## [0.1.2](https://github.com/NezuChan/plugins/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-05-17)


### Bug Fixes

* add extension ([a8b4960](https://github.com/NezuChan/plugins/commit/a8b49606504e3913e789283ec394f21d55a82835))





## [0.1.1](https://github.com/NezuChan/plugins/compare/@nezuchan/[email protected]...@nezuchan/[email protected]) (2023-05-17)


### Bug Fixes

* import index ([7acbc1e](https://github.com/NezuChan/plugins/commit/7acbc1ef93b3d1d277eb602e57c6e82044a587fb))





# 0.1.0 (2023-05-17)


### Bug Fixes

* add publish config ([126cdbe](https://github.com/NezuChan/plugins/commit/126cdbe808befe33fd66f1091ebbb7b0e9aa68be))


### Features

* initial commit ([0248d58](https://github.com/NezuChan/plugins/commit/0248d58885181fc6168ab46aee1a60101545b62a))





# 0.1.0 (2023-05-17)


### Features

* initial commit ([0248d58](https://github.com/NezuChan/plugins/commit/0248d58885181fc6168ab46aee1a60101545b62a))
Loading

0 comments on commit 028270c

Please sign in to comment.