Skip to content

Commit

Permalink
improve build-size
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed Dec 6, 2023
1 parent cde2814 commit eab0354
Show file tree
Hide file tree
Showing 20 changed files with 10,245 additions and 51,779 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# syntax = docker/dockerfile:1
# syntax = docker/dockerfile:1.4

# Adjust NODE_VERSION as desired
ARG NODE_VERSION=20.5.1
Expand All @@ -22,9 +22,10 @@ RUN apt-get update -qq && \
RUN npm i -g webpack-cli pm2

# Copy application code
COPY . .
COPY --link . .

RUN npm ci
RUN npm run dist:all

# Final stage for app image
FROM base
Expand Down
1 change: 0 additions & 1 deletion Procfile

This file was deleted.

10,934 changes: 325 additions & 10,609 deletions codemirror.next/package-lock.json

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions codemirror.next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
"@codemirror/view": "^0.19.0",
"y-codemirror.next": "^0.1.0",
"y-websocket": "^1.3.18",
"yjs": "^13.5.22",
"serve": "^11.3.2",
"webpack": "^5.64.4",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^3.11.3"
"yjs": "^13.5.22"
}
}
10,653 changes: 313 additions & 10,340 deletions codemirror/package-lock.json

Large diffs are not rendered by default.

10 changes: 3 additions & 7 deletions codemirror/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@
"author": "Kevin Jahns <kevin.jahns@pm.me>",
"license": "UNLICENSE",
"dependencies": {
"codemirror": "^5.64.0",
"y-codemirror": "^2.1.1",
"y-websocket": "^1.3.18",
"yjs": "^13.5.22",
"serve": "^11.3.2",
"webpack": "^5.64.4",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^3.11.3"
"y-websocket": "^1.3.18",
"y-codemirror": "^2.1.1",
"codemirror": "^5.64.0"
}
}
Loading

0 comments on commit eab0354

Please sign in to comment.