chore: update configs, signify version bump
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,4 +1,4 @@
|
||||
build/
|
||||
dist/
|
||||
node_modules/
|
||||
|
||||
compose.yaml
|
||||
|
||||
@@ -4,7 +4,7 @@ SLEEP_TIME=${SLEEP_TIME:-10800}
|
||||
|
||||
while true; do
|
||||
DATE=$(date)
|
||||
node build/src/index.js
|
||||
node dist/src/index.js
|
||||
echo "Last run time: $DATE"
|
||||
echo "Will run in $((SLEEP_TIME / 60)) minutes"
|
||||
sleep "$SLEEP_TIME"
|
||||
|
||||
@@ -10,6 +10,6 @@ export default tseslint.config(
|
||||
tseslint.configs.stylistic,
|
||||
prettierConfig,
|
||||
{
|
||||
ignores: ["build"],
|
||||
ignores: ["dist/**", "node_modules/**"],
|
||||
},
|
||||
);
|
||||
|
||||
@@ -6,7 +6,7 @@ import { config } from "./config.js";
|
||||
function isHelp() {
|
||||
if (process.argv.includes("--help")) {
|
||||
console.log(`
|
||||
Usage: node build/index.js [options]
|
||||
Usage: node dist/index.js [options]
|
||||
|
||||
Options:
|
||||
--help Show this help message
|
||||
|
||||
@@ -1,16 +1,41 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"rootDir": ".",
|
||||
"outDir": "build",
|
||||
"module": "Node16",
|
||||
"moduleResolution": "Node16",
|
||||
"target": "ESNext",
|
||||
"skipLibCheck": true
|
||||
"outDir": "${configDir}/dist",
|
||||
"module": "node18",
|
||||
"moduleDetection": "force",
|
||||
"target": "esnext",
|
||||
"lib": [
|
||||
"DOM",
|
||||
"DOM.Iterable",
|
||||
"ES2022", // Node.js 18
|
||||
],
|
||||
"resolveJsonModule": false, // ESM doesn't yet support JSON modules.
|
||||
"jsx": "react",
|
||||
"declaration": true,
|
||||
"newLine": "lf",
|
||||
"stripInternal": true,
|
||||
"strict": true,
|
||||
"allowUnreachableCode": false,
|
||||
"allowUnusedLabels": false,
|
||||
"noImplicitReturns": true,
|
||||
"noImplicitOverride": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"noPropertyAccessFromIndexSignature": true,
|
||||
"noUncheckedSideEffectImports": true,
|
||||
"noEmitOnError": true,
|
||||
"useDefineForClassFields": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"src/**/*.test.ts"
|
||||
"src/**/*.test.ts",
|
||||
"node_modules/**"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user