Skip to content

Establish bun monorepo#701

Merged
ebma merged 22 commits into
stagingfrom
establish-bun-monorepo
Jun 10, 2025
Merged

Establish bun monorepo#701
ebma merged 22 commits into
stagingfrom
establish-bun-monorepo

Conversation

@ebma
Copy link
Copy Markdown
Member

@ebma ebma commented Jun 5, 2025

This pull request adds changes to use bun throughout the whole repository. It also replaces prettier and eslint with biome, a tool that is able to do it all in one.

The most important changes summarized:

  • executable projects, namely 'frontend' and 'api', were moved to the 'apps' directory
  • library/packages, namely 'shared', were moved to the 'packages' directory.
  • The paths in the tsconfig files were adjusted to properly import the new mappings.
  • 'shared' was renamed to '@packages/shared' to signal that it's a local import
  • The 'shared' project does not need to be built before it can be used anymore. The contained typescript files can be used as is.
  • Utility commands for joint building and running were added.
  • The precommit hook for linting was fixed. It also sorts the imports. Note: we could also enable the 'linter' in the precommit hook for maximum gain, however currently we have too many lint issues in the 'api project which we need to fix first.

This structure is easily extensible, ie. once we start working on a new package (e.g. vortex-signer), we can put it into the 'packages' directory and easily import it everywhere.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 5, 2025

Deploy Preview for pendulum-pay ready!

Name Link
🔨 Latest commit daee2c8
🔍 Latest deploy log https://app.netlify.com/projects/pendulum-pay/deploys/6847f31eed562e0008c1f2a2
😎 Deploy Preview https://deploy-preview-701--pendulum-pay.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ebma ebma requested a review from a team June 5, 2025 18:30
@ebma
Copy link
Copy Markdown
Member Author

ebma commented Jun 10, 2025

The ci is failing because we have too many lint issues. We should address them in a separate PR though.

@ebma ebma merged commit 4d4cbdb into staging Jun 10, 2025
4 of 5 checks passed
@ebma ebma deleted the establish-bun-monorepo branch June 10, 2025 09:01
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.

1 participant