metamigo-common: build, fmt, lint
This commit is contained in:
parent
2a1ced5383
commit
75fb3f84c4
21 changed files with 95 additions and 156 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import * as Hapi from "@hapi/hapi";
|
||||
import * as http from "http";
|
||||
import * as http from "node:http";
|
||||
import type { HttpTerminator } from "http-terminator";
|
||||
import * as Glue from "@hapi/glue";
|
||||
import * as Promster from "@promster/hapi";
|
||||
|
|
@ -102,7 +102,6 @@ export const defaultPlugins = <T extends IMetamigoConfig>(
|
|||
{ plugin: StatusPlugin },
|
||||
{ plugin: Promster.createPlugin() },
|
||||
];
|
||||
// @ts-ignore
|
||||
return plugins;
|
||||
};
|
||||
|
||||
|
|
@ -110,7 +109,7 @@ export const announce = async <T extends IMetamigoConfig>(
|
|||
config: T
|
||||
): Promise<void> =>
|
||||
new Promise((resolve, reject) => {
|
||||
// @ts-expect-error
|
||||
// @ts-expect-error figlet doesn't have types
|
||||
figlet.text(
|
||||
config.meta.name,
|
||||
{ font: config.meta.figletFont },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue