snipe/web/node_modules/vue-tsc
pyr0ball 7a704441a6 feat(snipe): Vue 3 frontend scaffold + Docker web service
- web/: Vue 3 + Vite + UnoCSS + Pinia, dark tactical theme (amber/#0d1117)
- AppNav, ListingCard, SearchView with filters/sort, composables
  (useSnipeMode, useKonamiCode, useMotion), Pinia search store
- Steal shimmer, auction countdown, Snipe Mode easter egg all native in Vue
- docker/web/: nginx + multi-stage Dockerfile (node build → nginx serve)
- compose.yml: api (8510) + web (8509) services
- Dockerfile CMD updated to uvicorn for upcoming FastAPI layer
- Clean build: 0 TS errors, 380 modules
2026-03-25 15:11:35 -07:00
..
bin feat(snipe): Vue 3 frontend scaffold + Docker web service 2026-03-25 15:11:35 -07:00
index.d.ts feat(snipe): Vue 3 frontend scaffold + Docker web service 2026-03-25 15:11:35 -07:00
index.js feat(snipe): Vue 3 frontend scaffold + Docker web service 2026-03-25 15:11:35 -07:00
LICENSE feat(snipe): Vue 3 frontend scaffold + Docker web service 2026-03-25 15:11:35 -07:00
package.json feat(snipe): Vue 3 frontend scaffold + Docker web service 2026-03-25 15:11:35 -07:00
README.md feat(snipe): Vue 3 frontend scaffold + Docker web service 2026-03-25 15:11:35 -07:00

vue-tsc

NPM version License

A command-line type checking tool for Vue, based on a tsc wrapper, enabling the TypeScript compiler to understand .vue files.

Installation

npm install vue-tsc typescript --save-dev

Requires TypeScript 5.0.0 or higher.

Usage

Type Checking

vue-tsc --noEmit

Generate Declaration Files

vue-tsc --declaration --emitDeclarationOnly

Configuration in package.json

{
  "scripts": {
    "type-check": "vue-tsc --noEmit",
    "build:types": "vue-tsc --declaration --emitDeclarationOnly"
  }
}

Supported File Types

vue-tsc automatically reads file types to process from vueCompilerOptions.extensions in tsconfig.json, defaulting to ['.vue'].

If vitePressExtensions or petiteVueExtensions are configured, those extensions will also be processed.

Differences from tsc

vue-tsc is a wrapper around tsc that:

  1. Reads vueCompilerOptions from tsconfig.json
  2. Creates a Vue language plugin to process .vue files
  3. Transforms .vue files into TypeScript virtual code before passing them to tsc

All tsc command-line arguments can be used directly.

Programmatic Usage

import { run } from 'vue-tsc';

// Use the default tsc path
run();

// Specify a custom tsc path
run('/path/to/typescript/lib/tsc.js');

License

MIT License