Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add epic stack monorepo example #464

Merged
merged 2 commits into from
Sep 23, 2023
Merged

add epic stack monorepo example #464

merged 2 commits into from
Sep 23, 2023

Conversation

PhilDL
Copy link
Contributor

@PhilDL PhilDL commented Sep 23, 2023

Add monorepo example

This is a monorepo was created with pnpm for space efficiency and conveniences when working with workspaces.
On top of that package manager the monorepo pipeline tool of choice is turborepo (feel free to switch it for NX).

  • apps Folder containing the applications

  • packages Folder containing examples

    • ui:
      this UI package contains the shadcn/ui Component
      previously in the Epic Stack App. It also exposes a Tailwind config
      "epic-stack" preset, that you consume from the Remix app.
    • client-hints:
      is an example package that takes the original functions and hooks handling
      client-hints in the utils folder of the original app, and put that into
      their own package.
      The hooks:
      were refactored to take "loader" as generics (typically the root loader).
    • Some config packages:
      • eslint containing some common eslint configs.
      • tsconfig presets.

Checklist

  • Tests updated
  • Docs updated

Screenshots

The repo has a short commit history to allow folks to pick the part that interest them.

CleanShot 2023-09-23 at 14 58 27

The Dockerfile + fly setup is working and live https://epic-stack-monorepo.fly.dev/

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome. Thank you for putting the work in on this!

@kentcdodds kentcdodds merged commit af13de3 into epicweb-dev:main Sep 23, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants