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

F2: Frontend setup #585

Merged
merged 5 commits into from
Oct 17, 2024
Merged

F2: Frontend setup #585

merged 5 commits into from
Oct 17, 2024

Conversation

dreikanter
Copy link
Owner

@dreikanter dreikanter commented Oct 17, 2024

Summary

  • F2 is a major rewrite of Feeder production revision, that will include architecture improvements as well as DX upgrade.
  • This is a follow-up PR finishing front-end tools setup.

Changes

  • Make bun available in the development environment.
  • Ensure it's possible to build JS assets during deployment.

@dreikanter dreikanter merged commit 87c79d0 into f2 Oct 17, 2024
6 checks passed
@dreikanter dreikanter deleted the f2-frontend-setup branch October 17, 2024 14:37
@@ -5,6 +5,7 @@ const config = {
sourcemap: "external",
entrypoints: ["app/javascript/application.js"],
outdir: path.join(process.cwd(), "app/assets/builds"),
// minify: true
Copy link
Owner Author

Choose a reason for hiding this comment

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

I'm keeping minification disabled during the prototyping stage of the F2.

Comment on lines +9 to +16
curl \
&& gem install bundler:'~> 2.5' \
&& rm -rf /var/lib/apt/lists/*

RUN curl -fsSL https://bun.sh/install | bash

ENV PATH="/root/.bun/bin:${PATH}"

Copy link
Owner Author

Choose a reason for hiding this comment

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

Ensure bun is available in the development environment when ssh-ing into the app container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant