Skip to content

Conversation

@yoannmoinet
Copy link
Member

@yoannmoinet yoannmoinet commented May 16, 2025

Relies on:

What and why?

Would be great to dogfood ourselves.

How?

Use the plugins on ourselves.

Introducing the ADD_BUILD_PLUGINS var that will inject our own rollup-plugin to the builds of our published plugins, in order to report our own builds to Datadog.

It also introduces the concept of "basic build" which will allow us to build our @datadog/rollup-plugin, that we use to track and report on every other builds, in a very simple way, only creating what we need to use the plugin.

This way, we can use it to report on every other published packages, @datadog/rollup-plugin included 🤯

We use it in the CI's lint job and in the publish's prepack script.

@yoannmoinet yoannmoinet marked this pull request as ready for review May 19, 2025 08:36
Base automatically changed from yoann/add-metadata-configuration to master May 19, 2025 09:45
@yoannmoinet yoannmoinet enabled auto-merge May 19, 2025 12:25
@yoannmoinet yoannmoinet merged commit 8d15d3a into master May 19, 2025
4 checks passed
@yoannmoinet yoannmoinet deleted the yoann/self-use-build-plugin branch May 19, 2025 12:29
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.

3 participants