Skip to content

Commit

Permalink
chore: update project
Browse files Browse the repository at this point in the history
  • Loading branch information
paring-chan committed Jun 16, 2024
1 parent b17c465 commit a1f988f
Show file tree
Hide file tree
Showing 9 changed files with 1,477 additions and 3,520 deletions.
3 changes: 0 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
API_ENDPOINT=
DEBUG=true
S3_ENDPOINT=
S3_ACCESS_KEY=
S3_SECRET_KEY=
7 changes: 1 addition & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
node_modules/

# Swap the comments on the following lines if you don't wish to use zero-installs
# Documentation here: https://yarnpkg.com/features/zero-installs
Expand Down
20 changes: 0 additions & 20 deletions deploy/staging/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,6 @@ spec:
secretKeyRef:
key: apiEndpoint
name: opengraph-staging-secrets
- name: S3_ENDPOINT
valueFrom:
secretKeyRef:
key: s3Endpoint
name: opengraph-staging-secrets
- name: S3_ACCESS_KEY
valueFrom:
secretKeyRef:
key: s3AccessKey
name: opengraph-staging-secrets
- name: S3_SECRET_KEY
valueFrom:
secretKeyRef:
key: s3SecretKey
name: opengraph-staging-secrets
- name: S3_BUCKET
valueFrom:
secretKeyRef:
key: s3Bucket
name: opengraph-staging-secrets
resources:
limits:
memory: '1Gi'
Expand Down
5 changes: 0 additions & 5 deletions deploy/staging/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,3 @@ metadata:
data:
# ADOFAI.gg API Endpoint
apiEndpoint: ''
# S3
s3Endpoint: ''
s3AccessKey: ''
s3SecretKey: ''
s3Bucket: ''
38 changes: 18 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
{
"name": "adofai-gg-opengraph",
"packageManager": "[email protected]",
"packageManager": "[email protected]",
"devDependencies": {
"@types/minio": "^7",
"@types/node": "^18.11.2",
"@types/react": "^18",
"concurrently": "^7.4.0",
"nodemon": "^2.0.20",
"prettier": "^2.7.1",
"tslib": "^2.4.0",
"typescript": "^4.8.4"
"@types/node": "^20.14.2",
"@types/react": "^18.3.3",
"concurrently": "^8.2.2",
"nodemon": "^3.1.3",
"prettier": "^3.3.2",
"tslib": "^2.6.3",
"typescript": "^5.4.5"
},
"dependencies": {
"@fastify/caching": "^8.0.1",
"@resvg/resvg-js": "^2.1.0",
"@sinclair/typebox": "^0.24.47",
"axios": "^1.1.3",
"dayjs": "^1.11.5",
"dotenv": "^16.0.3",
"fastify": "^4.9.2",
"minio": "^7.0.32",
"node-fetch": "^3.2.10",
"react": "^18.2.0",
"satori": "^0.0.42"
"@fastify/caching": "^8.3.0",
"@resvg/resvg-js": "^2.6.2",
"@sinclair/typebox": "^0.32.32",
"axios": "^1.7.2",
"dayjs": "^1.11.11",
"dotenv": "^16.4.5",
"fastify": "^4.28.0",
"node-fetch": "^3.3.2",
"react": "^18.3.1",
"satori": "^0.10.13"
},
"scripts": {
"dev": "concurrently --handle-input \"tsc && nodemon dist\" \"tsc -w\"",
Expand Down
Loading

0 comments on commit a1f988f

Please sign in to comment.