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

Tidy monorepo setup #15128

Merged
merged 28 commits into from
Dec 10, 2024
Merged

Tidy monorepo setup #15128

merged 28 commits into from
Dec 10, 2024

Conversation

adrinr
Copy link
Collaborator

@adrinr adrinr commented Dec 5, 2024

Description

Making a better use of the yarn workspace, cleaning up and removing some unnecessary processes:

  1. Removing unnecessary build steps, as we can use the src directly
  2. Unifying the tsconfigs and paths, removing plenty of duplicated code
  3. Unifying @types/node

Related:

Feature branch env

Feature Branch Link

Copy link

qa-wolf bot commented Dec 5, 2024

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

@adrinr adrinr force-pushed the labday/monorepo-setup branch from f628f45 to 38b988b Compare December 5, 2024 16:41
@github-actions github-actions bot added firestorm Data/Infra/Revenue Team size/m labels Dec 5, 2024
@adrinr adrinr changed the title Labday/monorepo setup Tidy monorepo setup Dec 9, 2024
@adrinr adrinr marked this pull request as ready for review December 9, 2024 12:13
@adrinr adrinr requested a review from a team as a code owner December 9, 2024 12:13
@adrinr adrinr requested review from samwho and mike12345567 and removed request for a team December 9, 2024 12:13
@adrinr adrinr added the feature-branch Release this PR code into a feature branch label Dec 10, 2024
@@ -134,10 +134,10 @@ const environment = {
BUDIBASE_ENVIRONMENT: process.env.BUDIBASE_ENVIRONMENT,
JS_BCRYPT: process.env.JS_BCRYPT,
JWT_SECRET: process.env.JWT_SECRET
? createSecretKey(Buffer.from(process.env.JWT_SECRET))
? createSecretKey(process.env.JWT_SECRET, "utf8")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is a strange case... We are using node 20, and based on their docs, it should accept "buffer" as a parameter. But the types don't allow it. Until now it was working as we were wrongly using node 22 types

@adrinr adrinr merged commit c66c8de into master Dec 10, 2024
20 checks passed
@adrinr adrinr deleted the labday/monorepo-setup branch December 10, 2024 10:01
@github-actions github-actions bot locked and limited conversation to collaborators Dec 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-branch Release this PR code into a feature branch firestorm Data/Infra/Revenue Team size/m
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants