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 Dockerfile template and add required fields to lexicon output schemas

- Install all deps before build, then prune devDependencies after
- Add required: ['items'] to feed/search/list output schemas
- Add @types/node to scaffold devDependencies

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

+6 -1
+6 -1
packages/hatk/src/cli.ts
··· 689 689 encoding: 'application/json', 690 690 schema: { 691 691 type: 'object', 692 + required: ['items'], 692 693 properties: { 693 694 items: { type: 'array', items: { type: 'unknown' } }, 694 695 cursor: { type: 'string' }, ··· 762 763 encoding: 'application/json', 763 764 schema: { 764 765 type: 'object', 766 + required: ['items'], 765 767 properties: { 766 768 items: { type: 'array', items: { type: 'unknown' } }, 767 769 cursor: { type: 'string' }, ··· 801 803 encoding: 'application/json', 802 804 schema: { 803 805 type: 'object', 806 + required: ['items'], 804 807 properties: { 805 808 items: { type: 'array', items: { type: 'unknown' } }, 806 809 cursor: { type: 'string' }, ··· 914 917 `FROM node:25-slim 915 918 WORKDIR /app 916 919 COPY package.json package-lock.json ./ 917 - RUN npm ci --omit=dev 920 + RUN npm ci 918 921 COPY . . 919 922 RUN node_modules/.bin/hatk build 923 + RUN npm prune --omit=dev 920 924 EXPOSE 3000 921 925 CMD ["node", "node_modules/@hatk/hatk/dist/main.js", "config.yaml"] 922 926 `, ··· 930 934 typescript: '^5', 931 935 vite: '^6', 932 936 vitest: '^4', 937 + '@types/node': '^22', 933 938 } 934 939 if (withSvelte) { 935 940 pkgDevDeps['@sveltejs/adapter-static'] = '^3'