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
2
2
WORKDIR /usr/src/app
3
3
# Do `npm ci` separately so we can cache `node_modules`
4
4
# https://nodejs.org/en/docs/guides/nodejs-docker-webapp/
5
- COPY package.json package-lock.json .
5
+ COPY package.json package-lock.json ./
6
6
RUN npm clean-install
7
7
COPY . .
8
8
RUN npm run build:server
Original file line number Diff line number Diff line change 9
9
"files" : [
10
10
" dist"
11
11
],
12
+ "type" : " module" ,
12
13
"main" : " dist/main/index.js" ,
13
14
"module" : " dist/module/index.js" ,
14
15
"repository" : " supabase/postgres-meta" ,
Original file line number Diff line number Diff line change 3
3
"compilerOptions" : {
4
4
"declaration" : true ,
5
5
"declarationMap" : true ,
6
- "module" : " CommonJS " ,
6
+ "module" : " esnext " ,
7
7
"outDir" : " dist/main" ,
8
8
"rootDir" : " src/lib" ,
9
9
"sourceMap" : true ,
10
- "target" : " ES2015 " ,
10
+ "target" : " esnext " ,
11
11
12
12
"strict" : true ,
13
13
Original file line number Diff line number Diff line change 1
1
{
2
2
"extends" : " ./tsconfig" ,
3
3
"compilerOptions" : {
4
- "module" : " ES2015 " ,
4
+ "module" : " esnext " ,
5
5
"outDir" : " dist/module"
6
6
}
7
7
}
Original file line number Diff line number Diff line change 3
3
"compilerOptions" : {
4
4
"declaration" : true ,
5
5
"declarationMap" : true ,
6
- "module" : " CommonJS " ,
6
+ "module" : " esnext " ,
7
7
"outDir" : " bin" ,
8
8
"sourceMap" : true ,
9
- "target" : " ES2015 " ,
9
+ "target" : " esnext " ,
10
10
11
11
"strict" : true ,
12
12
You can’t perform that action at this time.
0 commit comments