don't broadcast warnings

This commit is contained in:
Erik 2023-12-11 00:32:43 +02:00
parent ac4dbc758d
commit b41435f3ad
3 changed files with 12 additions and 6 deletions

View File

@ -57,7 +57,7 @@
"customColours": {},
"logLevel": 0,
"logLevelMapping": {},
"broadcastLevel": 3,
"broadcastLevel": 4,
"pruneDays": 7
},
"storage": {

View File

@ -6,12 +6,13 @@
"type": "module",
"scripts": {
"start": "yarn build && node --enable-source-maps build/index.js",
"dev": "nodemon --delay 5 --ignore *.json --trace-warnings --unhandled-rejections=strict index.js",
"dev": "nodemon --signal SIGINT --delay 5 -e js --trace-warnings --unhandled-rejections=strict build/index.js",
"debug": "node --trace-warnings --inspect index.js",
"update": "git pull && cd api && yarn update",
"test": "jest --detectOpenHandles",
"lint": "eslint --fix src/",
"build": "tsc --build"
"build": "tsc --build",
"watch": "tsc --watch"
},
"repository": {
"type": "git",

View File

@ -68,7 +68,7 @@
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
// "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
// "newLine": "crlf", /* Set the newline character for emitting files. */
"newLine": "lf", /* Set the newline character for emitting files. */
"stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
// "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
// "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
@ -79,7 +79,7 @@
/* Interop Constraints */
// "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
// "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
// "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
"allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
@ -111,5 +111,10 @@
},
"compileOnSave": true,
"exclude": ["archive", "api"],
"include": ["src", "index.ts", "@types"]
"include": ["src", "index.ts", "@types"],
"watchOptions": {
"watchFile": "useFsEvents",
"watchDirectory": "useFsEvents",
"excludeDirectories": ["**/node_modules", "./build"]
}
}