mirror of
https://github.com/unraid/api.git
synced 2026-01-06 16:49:49 -06:00
chore: cleanup
This commit is contained in:
@@ -49,4 +49,4 @@ am(async () => {
|
||||
// eslint-disable-next-line unicorn/no-process-exit
|
||||
process.exit(1);
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -186,6 +186,7 @@ class MothershipService {
|
||||
try {
|
||||
mothershipLogger.debug('Connection closed with code %s.', code);
|
||||
|
||||
// Stop ws heartbeat
|
||||
if (this.pingTimeout) {
|
||||
clearTimeout(this.pingTimeout);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import type { CoreResult } from './core/types';
|
||||
import { pubsub, utils, coreLogger } from './core';
|
||||
|
||||
const { debugTimer } = utils;
|
||||
import { pubsub, coreLogger } from './core';
|
||||
import { debugTimer } from './core/utils';
|
||||
|
||||
/**
|
||||
* Publish update to topic channel.
|
||||
|
||||
@@ -6,8 +6,9 @@
|
||||
"author": "Alexis Tyler <xo@wvvw.me> (https://wvvw.me/)",
|
||||
"license": "UNLICENSED",
|
||||
"scripts": {
|
||||
"build": "npm run bundle && npm run copy-schemas",
|
||||
"bundle": "npx tsup ./app/index.ts --minify",
|
||||
"build": "npm run bundle-minify && npm run copy-schemas",
|
||||
"bundle": "npx tsup ./app/index.ts",
|
||||
"bundle-minify": "npx tsup ./app/index.ts --minify",
|
||||
"bundle-dependencies": "bundle-dependencies update",
|
||||
"copy-schemas": "cpx app/**/*.graphql dist/types",
|
||||
"clean": "modclean --no-progress --run --path .",
|
||||
|
||||
Reference in New Issue
Block a user