AppView in a box as a Vite plugin thing hatk.dev
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix type check errors and run formatter

Add skipLibCheck and exclude node_modules/dist/docs from root
tsconfig so tsc stops checking third-party .d.ts files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+10 -5
+5 -1
packages/hatk/package.json
··· 4 4 "bin": { 5 5 "hatk": "dist/cli.js" 6 6 }, 7 + "files": [ 8 + "dist", 9 + "fonts", 10 + "public" 11 + ], 7 12 "type": "module", 8 13 "exports": { 9 14 "./feeds": "./dist/feeds.js", ··· 19 24 "./test/browser": "./dist/test-browser.js", 20 25 "./vite-plugin": "./dist/vite-plugin.js" 21 26 }, 22 - "files": ["dist", "fonts", "public"], 23 27 "scripts": { 24 28 "build": "tsc -p tsconfig.build.json", 25 29 "prepublishOnly": "npm run build"
+1 -1
packages/hatk/src/server.ts
··· 1056 1056 res.writeHead(status, { 1057 1057 'Content-Type': 'application/json', 1058 1058 'Content-Encoding': 'gzip', 1059 - 'Vary': 'Accept-Encoding', 1059 + Vary: 'Accept-Encoding', 1060 1060 ...(status === 200 ? { 'Cache-Control': 'no-store' } : {}), 1061 1061 }) 1062 1062 res.end(compressed)
-1
packages/hatk/src/views.ts
··· 235 235 } 236 236 return blobs 237 237 } 238 -
+4 -2
tsconfig.json
··· 6 6 "strict": true, 7 7 "noEmit": true, 8 8 "allowImportingTsExtensions": true, 9 - "resolveJsonModule": true 10 - } 9 + "resolveJsonModule": true, 10 + "skipLibCheck": true 11 + }, 12 + "exclude": ["node_modules", "dist", "docs"] 11 13 }