mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
* feat: remove unit testing * feat: make command modules return Awaitable void | unknown * feat: more clear error for access message or interaction * feat: make TextCommand and SlashCommand return more specific arg type * feat: make TextCommand and SlashCommand return more specific arg type * fix: Remove type reduction to never in onReady.ts * feat: narrow typings for args Text and SlashCommand x3 * feat: make description optional, default is '...' * feat: add sern events natively register in sern.init * feat: remove jest.config.ts * fix: forget to add SernEvent to Wrapper declaration * feat: Make name and description defined when making plugins! * Update README.md * docs: Highly encourage to use cli * chore: Improved package.json * feat: Add .edit method and let .reply accept string * fix: intellij warnings * build: update discord.js to latest * chore(deps): Removed typedoc Removed typedoc dependency due we won't use it anymore * fix: Fixed typo at SECURITY.md file * feat: remove edit context method for future * feat: remove docs folder * feat: loading strategy slightly changed, does not throw error on finding no module in file * feat: change typings of sern emitter * feat: add generic to readFile.ts buildData, adding different event loading strategies * feat: add events.ts for more customizable event handling * refactor: type changes to adjust to event commands * feat: revamp module types to support event plugins * feat: rolling out more event loading support * style: Improved plugin.ts comments * style: Improved plugin.ts comments * style: Improved readyEvent.ts comments * feat: more support for event loading!! * fix: re add import after rebase * feat: more event handling progress * feat: Cleaning up types * refactor: Cleaning up and adding docs * feat: Changing types of wrapper for external and sern emitter * refactor: Adding some type aliases * feat: switch to match expression, add docs * feat: more progress on event handling * fix: complying to djs v14 build * feat: Add basic event handling, no plugins checked yet! * fix: Crash on interactionCreate event * build(package.json): bump version * build: bump to 1.0.4-beta * feat: move new things to top level import * feat: Separating events from command modules, leads separation of responsibility * feat: add enum for event modules * feat: Add more typings for event modules * feat: Add more plugin definitions * refactor: add asyncResolveArray.ts to resolve Awaitables easier * feat: throw error on plugin usage for event listeners * feat: throw error on plugin usage for event listeners * feat: change from client -> wrapper * style: eslint * style: add comment * feat: add absPath into commandPlugins! * build: remove 'tests' exclude * build: delete test.yml, change .prettierignore * build: bump version to 1.1.0-beta * docs(sern.ts): add comments for addExternal * fix: forgot to add required type property in comment * fix: load external event emitters correctly * chore: rebased api update branch (#65) Co-authored-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com> Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com> Co-authored-by: Evo <85353424+EvolutionX-10@users.noreply.github.com>
51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"name": "@sern/handler",
|
|
"version": "1.1.0-beta",
|
|
"description": "A customizable, batteries-included, powerful discord.js framework to automate and streamline bot development.",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"compile": "tsc",
|
|
"watch": "tsc -w",
|
|
"lint": "eslint src/**/*.ts",
|
|
"format": "eslint src/**/*.ts --fix",
|
|
"release": "standard-version && git push --follow-tags",
|
|
"commit": "cz"
|
|
},
|
|
"keywords": [
|
|
"sern-handler",
|
|
"sern",
|
|
"handler",
|
|
"sern handler",
|
|
"wrapper",
|
|
"discord.js",
|
|
"framework"
|
|
],
|
|
"author": "SernDevs",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"discord.js": "^14.0.0-dev.1647259751.2297c2b",
|
|
"rxjs": "^7.5.5",
|
|
"ts-pattern": "^4.0.2",
|
|
"ts-results": "^3.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^8.8.0",
|
|
"@typescript-eslint/parser": "^5.10.2",
|
|
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
|
"cz-conventional-changelog": "3.0.1",
|
|
"prettier": "2.6.2",
|
|
"standard-version": "^9.3.2",
|
|
"typescript": "4.5.5"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/sern-handler/handler.git"
|
|
},
|
|
"homepage": "https://sern-handler.js.org",
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "cz-conventional-changelog"
|
|
}
|
|
}
|
|
}
|