Add separate tsconfig files for building and type checking.

Review Request #13587 — Created Feb. 28, 2024 and submitted — Latest diff uploaded

Information

Ink
master

Reviewers

tsconfig.json has now been split into two files:

  1. tsconfig.json, which handles basic type checking for src/ink/js/
    and src/stories/.

  2. tsconfig.build.json, which handles the actual build process for
    d.ts files, limited to src/ink/js/.

When we run tsc to generate the type file, we limit this to
tsconfig.build.json. This ensures we only generate types for Ink, and
not for any story files or anything in node_modules.

Successfully built the TypeScript codebase, and verified it was limited
to Ink code.

Verified that type checking still worked in story files.

Commits

Files