diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53fc27dd..0510cb7e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,9 @@ jobs: - name: Lint run: nr lint + - name: Typecheck + run: nr typecheck + test: runs-on: ${{ matrix.os }} diff --git a/package.json b/package.json index 5c62700d..0b3e87d4 100644 --- a/package.json +++ b/package.json @@ -75,6 +75,7 @@ "example:dev": "npm -C examples/vite-vue3 run dev", "prepublishOnly": "npm run build", "lint": "eslint .", + "typecheck": "tsc", "release": "bumpp && npm publish", "test": "vitest", "test:update": "vitest --u" diff --git a/src/core/options.ts b/src/core/options.ts index 0ea67fb0..4ac7cd9c 100644 --- a/src/core/options.ts +++ b/src/core/options.ts @@ -22,6 +22,8 @@ export const defaultOptions: Omit, 'include' | 'exclude' | 'ex allowOverrides: false, + sourcemap: true, + dumpComponentsInfo: false, prefix: '', } diff --git a/tsconfig.json b/tsconfig.json index 85659df5..62c450c5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,6 +8,7 @@ "resolveJsonModule": true, "strict": true, "strictNullChecks": true, + "noEmit": true, "esModuleInterop": true, "skipLibCheck": true },