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

Fe/main build #6

Merged
merged 11 commits into from
Jun 7, 2024
Merged

Fe/main build #6

merged 11 commits into from
Jun 7, 2024

Conversation

Eventyret
Copy link
Contributor

@Eventyret Eventyret commented Apr 18, 2024

Please see: Notion Doc for commands that are added to package.json

Let me know if you want any changes to it.

  • Created a top-level package.json with different scripts to start and stop development (this should simplify frontend work running everything we need)
  • Created our Typescript copying script copytypes.js To use the built-in yarn strapi ts:generate-types command. It will copy it into the frontend
  • Configured TS types to include these new types.
  • Configured tailwind to apply
  • Configured ShadCN to the frontend.
  • Moved to React Vanilla over Remix due to Remix been converted to react router

copytypes.js Outdated
// Adjust these paths as per your project structure
const files = [
{
src: path.join(__dirname, "./backend/types/generated/contentTypes.d.ts"),
Copy link
Member

Choose a reason for hiding this comment

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

We should probably use an os agnostic package, while none of us use windows there might be some external users or fork/clone this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Resolved made it agnostic.

@Eventyret
Copy link
Contributor Author

Moved to React and Server components instead of, remix due to Remix been moved to react router.

@derrickmehaffy derrickmehaffy merged commit 4cf5037 into main Jun 7, 2024
@derrickmehaffy derrickmehaffy deleted the FE/main-build branch June 7, 2024 14:22
@derrickmehaffy derrickmehaffy added the pr: chore Cleanups / dependencies / tooling / styling label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: chore Cleanups / dependencies / tooling / styling
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants