Skip to content

fix(create-void): use TypeScript 6 for Vue starters - #933

Merged
cpojer merged 1 commit into
mainfrom
fix/vue-template-typescript-6
Nov 27, 2026
Merged

cpojer merged 1 commit into
mainfrom
fix/vue-template-typescript-6

Conversation

@hyfdev

@hyfdev hyfdev commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

New Vue starters install TypeScript 7, and with it the documented _error.vue doesn't compile.

New Vue starters now install TypeScript 6, and the Pages overview says what to do in an existing project on TypeScript 7.

<script setup lang="ts">
import type { ErrorPageProps } from '@void/vue';
defineProps<ErrorPageProps>();
</script>
[@vue/compiler-sfc] No fs option provided to `compileScript` in non-Node environment. File system access is required for resolving imported types.

This is a workaround, not a fix.

The repo already pins TypeScript 6.0.3 for its Angular and SvelteKit apps in pnpm-workspace.yaml, because those frameworks require it.

Part of #932.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://fix-vue-template-typescript-6-void-cloud.voidzero-docs.workers.dev (commit 778bcad)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://f68292d9-void-cloud.voidzero-docs.workers.dev 778bcad 2026-11-26T15:26:23.307Z Visit the dashboard ↗

@hyfdev
hyfdev marked this pull request as ready for review November 26, 2026 15:44
Copilot AI balanced review requested due to automatic review settings November 26, 2026 15:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@cpojer cpojer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🥲

@cpojer
cpojer merged commit 6ce9a7c into main Nov 27, 2026
22 checks passed
@cpojer
cpojer deleted the fix/vue-template-typescript-6 branch November 27, 2026 00:06
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.

3 participants