File tree Expand file tree Collapse file tree 5 files changed +7
-6
lines changed Expand file tree Collapse file tree 5 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM node:16 as build
22WORKDIR /usr/src/app
33# Do `npm ci` separately so we can cache `node_modules`
44# https://nodejs.org/en/docs/guides/nodejs-docker-webapp/
5- COPY package.json package-lock.json .
5+ COPY package.json package-lock.json ./
66RUN npm clean-install
77COPY . .
88RUN npm run build:server
Original file line number Diff line number Diff line change 99 "files" : [
1010 " dist"
1111 ],
12+ "type" : " module" ,
1213 "main" : " dist/main/index.js" ,
1314 "module" : " dist/module/index.js" ,
1415 "repository" : " supabase/postgres-meta" ,
Original file line number Diff line number Diff line change 33 "compilerOptions" : {
44 "declaration" : true ,
55 "declarationMap" : true ,
6- "module" : " CommonJS " ,
6+ "module" : " esnext " ,
77 "outDir" : " dist/main" ,
88 "rootDir" : " src/lib" ,
99 "sourceMap" : true ,
10- "target" : " ES2015 " ,
10+ "target" : " esnext " ,
1111
1212 "strict" : true ,
1313
Original file line number Diff line number Diff line change 11{
22 "extends" : " ./tsconfig" ,
33 "compilerOptions" : {
4- "module" : " ES2015 " ,
4+ "module" : " esnext " ,
55 "outDir" : " dist/module"
66 }
77}
Original file line number Diff line number Diff line change 33 "compilerOptions" : {
44 "declaration" : true ,
55 "declarationMap" : true ,
6- "module" : " CommonJS " ,
6+ "module" : " esnext " ,
77 "outDir" : " bin" ,
88 "sourceMap" : true ,
9- "target" : " ES2015 " ,
9+ "target" : " esnext " ,
1010
1111 "strict" : true ,
1212
You can’t perform that action at this time.
0 commit comments