File tree Expand file tree Collapse file tree 5 files changed +36
-11
lines changed Expand file tree Collapse file tree 5 files changed +36
-11
lines changed Original file line number Diff line number Diff line change 1- build /
1+ dist /
22node_modules /
33
44compose.yaml
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ SLEEP_TIME=${SLEEP_TIME:-10800}
44
55while true ; do
66 DATE=$( date)
7- node build /src/index.js
7+ node dist /src/index.js
88 echo " Last run time: $DATE "
99 echo " Will run in $(( SLEEP_TIME / 60 )) minutes"
1010 sleep " $SLEEP_TIME "
Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ export default tseslint.config(
1010 tseslint . configs . stylistic ,
1111 prettierConfig ,
1212 {
13- ignores : [ "build " ] ,
13+ ignores : [ "dist/**" , "node_modules/** "] ,
1414 } ,
1515) ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { config } from "./config.js";
66function isHelp ( ) {
77 if ( process . argv . includes ( "--help" ) ) {
88 console . log ( `
9- Usage: node build /index.js [options]
9+ Usage: node dist /index.js [options]
1010
1111Options:
1212--help Show this help message
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3- "rootDir" : " ." ,
4- "outDir" : " build" ,
5- "module" : " Node16" ,
6- "moduleResolution" : " Node16" ,
7- "target" : " ESNext" ,
8- "skipLibCheck" : true
3+ "outDir" : " ${configDir}/dist" ,
4+ "module" : " node18" ,
5+ "moduleDetection" : " force" ,
6+ "target" : " esnext" ,
7+ "lib" : [
8+ " DOM" ,
9+ " DOM.Iterable" ,
10+ " ES2022" , // Node.js 18
11+ ],
12+ "resolveJsonModule" : false , // ESM doesn't yet support JSON modules.
13+ "jsx" : " react" ,
14+ "declaration" : true ,
15+ "newLine" : " lf" ,
16+ "stripInternal" : true ,
17+ "strict" : true ,
18+ "allowUnreachableCode" : false ,
19+ "allowUnusedLabels" : false ,
20+ "noImplicitReturns" : true ,
21+ "noImplicitOverride" : true ,
22+ "noUnusedLocals" : true ,
23+ "noUnusedParameters" : true ,
24+ "noFallthroughCasesInSwitch" : true ,
25+ "noUncheckedIndexedAccess" : true ,
26+ "noPropertyAccessFromIndexSignature" : true ,
27+ "noUncheckedSideEffectImports" : true ,
28+ "noEmitOnError" : true ,
29+ "useDefineForClassFields" : true ,
30+ "forceConsistentCasingInFileNames" : true ,
31+ "skipLibCheck" : true ,
32+ "sourceMap" : true
933 },
1034 "include" : [
1135 " src/**/*.ts"
1236 ],
1337 "exclude" : [
14- " src/**/*.test.ts"
38+ " src/**/*.test.ts" ,
39+ " node_modules/**"
1540 ]
1641}
You can’t perform that action at this time.
0 commit comments