Skip to content

Conversation

harmony7
Copy link
Member

To match the built-in TypeScript story we are updating the starter kit:

  • Feeds index.ts directly to the js-compute-runtime compiler
  • Now uses tsc in --noEmit mode to perform type checking only
  • Updates README
  • Includes updated tsconfig.json, including erasableSyntaxOnly

@harmony7 harmony7 requested a review from a team as a code owner September 24, 2025 05:42
@harmony7 harmony7 requested review from kailan and Copilot and removed request for a team September 24, 2025 05:42
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the starter kit to use Fastly's built-in TypeScript support instead of requiring a separate TypeScript compilation step. The key change is feeding TypeScript source files directly to the js-compute-runtime compiler while using tsc only for type checking.

  • Updates build process to feed index.ts directly to js-compute-runtime instead of compiling to JS first
  • Changes TypeScript usage to type-checking only mode with tsc --noEmit
  • Updates documentation to reflect the new TypeScript workflow

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
package.json Updates build scripts and CLI version to support direct TypeScript compilation
fastly.toml Updates description to clarify this is a TypeScript starter kit
README.md Adds TypeScript feature documentation and explains the new built-in TypeScript workflow

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <[email protected]>
@harmony7 harmony7 merged commit 30f1b91 into main Sep 27, 2025
5 checks passed
@harmony7 harmony7 deleted the kats/built-in-typescript branch September 27, 2025 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants