#Does TypeScript SDK interfere with regular typescript code?

1 messages · Page 1 of 1 (latest)

runic raft
#

I have an Astro project (https://docs.astro.build/en/getting-started/) that was daggerized. Whenever I ran npm run build to statically build my project, I got a TypeScript error because the command npm run build also runs by default astro check (https://docs.astro.build/en/reference/cli-reference/#astro-check).

I found two solutions:

  1. Rename the dagger folder to .dagger, which requires to update the dagger.json accordingly.
  2. Include the exclude property in the tsconfig.json file of my project: "exclude": ["dagger"].

Is that the right way to do that or am I missing something?

Docs

A basic intro to Astro.

silver shoal
runic raft
silver shoal
acoustic sable
runic raft
karmic dagger
#

@runic raft would you mind opening an issue about this? We are tracking all problems related to "co-existence" between Dagger SDK and the host project. I want to make sure we don't drop yours.

karmic dagger
runic raft