Skip to content

[AAWF-420] Add prepack hook to build the common and the service package #2264

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

Merged
merged 2 commits into from
May 22, 2025

Conversation

skarimo
Copy link
Member

@skarimo skarimo commented May 21, 2025

Before packing the packages, we need to:

  • Build the shared package @datadog/datadog-api-client because yarn workspaces looks to resolve the package locally. If not satisfied, it will fall back to published npm packages.
  • Build the service being released.

This PR makes use of the prepack hook to ensure we do both of the above.

See: https://yarnpkg.com/advanced/lifecycle-scripts#prepack-and-postpack

@skarimo skarimo requested review from a team as code owners May 21, 2025 19:36
@skarimo skarimo changed the title Add prepack hook to build the common and the service package [AAWF-420] Add prepack hook to build the common and the service package May 21, 2025
@skarimo skarimo merged commit f489005 into v2 May 22, 2025
6 checks passed
@skarimo skarimo deleted the sherz/v2-release-builds branch May 22, 2025 13:15
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.

3 participants