Skip to content

Commit

Permalink
Dev (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
schaier-io authored Mar 3, 2025
2 parents 1eab0c5 + 5f57280 commit 31c5a8d
Show file tree
Hide file tree
Showing 36 changed files with 12,417 additions and 3,632 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ echo "${GREEN}✅ All checks passed!${NC}"
# Only run lint-staged if it exists in package.json and npx is available
if command -v npx >/dev/null 2>&1 && grep -q "\"lint-staged\"" package.json 2>/dev/null; then
npx --no -- lint-staged
fi
fi
4 changes: 1 addition & 3 deletions frontend/.env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
NEXT_PUBLIC_PAYMENT_API_BASE_URL=/api/v1
NEXT_PUBLIC_TRANSAK_API_KEY=1234567890
NEXT_PUBLIC_ENVIRONMENT=staging
PUBLIC_PAYMENT_API_BASE_URL=/..
2 changes: 0 additions & 2 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,3 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts

.env
9 changes: 5 additions & 4 deletions frontend/next.config.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
import type { NextConfig } from "next";
import type { NextConfig } from 'next';

const nextConfig: NextConfig = {
output: 'export',
distDir: 'dist',
basePath: '/admin',
env: {
NEXT_PUBLIC_PAYMENT_API_BASE_URL: process.env.NEXT_PUBLIC_PAYMENT_API_BASE_URL || '/api/v1'
NEXT_PUBLIC_PAYMENT_API_BASE_URL:
process.env.NEXT_PUBLIC_PAYMENT_API_BASE_URL || 'http://localhost:3001',
},
images: {
unoptimized: true
}
unoptimized: true,
},
};

export default nextConfig;
12 changes: 0 additions & 12 deletions frontend/openapi-ts-error-1740017978625.log

This file was deleted.

Loading

0 comments on commit 31c5a8d

Please sign in to comment.