forked from PrismarineJS/prismarine-web-client
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
2,189 additions
and
315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# we dont want default config to be loaded in the dockerfile, but rather using a volume | ||
config.json | ||
# build stuff | ||
node_modules | ||
public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,22 @@ | ||
FROM node:14-alpine | ||
FROM node:18-alpine | ||
# Without git installing the npm packages fails | ||
RUN apk add git | ||
RUN mkdir /app | ||
WORKDIR /app | ||
COPY . /app | ||
RUN npm install | ||
RUN npm run build | ||
# install python and other dependencies | ||
RUN apk add python3 make g++ cairo-dev pango-dev jpeg-dev giflib-dev librsvg-dev | ||
# install pnpm | ||
RUN npm i -g [email protected] | ||
RUN pnpm install | ||
# only for prod | ||
RUN pnpm run build | ||
# --- | ||
EXPOSE 8080 | ||
# uncomment for development | ||
# EXPOSE 9090 | ||
# VOLUME /app/src | ||
# VOLUME /app/prismarine-viewer | ||
# ENTRYPOINT ["pnpm", "run", "run-all"] | ||
# only for prod | ||
ENTRYPOINT ["npm", "run", "prod-start"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ | |
"@types/react-dom": "^18.2.7", | ||
"@types/wicg-file-system-access": "^2023.10.2", | ||
"@xmcl/text-component": "^2.1.3", | ||
"@zardoy/react-util": "^0.2.0", | ||
"@zardoy/react-util": "^0.2.4", | ||
"@zardoy/utils": "^0.0.11", | ||
"adm-zip": "^0.5.12", | ||
"browserfs": "github:zardoy/browserfs#build", | ||
|
@@ -64,20 +64,20 @@ | |
"esbuild-plugin-polyfill-node": "^0.3.0", | ||
"express": "^4.18.2", | ||
"filesize": "^10.0.12", | ||
"flying-squid": "npm:@zardoy/flying-squid@^0.0.32", | ||
"flying-squid": "npm:@zardoy/flying-squid@^0.0.33", | ||
"fs-extra": "^11.1.1", | ||
"google-drive-browserfs": "github:zardoy/browserfs#google-drive", | ||
"iconify-icon": "^1.0.8", | ||
"jszip": "^3.10.1", | ||
"lodash-es": "^4.17.21", | ||
"minecraft-assets": "^1.12.2", | ||
"minecraft-data": "3.65.0", | ||
"minecraft-protocol": "github:PrismarineJS/node-minecraft-protocol", | ||
"minecraft-protocol": "github:PrismarineJS/node-minecraft-protocol#master", | ||
"mineflayer-item-map-downloader": "github:zardoy/mineflayer-item-map-downloader", | ||
"mojangson": "^2.0.4", | ||
"net-browserify": "github:zardoy/prismarinejs-net-browserify", | ||
"node-gzip": "^1.1.2", | ||
"peerjs": "^1.5.0", | ||
"pixelarticons": "^1.8.1", | ||
"pretty-bytes": "^6.1.1", | ||
"prismarine-provider-anvil": "github:zardoy/prismarine-provider-anvil#everything", | ||
"prosemirror-example-setup": "^1.2.2", | ||
|
@@ -161,7 +161,7 @@ | |
"prismarine-world": "github:zardoy/prismarine-world#next-era", | ||
"minecraft-data": "3.65.0", | ||
"prismarine-provider-anvil": "github:zardoy/prismarine-provider-anvil#everything", | ||
"minecraft-protocol": "github:PrismarineJS/node-minecraft-protocol", | ||
"minecraft-protocol": "github:PrismarineJS/node-minecraft-protocol#master", | ||
"react": "^18.2.0", | ||
"prismarine-chunk": "github:zardoy/prismarine-chunk" | ||
}, | ||
|
@@ -170,7 +170,8 @@ | |
}, | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]", | ||
"[email protected]": "patches/[email protected]" | ||
"[email protected]": "patches/[email protected]", | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
diff --git a/fonts/pixelart-icons-font.css b/fonts/pixelart-icons-font.css | ||
index 3b2ebe839370d96bf93ef5ca94a827f07e49378d..103ab4d6b9f3b5c9f41d1407e3cbf4ac392fbf41 100644 | ||
--- a/fonts/pixelart-icons-font.css | ||
+++ b/fonts/pixelart-icons-font.css | ||
@@ -1,16 +1,13 @@ | ||
@font-face { | ||
font-family: "pixelart-icons-font"; | ||
- src: url('pixelart-icons-font.eot?t=1711815892278'); /* IE9*/ | ||
- src: url('pixelart-icons-font.eot?t=1711815892278#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
+ src: | ||
url("pixelart-icons-font.woff2?t=1711815892278") format("woff2"), | ||
url("pixelart-icons-font.woff?t=1711815892278") format("woff"), | ||
url('pixelart-icons-font.ttf?t=1711815892278') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ | ||
- url('pixelart-icons-font.svg?t=1711815892278#pixelart-icons-font') format('svg'); /* iOS 4.1- */ | ||
} | ||
|
||
[class^="pixelart-icons-font-"], [class*=" pixelart-icons-font-"] { | ||
font-family: 'pixelart-icons-font' !important; | ||
- font-size:24px; | ||
font-style:normal; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
@@ -503,4 +500,3 @@ | ||
.pixelart-icons-font-zap:before { content: "\ebe4"; } | ||
.pixelart-icons-font-zoom-in:before { content: "\ebe5"; } | ||
.pixelart-icons-font-zoom-out:before { content: "\ebe6"; } | ||
- |
Oops, something went wrong.