renovate[bot]
50dac7fb46
chore(deps): update dependency @typescript-eslint/parser to v5.47.1 ( #160 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com >
2022-12-28 15:10:17 -06:00
renovate[bot]
565c4fc35a
chore(deps): update dependency eslint to v8.30.0 ( #152 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-28 14:56:44 -06:00
Jacob Nguyen
14556223fd
feat!:(2.0 global services) ( #156 )
...
* style: prettier line feed changes
* style: prettier line feed changes
* feat: prototyping module manager
* feat: removing unused types
* feat: update location of module typings
* revert: port back to original interaction type checkers
* revert: port back to original interaction type checkers
* revert: remove unneeded type predicates
* feat: moving modules to its own contained class
* feat: getting global plugins some typings and adding contracts
* chore: fixing up and cleaning code
* feat: adding ModuleConfiguration helper fn and default module manager
* feat: solidifying contract
* revert: delete files
* chore: saving for later
* feat: prototyping module manager
* feat: removing unused types
* feat: update location of module typings
* revert: port back to original interaction type checkers
* revert: port back to original interaction type checkers
* revert: remove unneeded type predicates
* feat: moving modules to its own contained class
* feat: getting global plugins some typings and adding contracts
* chore: fixing up and cleaning code
* feat: adding ModuleConfiguration helper fn and default module manager
* feat: solidifying contract
* revert: delete files
* chore: saving for later
* feat: more merge conflicts
* feat: starting from scratch, add new typings
* feat: refactor ScopedPlugin typing
* feat: strengthening contracts
* chore: edit eslint
* feat: add addDependencies
* feat: add iti di
* feat: constfn util
* revert: delete old files
* remove: ModuleConfiguration
* feat: add sanity checker
* feat: add new error and update dependency
* feat: add sanity check for iti
* feat: add function helpers for di
* feat: add POC for sern di IOC
* feat: refactor DependenciesMap
* revert: remove old code
* feat: refactor makeDependencies fn
* chore(deps): update dependency @typescript-eslint/parser to v5.36.1 (#127 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.36.1 (#126 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* docs: Fix the code example (#128 )
* chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.36.2 (#130 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com >
* chore(deps): update dependency @typescript-eslint/parser to v5.36.2 (#131 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com >
* feat: allow constructable modules (#133 )
* Update readFile.ts
* Update userDefinedEventsHandling.ts
* Update readyHandler.ts
* fix: ts error
Co-authored-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com >
Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com >
* revert: feat of allow constructable modules (#138 )
Revert "feat: allow constructable modules (#133 )"
This reverts commit 03936eb2ea .
* feat: update CODEOWNERS
* feat: classmodules@arcs (#143 )
* feat: add class based commands
* docs: add deprecation warnings
* feat: add deprecation warnings
* feat: add more deprecation warnings
* feat: add prototype ClassModule abstract class
* feat: add EventModuleClass prototype, change names
* feat: more flexible contract
* feat: EventExecutable
* fix: typo
* feat: made abstract classes because of defaults
* fix: typings
* feat: update Context typings, update to djs v15
* chore: update typescript dependency
* chore: bump version
* chore: update ignore
* chore: prettier
* docs: change readme to be docusaurus compliant
* chore(main): release 1.2.0 (#145 )
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix(autocomplete): now support multiple autocomplete options (#147 )
* chore(main): release 1.2.1 (#148 )
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* feat: update location of module typings
* feat: getting global plugins some typings and adding contracts
* feat: adding ModuleConfiguration helper fn and default module manager
* feat: solidifying contract
* feat: removing unused types
* feat: update location of module typings
* feat: moving modules to its own contained class
* feat: getting global plugins some typings and adding contracts
* feat: solidifying contract
* revert: delete files
* chore: saving for later
* feat: more merge conflicts
* feat: starting from scratch, add new typings
* feat: strengthening contracts
* feat: add sanity check for iti
* feat: refactor DependenciesMap
* feat: adding POC back
* docs: add some deprecation warnings
* feat: remove client and sernEmitter
* feat: rebase global_services
* chore: oops rebase pkgjson fix
* fix: typings
* feat: iti update and getting di working
* feat: adding contracts and default provider
* feat: update typings and change logger
* fix: MapDeps typings and useContainer typings
* feat: moving handlers to 2.0
* feat: injecting crash handler
* feat: alpha logging injection?
* feat: injecting modulemanager in interactionhandler
* fix: typos and fixups
* fix: typos and fixups
* feat: moduleManager injection
* fix: crash on no module
* feat: i think optional dependencies work
* feat: add more optional support
* feat: make exclusion optional
* perf: simplify typings and reduce compile time
* fix: some typings adjustment, deprecating a field
* perf: simplifying plugin typings
* feat: remove addExternal
* feat: more simplifying typings
* perf: allow any and interfacify some types
* revert: remove horrendous Override type
* revert: delete interaction type predicates
* fix: unchecked cast to EventEmitter
* perf: remove unneeded creation of instance members
* feat: init test dir
* refactor: rename fn and short circuit name fn
* refactor: insert function
* feat: starting event module onEvent plugins and log payload
* feat: basic eventmodule event plugins?
* refactor: DRY
* feat: unify warning typing
* fix: typings
* feat: more progress on new eventModules
* feat: event modules with plugins!!?!?
* feat: making sernEmitter create default!!, readjust typings
* feat: inject sernEmitter emits and catch possible errors
* feat: add optionality to Logger dep type
* feat: context upgrade, fix circular emissions, crap ton of shit
* feat!: Module -> AnyModule, Added new SelectMenuInteractions, Changed some CommandType names
* feat: rudimentary onClick handler
* feat!: rename select menu command types, no distinguishing between text and alias
* docs: adding docs
* fix: forgot to change
* fix: logging undefined
* revert: remove spreadparams
* feat: export useContainerRaw function and fix smol bug
* feat: add iti DI disposeAll on crash
* fix: deferred execute
* feat!: rename BasePlugin -> Plugin
* feat: commandplugins for event modules, ill test later
* refactor: rename
* refactor: remove import
* feat: add deprecation warnings
* feat: update documentation comments
* perf: static'ify command plugin and event plugin typings
* refactor: remove redundant assignment
* feat: switch to pnpm
* chore: update pnpm lock
* fix: errors crashing and completing subscription
* feat: update example
* fix: overriding dependencies no matter what
* fix: bad rxjs docs
* refactor: destructuring
* feat: update typings for addDisposer
* feat: update packageManager field in package.json
* feat: grammar
Co-authored-by: jacoobes <jacobnguyend@gmail.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com >
Co-authored-by: Arcs <73959934+HighArcs@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Evo <85353424+EvolutionX-10@users.noreply.github.com >
2022-12-28 14:18:36 -06:00
renovate[bot]
59c1c9c6a9
chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.44.0 ( #154 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-25 16:47:17 -06:00
renovate[bot]
a120136f55
chore(deps): update dependency @typescript-eslint/parser to v5.44.0 ( #155 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-25 16:37:43 -06:00
xxDeveloper
9b2d7eea5f
chore: Update the old domain ( #157 )
2022-11-20 18:29:11 +03:00
renovate[bot]
ee763301d0
chore(deps): update dependency eslint to v8.25.0 ( #141 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-20 15:56:31 -05:00
renovate[bot]
c5f6eb9794
chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.40.1 ( #139 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-20 15:38:24 -05:00
renovate[bot]
ec8a61a9ee
chore(deps): update dependency @typescript-eslint/parser to v5.40.1 ( #140 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-20 15:33:10 -05:00
github-actions[bot]
790ce1681c
chore(main): release 1.2.1 ( #148 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-10-03 11:53:45 -05:00
Jacob Nguyen
50288867a5
feat: classmodules@arcs ( #143 )
...
* feat: add class based commands
* docs: add deprecation warnings
* feat: add deprecation warnings
* feat: add more deprecation warnings
* feat: add prototype ClassModule abstract class
* feat: add EventModuleClass prototype, change names
* feat: more flexible contract
* feat: EventExecutable
* fix: typo
* feat: made abstract classes because of defaults
* fix: typings
* feat: update Context typings, update to djs v15
* chore: update typescript dependency
* chore: bump version
* chore: update ignore
* chore: prettier
* docs: change readme to be docusaurus compliant
2022-09-28 11:52:25 -05:00
renovate[bot]
992619f8e5
chore(deps): update dependency @typescript-eslint/parser to v5.36.2 ( #131 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com >
2022-09-11 14:24:50 +03:00
renovate[bot]
b995560ec6
chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.36.2 ( #130 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com >
2022-09-11 14:19:40 +03:00
renovate[bot]
d5d1b4129b
chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.36.1 ( #126 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 11:26:55 +03:00
renovate[bot]
7658d3e3ab
chore(deps): update dependency @typescript-eslint/parser to v5.36.1 ( #127 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 11:24:09 +03:00
Jacob Nguyen
395549c173
feat: add proper error handling ( #115 )
2022-08-29 08:09:52 +05:30
github-actions[bot]
ff5c161469
stlye: pretty please ( #124 )
...
Co-authored-by: EvolutionX-10 <EvolutionX-10@users.noreply.github.com >
2022-08-29 07:12:33 +05:30
renovate[bot]
62bfcb1eb7
chore(deps): update dependency @typescript-eslint/parser to v5.35.1 ( #111 )
2022-08-28 09:40:48 +03:00
renovate[bot]
fbf54c9d36
chore(deps): update dependency typescript to v4.8.2 ( #113 )
2022-08-28 09:39:48 +03:00
renovate[bot]
b999918b71
chore(deps): update dependency eslint to v8.23.0 ( #112 )
2022-08-28 09:39:10 +03:00
renovate[bot]
224ce97fe8
chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.35.1 ( #110 )
2022-08-28 09:38:01 +03:00
renovate[bot]
f0f54cb7f2
chore(deps): update dependency eslint to v8.22.0 ( #103 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-21 22:34:54 +03:00
renovate[bot]
ebe759f5e0
chore(deps): update dependency @typescript-eslint/parser to v5.33.1 ( #102 )
2022-08-18 22:16:10 +03:00
renovate[bot]
58d97e08a5
chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.33.1 ( #101 )
2022-08-18 22:15:18 +03:00
github-actions[bot]
21a438768b
chore(main): release 1.0.0 ( #82 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-15 10:52:13 -05:00
Jacob Nguyen
b3ed8da68f
feat: add discord.js as a peerDependency instead
2022-08-14 18:35:39 -05:00
renovate[bot]
bf8a5d5a11
chore(deps): update dependency eslint to v8.21.0 ( #99 )
2022-08-06 23:55:06 +03:00
Jacob Nguyen
74378f0f12
feat: shrink package size, improve dev deps, esm and cjs support ( #98 )
...
* chore: fix tsc predicate type checking
* build: add tsup as bundler
* chore: revert text
* chore: fix predicates.ts, update dependencies, bump version
* docs: update example
* build: update dependencies
* fix: crash on collectors (#89 )
* fix: crash on collectors
* feat: bump version for bug fix
* fix: crash on collectors pt
* docs: adding some documentation for docasaurus
* docs: add errors.ts comments
* docs: refactor comments
* docs: adding examples
* feat: refresh package-lock.json
* refactor: destructure and clean namespaces
* feat: add regen package.json script
* feat: add tsup, remove tsc, add scripts
* feat: update ts-results import style
* feat: readd typescript because idk if i should
* feat: breakup tsconfigs and add tsup config
* feat: add esm json tsconfig to git
* build: update dependencies and move to ts-result-es
* feat: remove unused function
* feat: update ts-results for esm/cjs interop!
* revert: remove version.txt
* build: goodbye tsc, hello tsup
* build: moving discord.js as dev dependency
* style: requested changes
* feat: add tsc back ( i missed you )
* build: bump version -> 1.0.0
* feat: syncing to main
* style: pretty
* feat: fix tsconfig issues with tsup
* revert: remove ExternallyUsed
* feat: update scripts
* build: update tsup and pkg-lock.json
* feat: refresh package-lock.json
* feat: test
2022-08-06 15:51:19 -05:00
Jacob Nguyen
0559fcca96
chore: forgot to remove console log at prod lol
2022-08-02 14:29:42 -05:00
Jacob Nguyen
70d7bdb8c5
fix: autocomplete in nested form ( #97 )
...
Co-authored-by: Evo <85353424+EvolutionX-10@users.noreply.github.com >
2022-08-03 00:21:31 +05:30
renovate[bot]
24fae252a7
chore(deps): update dependency @typescript-eslint/parser to v5.32.0 ( #94 )
2022-08-02 13:20:28 +03:00
renovate[bot]
d70a2a1d5e
chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.32.0 ( #93 )
2022-08-02 13:19:12 +03:00
renovate[bot]
ca728f755b
chore(deps): update dependency eslint to v8.20.0 ( #87 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-24 12:53:56 +03:00
renovate[bot]
d8d6330260
chore(deps): update dependency @typescript-eslint/parser to v5.30.7 ( #85 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-24 12:51:19 +03:00
renovate[bot]
c17c49bb17
chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.30.7 ( #84 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-24 12:47:38 +03:00
Jacob Nguyen
7da7bff700
fix: crash on collectors pt
2022-07-20 14:36:32 -05:00
Jacob Nguyen
a0587f59d4
fix: crash on collectors ( #89 )
...
* fix: crash on collectors
* feat: bump version for bug fix
2022-07-20 14:00:49 -05:00
Jacob Nguyen
d62be87c9a
build: update dependencies
2022-07-19 19:48:04 -05:00
Jacob Nguyen
d96681bfb5
chore: fix predicates.ts, update dependencies, bump version
2022-07-18 12:21:23 -05:00
Jacob Nguyen
2387add445
build: update discord.js to v14.0.1 and bump version
2022-07-17 17:17:38 -05:00
Jacob Nguyen
7bf15a2d5d
build: bump version
2022-07-16 15:38:12 -05:00
Jacob Nguyen
9a16c20dad
build: bump to patch version and remove unneeded scripts
2022-07-16 13:20:06 -05:00
Jacob Nguyen
17eb816ec9
refactor(events): use of classes for scalability & maintainability ( #83 )
...
Co-authored-by: EvolutionX-10 <evolutionx9777@gmail.com >
2022-07-16 23:38:11 +05:30
Jacob Nguyen
79be5096d3
build: remove cz and standard version
2022-07-15 23:13:22 -05:00
renovate[bot]
fcb5f6747c
chore(deps): update all non-major dependencies to v5.30.5 ( #74 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com >
2022-07-05 14:39:41 +03:00
renovate[bot]
dd75650a46
chore(deps): pin dependency standard-version to 9.5.0 ( #73 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-05 14:36:50 +03:00
renovate[bot]
cc127bd040
chore(deps): update all non-major dependencies ( #72 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-02 11:27:48 -05:00
Jacob Nguyen
e71b63d261
feat(*)!: improve quality of code, refactorings, QOL intellisense ( #64 )
...
* 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 >
2022-06-28 12:38:01 -05:00
Jacob Nguyen
3ea72259e4
build: version 1.0.1-beta
2022-06-01 11:50:12 -05:00
Jacob Nguyen
083b0609bd
build: fix vulnerability and upgrade to latest dev version of discord.js
2022-06-01 11:48:32 -05:00