mirror of
https://github.com/sern-handler/handler
synced 2026-06-27 18:22:14 +00:00
refactor/decoupling (#265)
* fix npm script for workflows * filter lazy modules * lift inline function for readability * perf: use one instance of operator instead of creating instances * chore: move fmt closer to call site * refactor: inline function lifting and readability * add import payload type * refactor: remove redundant pipe for single function operators * refactor: clearer naming for resultResolver * refactor: no unused variable warning for updateAlive * style: pretty * refactor: remove redundant getter * style: pretty * fix: typescript needs explicit definition for defineAllFields * add LazyPaths map * chore: update tsup and typescript * chore: revert lazy module work and work on decoupling core * fix npm script for workflows * chore: fix typings * refactor: inline function `defineAllFields` * docs: add @since annotation * style: prettier * docs: add since annotations * fix: typings * chore: update dependencies * chore: remove unused import * style: pretty * merge on home pc * refactor: use dependencies less --------- Co-authored-by: jacoobes <jacobnguyend@gmail.com>
This commit is contained in:
@@ -67,3 +67,5 @@ export interface DependencyConfiguration<T extends Dependencies> {
|
||||
exclude?: Set<OptionalDependencies>;
|
||||
build: (root: Container<Omit<Dependencies, '@sern/client'>, {}>) => Container<T, {}>;
|
||||
}
|
||||
|
||||
export type ImportPayload<T> = { module: T; absPath: string };
|
||||
|
||||
Reference in New Issue
Block a user