Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Monorepo and initial refactor #49

Draft
bernardoforcillo wants to merge 14 commits into
dillionverma:mainfrom
headlessbuilder:dev
Draft

Monorepo and initial refactor #49
bernardoforcillo wants to merge 14 commits into
dillionverma:mainfrom
headlessbuilder:dev

Conversation

@bernardoforcillo
Copy link
Copy Markdown

@bernardoforcillo bernardoforcillo commented Nov 11, 2024

This pull request includes various changes to the project configuration, environment settings, and the removal of several client-side components.

Configuration and Environment Updates:

  • Added node_modules to .dockerignore to prevent Docker from copying these files into the image.
  • Removed the ESLint configuration file .eslintrc.json.
  • Added a Dependabot configuration file .github/dependabot.yaml to automate dependency updates for npm and GitHub Actions.
  • Updated the funding configuration in .github/funding.yml to include a GitHub sponsor link.
  • Added VSCode settings in .vscode/settings.json to enforce editor preferences like tab size and auto-save behavior.

Removal of Client-Side Components:

  • Removed the LoginPage component from app/(auth)/login/page.tsx.
  • Removed the Admin component from app/(dashboard)/admin/page.tsx.
  • Removed the UsersPage component and related logic from app/(dashboard)/apps/apps-page.tsx and app/(dashboard)/apps/page.tsx. [1] [2]
  • Removed the DashboardPage component from app/(dashboard)/dashboard.tsx.
  • Removed the FeatureRequest component from app/(dashboard)/feature-request/page.tsx.
  • Removed the DeleteDialog component from app/(dashboard)/install/delete-dialog.tsx.This pull request includes several changes focused on configuration updates and the removal of client-side code from various pages. The most important changes include the addition of a Dependabot configuration, updates to .vscode settings, and the removal of several client-side components and pages.

Configuration Updates:

  • Added Dependabot configuration to .github/dependabot.yaml to automate dependency updates for npm and GitHub Actions.
  • Updated .vscode/settings.json to include editor preferences such as tab size, format on save, and TypeScript settings.

Removal of Client-Side Code:

  • Removed the entire login page component from app/(auth)/login/page.tsx.
  • Removed the admin dashboard page and its associated data visualization components from app/(dashboard)/admin/page.tsx.
  • Removed the apps page and its associated components from app/(dashboard)/apps/apps-page.tsx.
  • Removed the feature request page from app/(dashboard)/feature-request/page.tsx.
  • Removed the delete dialog component from app/(dashboard)/install/delete-dialog.tsx.This pull request includes several significant changes across multiple files, focusing on dependency management, onboarding process removal, and API setup. The most important changes are summarized below:

Dependency Management:

  • Added node_modules to .dockerignore to prevent unnecessary files from being included in Docker builds.
  • Configured Dependabot in .github/dependabot.yaml to automate dependency updates for npm and GitHub Actions.
  • Added funding information in .github/funding.yml to support the project.

Onboarding Process Removal:

  • Removed the LogsOnboarding component and related code from app/(dashboard)/logs/logs-onboarding.tsx.
  • Removed the LogsPage component and related code from app/(dashboard)/logs/logs-page.tsx.
  • Removed the Logs component and related code from app/(dashboard)/logs/page.tsx.

API Setup:

  • Added a README.md with basic setup instructions for the API in apps/api/README.md.
  • Created package.json for the API with necessary dependencies and configurations in apps/api/package.json.
  • Implemented the API entry point in apps/api/src/index.ts with logging, compression, and Swagger UI integration.
  • Defined API routes in apps/api/src/routes/index.ts using OpenAPI and Zod for validation.
  • Configured TypeScript for the API project in apps/api/tsconfig.json.

Docker Configuration:

  • Created a Dockerfile for the application to streamline the build and deployment process.

Environment Configuration:

  • Updated .env.example with placeholder values for environment variables in apps/app/.env.example.

UI Enhancements:

  • Added Suspense for lazy loading in apps/app/app/(auth)/login/page.tsx to improve user experience. [1] [2]

@bernardoforcillo bernardoforcillo marked this pull request as draft November 11, 2024 10:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant