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

build: do not run lerna build #16

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Conversation

alecjacobs5401
Copy link
Contributor

The previous yarn build command ran lerna run build, which was causing issues with the release process.

For some reason, lerna run build was deleting dist/index.d.ts files from the build public plugins, meaning on release that they would no longer include their type definitions.

Backstage does not even define a root yarn build anymore and @backstage/create-app also no longer has this lerna run build step.

For now, just make yarn build and yarn build:all equivalent since that is primary requirement for this repo.

Signed-off-by: Alec Jacobs <charles.jacobs@segment.com>
@alecjacobs5401 alecjacobs5401 requested a review from a team as a code owner August 30, 2024 21:19
Copy link
Contributor

@Sabrina0614 Sabrina0614 left a comment

Choose a reason for hiding this comment

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

Thank you for digging into it Alec!

@alecjacobs5401 alecjacobs5401 merged commit 4b0f05c into main Aug 30, 2024
5 checks passed
@alecjacobs5401 alecjacobs5401 deleted the ajacobs/fix-build-command branch August 30, 2024 21:23
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