File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ WORKDIR /app
33RUN apt-get update \
44 && apt-get install -y --no-install-recommends osmium-tool curl unzip bzip2 ca-certificates \
55 && rm -rf /var/lib/apt/lists/*
6- COPY package.json tsconfig.json ./
6+ COPY package.json tsconfig.json tsconfig.build.json ./
77COPY src ./src
8- RUN npm install --silent && npx tsc
8+ RUN npm install --silent && npx tsc -p tsconfig.build.json
99
1010FROM node:24-slim
1111WORKDIR /app
Original file line number Diff line number Diff line change 55 "type" : " module" ,
66 "scripts" : {
77 "dev" : " tsx src/index.ts" ,
8- "build" : " tsc" ,
8+ "build" : " tsc -p tsconfig.build.json " ,
99 "start" : " node dist/index.js" ,
1010 "check-types" : " tsc --noEmit" ,
1111 "test" : " vitest run"
1212 },
1313 "dependencies" : {
14- "@openmapx/core" : " workspace:*" ,
1514 "execa" : " ^9.5.2" ,
1615 "fastify" : " ^5.6.0"
1716 },
Original file line number Diff line number Diff line change 1+ {
2+ "extends" : " ./tsconfig.json" ,
3+ "compilerOptions" : {
4+ "rootDir" : " src"
5+ },
6+ "include" : [" src/**/*" ]
7+ }
Original file line number Diff line number Diff line change 77 "strict" : true ,
88 "skipLibCheck" : true ,
99 "outDir" : " dist" ,
10+ "rootDir" : " ." ,
1011 "resolveJsonModule" : true ,
1112 "isolatedModules" : true ,
1213 "lib" : [" ES2023" ],
You can’t perform that action at this time.
0 commit comments