Refactor code structure for improved readability and maintainability

This commit is contained in:
Arunavo Ray
2025-05-20 15:57:46 +05:30
parent 98973adfe5
commit 4a01a351f0
6 changed files with 1557 additions and 7718 deletions

View File

@@ -5,7 +5,7 @@
# Node.js # Node.js
node_modules node_modules
bun.lockb bun.lock
npm-debug.log npm-debug.log
yarn-debug.log yarn-debug.log
yarn-error.log yarn-error.log

View File

@@ -7,14 +7,14 @@ on:
- 'Dockerfile' - 'Dockerfile'
- '.dockerignore' - '.dockerignore'
- 'package.json' - 'package.json'
- 'bun.lockb' - 'bun.lock'
pull_request: pull_request:
branches: [ main ] branches: [ main ]
paths: paths:
- 'Dockerfile' - 'Dockerfile'
- '.dockerignore' - '.dockerignore'
- 'package.json' - 'package.json'
- 'bun.lockb' - 'bun.lock'
schedule: schedule:
- cron: '0 0 * * 0' # Run weekly on Sunday at midnight - cron: '0 0 * * 0' # Run weekly on Sunday at midnight

View File

@@ -6,7 +6,7 @@ RUN apk add --no-cache libc6-compat python3 make g++ gcc wget sqlite
# ---------------------------- # ----------------------------
FROM base AS deps FROM base AS deps
COPY package.json bun.lockb* ./ COPY package.json bun.lock ./
RUN bun install --frozen-lockfile RUN bun install --frozen-lockfile
# ---------------------------- # ----------------------------

View File

@@ -11,7 +11,12 @@ export default defineConfig({
mode: 'standalone', mode: 'standalone',
}), }),
vite: { vite: {
plugins: [tailwindcss()] plugins: [tailwindcss()],
build: {
rollupOptions: {
external: ['bun']
}
}
}, },
integrations: [react()] integrations: [react()]
}); });

1547
bun.lock Normal file

File diff suppressed because it is too large Load Diff

7713
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff