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 /
2
2
node_modules /
3
3
4
4
compose.yaml
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ SLEEP_TIME=${SLEEP_TIME:-10800}
4
4
5
5
while true ; do
6
6
DATE=$( date)
7
- node build /src/index.js
7
+ node dist /src/index.js
8
8
echo " Last run time: $DATE "
9
9
echo " Will run in $(( SLEEP_TIME / 60 )) minutes"
10
10
sleep " $SLEEP_TIME "
Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ export default tseslint.config(
10
10
tseslint . configs . stylistic ,
11
11
prettierConfig ,
12
12
{
13
- ignores : [ "build " ] ,
13
+ ignores : [ "dist/**" , "node_modules/** "] ,
14
14
} ,
15
15
) ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { config } from "./config.js";
6
6
function isHelp ( ) {
7
7
if ( process . argv . includes ( "--help" ) ) {
8
8
console . log ( `
9
- Usage: node build /index.js [options]
9
+ Usage: node dist /index.js [options]
10
10
11
11
Options:
12
12
--help Show this help message
Original file line number Diff line number Diff line change 1
1
{
2
2
"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
9
33
},
10
34
"include" : [
11
35
" src/**/*.ts"
12
36
],
13
37
"exclude" : [
14
- " src/**/*.test.ts"
38
+ " src/**/*.test.ts" ,
39
+ " node_modules/**"
15
40
]
16
41
}
You can’t perform that action at this time.
0 commit comments