-
Notifications
You must be signed in to change notification settings - Fork 27
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
44 changed files
with
1,169 additions
and
1,031 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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
node_modules | ||
**/node_modules | ||
.gitignore | ||
*.md | ||
dist | ||
**/dist | ||
**/out/ | ||
**/cache/ | ||
**/bindings/ | ||
**/artifacts/ | ||
**/broadcast/ | ||
**/deploys/ | ||
|
||
# Build outputs | ||
dist | ||
build | ||
tmp | ||
|
||
# Version control | ||
.git | ||
.gitignore | ||
.svn | ||
.hg | ||
.hgignore | ||
.hgcheck | ||
|
||
# System Files | ||
.DS_Store | ||
Thumbs.db | ||
|
||
# NPM files | ||
npm-debug.log | ||
npm-error.log | ||
|
||
# Configuration files | ||
.env | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
# Editor directories and files | ||
.idea | ||
*.swp | ||
*.swo | ||
*.sublime-project | ||
*.sublime-workspace | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional tsc cache | ||
*.tsbuildinfo | ||
|
||
# Optional IDE files | ||
.vscode | ||
*.sln | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.suo | ||
*.user | ||
*.userprefs |
This file was deleted.
Oops, something went wrong.
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,48 @@ | ||
FROM docker.io/library/debian:bullseye-slim as base | ||
ENV SHELL /bin/bash | ||
|
||
WORKDIR /opt | ||
RUN apt-get -y update --fix-missing && \ | ||
apt-get -y upgrade && \ | ||
apt-get install -y --no-install-recommends \ | ||
libssl-dev make cmake graphviz \ | ||
git pkg-config curl time rhash ca-certificates jq \ | ||
python3 python3-pip lsof ruby ruby-bundler git-restore-mtime xz-utils zstd unzip gnupg protobuf-compiler \ | ||
wget net-tools iptables iproute2 iputils-ping ed zlib1g-dev wabt | ||
|
||
# node.js | ||
RUN mkdir -p /etc/apt/keyrings && \ | ||
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \ | ||
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \ | ||
apt-get update && \ | ||
apt-get install -y nodejs && \ | ||
node --version && \ | ||
npm --version | ||
|
||
# foundry | ||
ENV PATH="${PATH}:/root/.foundry/bin" | ||
RUN curl -L https://foundry.paradigm.xyz/ | bash && \ | ||
${HOME}/.foundry/bin/foundryup && \ | ||
forge --version && \ | ||
cast --version && \ | ||
anvil --version && \ | ||
chisel --version | ||
|
||
# pnpm | ||
ENV PNPM_HOME="/pnpm" | ||
ENV PATH="${PATH}:${PNPM_HOME}" | ||
RUN npm install pnpm --global && pnpm --version | ||
|
||
FROM base AS skystrife | ||
COPY . /app | ||
WORKDIR /app | ||
|
||
# listen... it was failing | ||
RUN sed -i '/run-pty/d' package.json | ||
|
||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install | ||
RUN pnpm --filter ecs-browser run build | ||
RUN pnpm --filter phaserx run build | ||
RUN pnpm --filter contracts run build | ||
|
||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.