Skip to content

Commit

Permalink
fix path references and js dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nwaughachukwuma committed Nov 12, 2024
1 parent 95beec8 commit 6a632f6
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 96 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,13 @@ jobs:

- run: pnpm sync
working-directory: app
- run: pnpm tsc
working-directory: app
- run: pnpm check
working-directory: app
- run: pnpm build
working-directory: app

- uses: actions/upload-artifact@v4
with:
name: app
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ keys/
.ruff_cache/
node_modules/
.DS_Store

tsconfig.tsbuildinfo
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ ENV TIMEOUT 0

EXPOSE 8080

CMD exec gunicorn -k uvicorn.workers.UvicornWorker -b :$PORT -w $WORKER --threads $THREADS -t $TIMEOUT --preload api.src.main:app
CMD exec gunicorn -k uvicorn.workers.UvicornWorker -b :$PORT -w $WORKER --threads $THREADS -t $TIMEOUT --preload src.main:app
32 changes: 0 additions & 32 deletions app/Dockerfile

This file was deleted.

20 changes: 6 additions & 14 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,26 @@
"test:unit": "vitest"
},
"dependencies": {
"bits-ui": "^0.21.16",
"canvas-confetti": "^1.9.3",
"clsx": "^2.1.1",
"copy-to-clipboard": "^3.3.3",
"dayjs": "^1.11.13",
"dotenv": "16.3.1",
"ejs": "^3.1.10",
"firebase": "10.13.1",
"firebase-admin": "^12.3.1",
"github-slugger": "^2.0.0",
"lucide-svelte": "^0.456.0",
"marked": "^14.1.4",
"nanoid": "^5.0.7",
"ramda": "^0.30.1",
"rxfire": "^6.0.5",
"rxjs": "^7.8.1",
"superstruct": "^2.0.2",
"svelte-persisted-store": "^0.11.0",
"svelte-sonner": "^0.3.28",
"tailwind-merge": "^2.4.0",
"tailwind-variants": "^0.2.1",
"tailwindcss-animate": "^1.0.7",
"throttle-debounce": "^5.0.2"
"throttle-debounce": "^5.0.2",
"vaul-svelte": "^0.3.2"
},
"devDependencies": {
"@playwright/test": "^1.28.1",
Expand All @@ -53,32 +53,24 @@
"@types/ramda": "^0.30.1",
"@types/throttle-debounce": "^5.0.2",
"autoprefixer": "^10.4.20",
"bits-ui": "^0.21.16",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.36.0",
"firebase-admin": "^12.3.1",
"globals": "^15.0.0",
"lucide-svelte": "^0.456.0",
"mode-watcher": "^0.4.1",
"postcss": "^8.4.41",
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.1.2",
"svelte": "^4.2.7",
"svelte-check": "^3.6.0",
"svelte-sonner": "^0.3.28",
"tailwindcss": "^3.4.7",
"typescript": "^5.0.0",
"typescript-eslint": "^8.0.0",
"vaul-svelte": "^0.3.2",
"vite": "^5.4.2",
"vitest": "^2.0.5"
},
"engines": {
"node": "20"
},
"overrides": {
"rxfire": {
"firebase": "10.13.1"
}
}
}
2 changes: 1 addition & 1 deletion app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default defineConfig({
minify: 'esbuild'
},
ssr: {
noExternal: ['ramda', 'bits-ui', 'rxfire']
noExternal: ['ramda', 'bits-ui']
},
optimizeDeps: {
include: ['copy-to-clipboard']
Expand Down
63 changes: 15 additions & 48 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6a632f6

Please sign in to comment.