-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
The issue is that Deno doesn't have a tsconfig.json file. On this page: https://github.com/denoland/deno/issues/51, it says that "currently, the ts config is hardcoded in runtime.ts". However, that post is from 2018, so I don't know if that's still true. But, for sure, my Deno project does not have a tsconfig.json file, so the following civet command fails:
$ civet --emit-declaration -o .ts -c test/lib2.civet
C:\Users\johnd\AppData\Roaming\npm\node_modules\@danielx\civet\dist\unplugin\unplugin.js:175
throw new Error("Could not find 'tsconfig.json'");
^
Error: Could not find 'tsconfig.json'
at Object.buildStart (C:\Users\johnd\AppData\Roaming\npm\node_modules\@danielx\civet\dist\unplugin\unplugin.js:175:17)
at async cli (C:\Users\johnd\AppData\Roaming\npm\node_modules\@danielx\civet\dist\civet:531:5)
Node.js v23.3.0Metadata
Metadata
Assignees
Labels
No labels