Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raleway #2647

Closed
wants to merge 21 commits into from
Closed

Raleway #2647

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 35 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,45 @@
FROM node:22

RUN corepack enable
RUN corepack prepare yarn@4.1.0 --activate
ARG APP_PRIVATE_KEY
ARG DISCORD_BOT_TOKEN
ARG DISCORD_ID
ARG DISCORD_OAUTH2
ARG DISCORD_PUB_KEY
ARG GITHUB_ADMIN_TOKEN
ARG GITHUB_APP_CLIENT_ID
ARG GITHUB_APP_SECRET
ARG GITHUB_SPONSOR_WEBHOOK_SECRET
ARG GITHUB_TOKEN
ARG IS_TAMAGUI_DEV
ARG NEXT_PUBLIC_GITHUB_APP_ID
ARG NEXT_PUBLIC_GITHUB_AUTH_CLIENT_ID
ARG NEXT_PUBLIC_IS_TAMAGUI_DEV
ARG NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY
ARG NEXT_PUBLIC_SUPABASE_ANON_KEY
ARG NEXT_PUBLIC_SUPABASE_URL
ARG POSTMARK_SERVER_TOKEN
ARG STRIPE_SECRET_KEY
ARG STRIPE_SIGNING_SIGNATURE_SECRETa833
ARG STUDIO_JWT_SECRET
ARG SUPABASE_SERVICE_ROLE_KEY
ARG TAKEOUT_RENEWAL_COUPON_ID
ARG GIT_CRYPT_KEY
ARG SHOULD_UNLOCK_GIT_CRYPT

RUN apt-get update && apt-get install -y git-crypt
# unlock
RUN apt-get update && apt-get install -y git git-crypt

WORKDIR /app

COPY . .

RUN git config --global user.email "you@example.com" && git init . && git add -A && git commit -m 'add' && \
echo "$GIT_CRYPT_KEY" | base64 -d > ./git-crypt-key && \
git-crypt unlock ./git-crypt-key && \
rm ./git-crypt-key

RUN corepack enable
RUN corepack prepare yarn@4.1.0 --activate

RUN yarn install
RUN yarn build:js
RUN yarn x:build
Expand Down
6 changes: 3 additions & 3 deletions apps/x/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dev": "vxrn dev",
"dev:clean": "yarn clean && vxrn dev",
"build:prod": "yarn clean && vxrn build",
"serve": "vxrn serve",
"serve": "vxrn serve --host 0.0.0.0",
"clean": "rm -r node_modules/.vite || true && rm -r dist || true",
"start": "node vercel-server.js"
},
Expand Down Expand Up @@ -36,7 +36,7 @@
"vite": "npm:vite@6.0.0-alpha.11",
"vite-plugin-inspect": "^0.8.4",
"vite-tsconfig-paths": "^4.3.2",
"vxs": "^0.1.59"
"vxs": "^0.1.62"
},
"devDependencies": {
"@cyco130/vite-plugin-mdx": "1.0.4",
Expand All @@ -56,6 +56,6 @@
"sirv": "^2.0.4",
"unified": "^10.1.2",
"unist-util-visit": "^2.0.3",
"vxrn": "^0.1.59"
"vxrn": "^0.1.62"
}
}
Empty file added force
Empty file.
2 changes: 2 additions & 0 deletions scripts/git-crypt-unlock.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

echo "should? $SHOULD_UNLOCK_GIT_CRYPT"

if [ "$SHOULD_UNLOCK_GIT_CRYPT" = "1" ]; then
echo "Unlocking..."
echo "$GIT_CRYPT_KEY" | base64 -d > ./git-crypt-key
Expand Down
84 changes: 42 additions & 42 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7995,8 +7995,8 @@ __metadata:
vite: "npm:vite@6.0.0-alpha.11"
vite-plugin-inspect: "npm:^0.8.4"
vite-tsconfig-paths: "npm:^4.3.2"
vxrn: "npm:^0.1.59"
vxs: "npm:^0.1.59"
vxrn: "npm:^0.1.62"
vxs: "npm:^0.1.62"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -9574,65 +9574,65 @@ __metadata:
languageName: node
linkType: hard

"@vxrn/react-native-prebuilt@npm:0.1.59":
version: 0.1.59
resolution: "@vxrn/react-native-prebuilt@npm:0.1.59"
"@vxrn/react-native-prebuilt@npm:0.1.62":
version: 0.1.62
resolution: "@vxrn/react-native-prebuilt@npm:0.1.62"
dependencies:
"@vxrn/vite-flow": "npm:0.1.59"
"@vxrn/vite-flow": "npm:0.1.62"
esbuild: "npm:~0.19.3"
fs-extra: "npm:^11.2.0"
import-meta-resolve: "npm:^4.0.0"
peerDependencies:
react-native: "*"
checksum: 10/6247fe7d7eee4d4964c7e0497822287139584ebc9ee8922c0299d0e65cd0619e381a66eb5418d363b5c6ffea41310616a20f38f5c33698819b188646c48140f2
checksum: 10/2b36b3bd932efd0fc45b1e0070733d738771f22c6b7ab60feb0659b18c1743a1537305512156b3029281d16127b423ceace81b8b22ddb5e8c987ac884d4dba1a
languageName: node
linkType: hard

"@vxrn/safe-area@npm:0.1.59":
version: 0.1.59
resolution: "@vxrn/safe-area@npm:0.1.59"
checksum: 10/a3c50faf5b22441d6f90e1b594152243ebb0bb2caa7de97fb0eea5c9583c0513ba40017211ed270eb1e38eb95345f89ec9009cbeaaf7a2b0ec45b9630091afc6
"@vxrn/safe-area@npm:0.1.62":
version: 0.1.62
resolution: "@vxrn/safe-area@npm:0.1.62"
checksum: 10/a7e10ebbd5512c4900e78bf342c594c0a63094bcae71e263b12c15759e73fc8b59a6e389d8302abf03c70506d0cbb6bf99fc1f3d3f05105e202a804980854e43
languageName: node
linkType: hard

"@vxrn/vite-flow@npm:0.1.59":
version: 0.1.59
resolution: "@vxrn/vite-flow@npm:0.1.59"
"@vxrn/vite-flow@npm:0.1.62":
version: 0.1.62
resolution: "@vxrn/vite-flow@npm:0.1.62"
dependencies:
"@babel/core": "npm:^7.21.8"
metro-react-native-babel-preset: "npm:^0.77.0"
checksum: 10/c47565efd749e990b7a83f63e875df252ab4cedb4a25d60c03a34b9c5ea14a379d26a7bbeb21b0b9dddb0cdf8926c19b3a354924ffcf01c5156086f3265699f2
checksum: 10/b860966548fd9977f69c8afd032e6618ca2296d5c525489205e2880cc1aca5b529b95754a6005a7b25d042deff255bb867da77ce1bbdf3a7b28d5ecf2cb71f1f
languageName: node
linkType: hard

"@vxrn/vite-native-client@npm:0.1.59":
version: 0.1.59
resolution: "@vxrn/vite-native-client@npm:0.1.59"
"@vxrn/vite-native-client@npm:0.1.62":
version: 0.1.62
resolution: "@vxrn/vite-native-client@npm:0.1.62"
peerDependencies:
react-native: "*"
checksum: 10/0be39e5f86e303ec4aba492b23f322ba606f722122e2de5cc0faa3ad002664836bd9377c28dd4163f3ffeebe3f9751e65596b9c62fa740047cab0c029608b018
checksum: 10/37eaf9efc0347f25c0f6743371846ba24a08638ff99a9054f623c57b00962f286531ecf7e30683a8ca76e260be33f1728e441707f2e8af685b7a942f53f3ed8f
languageName: node
linkType: hard

"@vxrn/vite-native-hmr@npm:0.1.59":
version: 0.1.59
resolution: "@vxrn/vite-native-hmr@npm:0.1.59"
"@vxrn/vite-native-hmr@npm:0.1.62":
version: 0.1.62
resolution: "@vxrn/vite-native-hmr@npm:0.1.62"
dependencies:
pretty-format: "npm:^28.1.0"
peerDependencies:
react-native: "*"
checksum: 10/6fc9648ab40e7f93a7b8986f4899e972ef51d923f6c07074224a243ecaa35c55d084c5c11230d822964b773c769913eaef70655f79380e7a2e909d139b715d35
checksum: 10/345dda02d71242d11d464adb7cf86b50697b79b55084b77639dd68760546ee9d2c9d3ba0e9334e2a2b0e825e16600135d8478042bdd694cd8c8456676a57e25d
languageName: node
linkType: hard

"@vxrn/vite-native-swc@npm:0.1.59":
version: 0.1.59
resolution: "@vxrn/vite-native-swc@npm:0.1.59"
"@vxrn/vite-native-swc@npm:0.1.62":
version: 0.1.62
resolution: "@vxrn/vite-native-swc@npm:0.1.62"
dependencies:
"@swc/core": "npm:^1.4.13"
peerDependencies:
react-native: "*"
checksum: 10/5f3de367a4b093435ebc47d1369c0447a48d305ca7085db72e65ac147b4abca6f8e848b46f40ce5c3bbf4007e954e70b950d00435deb2d79f7a41063d537117c
checksum: 10/3c9906f630e3c730ef8370fd0dd1e18726ae972cb59111048144cd7956611d30e856522baff8f591dbccc5d95de61a21a44e5b5941af3c01ec0d4e6105bac992
languageName: node
linkType: hard

Expand Down Expand Up @@ -29202,19 +29202,19 @@ __metadata:
languageName: node
linkType: hard

"vxrn@npm:^0.1.59":
version: 0.1.59
resolution: "vxrn@npm:0.1.59"
"vxrn@npm:^0.1.62":
version: 0.1.62
resolution: "vxrn@npm:0.1.62"
dependencies:
"@babel/code-frame": "npm:^7.21.4"
"@vitejs/plugin-react": "npm:^4.2.1"
"@vitejs/plugin-react-swc": "npm:^3.6.0"
"@vxrn/react-native-prebuilt": "npm:0.1.59"
"@vxrn/safe-area": "npm:0.1.59"
"@vxrn/vite-flow": "npm:0.1.59"
"@vxrn/vite-native-client": "npm:0.1.59"
"@vxrn/vite-native-hmr": "npm:0.1.59"
"@vxrn/vite-native-swc": "npm:0.1.59"
"@vxrn/react-native-prebuilt": "npm:0.1.62"
"@vxrn/safe-area": "npm:0.1.62"
"@vxrn/vite-flow": "npm:0.1.62"
"@vxrn/vite-native-client": "npm:0.1.62"
"@vxrn/vite-native-hmr": "npm:0.1.62"
"@vxrn/vite-native-swc": "npm:0.1.62"
citty: "npm:^0.1.6"
crossws: "npm:^0.2.4"
es-module-lexer: "npm:^1.3.0"
Expand All @@ -29241,17 +29241,17 @@ __metadata:
source-map: "npm:^0.7.3"
url: "npm:^0.11.0"
vite: "npm:6.0.0-alpha.11"
vxs: "npm:0.1.59"
vxs: "npm:0.1.62"
ws: "npm:^8.7.0"
bin:
vxrn: run.mjs
checksum: 10/bf970843a7f3ae6f0975ba259f134aae43615505d66e99adb7ac803a958c663fcc685c7592b2e14d46f9f73db7494f3dee55de4891d316dfea3d70ea17f48b4d
checksum: 10/a42f40718322af015b2131844b4ab40ae55cdfbd78eb28a0e797d87dab3582e470513cc6d5becbc2b906895d1d50c9c5397b913ea2bd1c87fbdfa214dc792749
languageName: node
linkType: hard

"vxs@npm:0.1.59, vxs@npm:^0.1.59":
version: 0.1.59
resolution: "vxs@npm:0.1.59"
"vxs@npm:0.1.62, vxs@npm:^0.1.62":
version: 0.1.62
resolution: "vxs@npm:0.1.62"
dependencies:
"@radix-ui/react-slot": "npm:^1.0.2"
"@react-navigation/bottom-tabs": "npm:^6.5.8"
Expand Down Expand Up @@ -29279,7 +29279,7 @@ __metadata:
peerDependencies:
react: "*"
react-native: "*"
checksum: 10/268d9b6ad89b6cdc01299ddbf44693ca05c3e19c38ec4b743b01177f5b34a2c531d3c21053c774f260bb98b2b9e098cabe1a095fe6b740639f3c168a45b5011b
checksum: 10/68f13726428dc058c4994c521445453ec91abac878c67eed08e4f2132bcdc79b2c9dfedc21b7dfc1c898196bf2e885f4c574d9aef65e36bfa02fdd43f821ee2f
languageName: node
linkType: hard

Expand Down
Loading