fix: missing export in deno.json

This commit is contained in:
alikia2x (寒寒) 2025-03-29 18:43:47 +08:00
parent d88ad099c4
commit 879a6604e5
Signed by: alikia2x
GPG Key ID: 56209E0CCD8420C6
3 changed files with 10 additions and 1 deletions

1
.gitignore vendored
View File

@ -80,6 +80,7 @@ __pycache__
ml/filter/runs
ml/pred/runs
ml/pred/checkpoints
ml/pred/observed
ml/data/
ml/filter/checkpoints
scripts

View File

@ -45,5 +45,6 @@
"indentWidth": 4,
"semiColons": true,
"proseWrap": "always"
}
},
"exports": "./main.ts"
}

7
packages/crawler/main.ts Normal file
View File

@ -0,0 +1,7 @@
// DENO ASK ME TO EXPORT SOMETHING WHEN 'name' IS SPECIFIED
// AND IF I DON'T SPECIFY 'name', THE --filter FLAG IN `deno task` WON'T WORK.
// I DONT'T KNOW WHY
// SO HERE'S A PLACHOLDER EXPORT FOR DENO:
export const DENO = "FUCK YOU DENO";
// Oh, maybe export the version is a good idea
export const VERSION = "1.0.12";