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/
|
node_modules/
|
||||||
|
|
||||||
compose.yaml
|
compose.yaml
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ SLEEP_TIME=${SLEEP_TIME:-10800}
|
|||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
DATE=$(date)
|
DATE=$(date)
|
||||||
node build/src/index.js
|
node dist/src/index.js
|
||||||
echo "Last run time: $DATE"
|
echo "Last run time: $DATE"
|
||||||
echo "Will run in $((SLEEP_TIME / 60)) minutes"
|
echo "Will run in $((SLEEP_TIME / 60)) minutes"
|
||||||
sleep "$SLEEP_TIME"
|
sleep "$SLEEP_TIME"
|
||||||
|
|||||||
@@ -10,6 +10,6 @@ export default tseslint.config(
|
|||||||
tseslint.configs.stylistic,
|
tseslint.configs.stylistic,
|
||||||
prettierConfig,
|
prettierConfig,
|
||||||
{
|
{
|
||||||
ignores: ["build"],
|
ignores: ["dist/**", "node_modules/**"],
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { config } from "./config.js";
|
|||||||
function isHelp() {
|
function isHelp() {
|
||||||
if (process.argv.includes("--help")) {
|
if (process.argv.includes("--help")) {
|
||||||
console.log(`
|
console.log(`
|
||||||
Usage: node build/index.js [options]
|
Usage: node dist/index.js [options]
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
--help Show this help message
|
--help Show this help message
|
||||||
|
|||||||
@@ -1,16 +1,41 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"rootDir": ".",
|
"outDir": "${configDir}/dist",
|
||||||
"outDir": "build",
|
"module": "node18",
|
||||||
"module": "Node16",
|
"moduleDetection": "force",
|
||||||
"moduleResolution": "Node16",
|
"target": "esnext",
|
||||||
"target": "ESNext",
|
"lib": [
|
||||||
"skipLibCheck": true
|
"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": [
|
"include": [
|
||||||
"src/**/*.ts"
|
"src/**/*.ts"
|
||||||
],
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"src/**/*.test.ts"
|
"src/**/*.test.ts",
|
||||||
|
"node_modules/**"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user