vue-go-tsc
v0.2.1
Published
Blazingly fast Vue 3 type checker powered by typescript-go — a Go-native alternative to vue-tsc
Maintainers
Readme
vue-go-tsc
Blazingly fast Vue 3 type checker powered by typescript-go — a Go-native alternative to
vue-tsc.
Attribution — This is a redistribution of
NikhilVerma/vue-tsgo(formerlynonfx/golar). All the technical work belongs to the upstream author. This package only changes the npm name and release location so the aidalinfo org can consume it easily in CI. See the repository README.
Installation
# Global CLI
npm install -g vue-go-tsc
# Or as a project dev dependency (recommended for CI)
pnpm add -D vue-go-tscUsage
# Type-check a Vue project
vue-go-tsc -p tsconfig.json --noEmit
# Watch mode
vue-go-tsc -p tsconfig.json --noEmit --watch
# Build mode (for monorepos / composite projects)
vue-go-tsc -b --noEmitNuxt
# Generate .nuxt/tsconfig.json first, then type-check against it
nuxt prepare && vue-go-tsc -p .nuxt/tsconfig.json --noEmitSee the full CI integration guide.
Why vue-go-tsc?
- ~5–25× faster than vue-tsc (project-dependent) — e.g. on the Pulse ERP monorepo: app ~232s → ~49s (~4.7×), docs site ~28s → ~1.5s (~18×)
- Lower memory usage — native Go instead of Node.js
- Drop-in replacement for vue-tsc
- Zero
.vuefile error delta with vue-tsc on real-world projects (verified 4 = 4 on Pulse ERP, 0 = 0 on its docs site)
Documentation
Full documentation: https://github.com/aidalinfo/vue-tsgo#readme
Platform Support
- macOS (Intel & Apple Silicon)
- Linux (x64 & ARM64)
- Windows (x64)
License
MIT © Nikhil Verma
