Skip to content

Conversation

@rocketraman
Copy link
Contributor

@rocketraman rocketraman commented Nov 6, 2025

When we use @ZodImport to reference an external package, the name of the package is not necessarily enough to resolve it. For example, we could be resolving it to a local location, a GitHub repo, or other.

Now, a mapping can be configured from the package name to a resolvable location via the Gradle plugin settings.

In addition, support is added for custom install commands. This can be used to do, for example, yalc add package instead of npm install package, and to install specific versions of a package e.g. convert name "foo" into "foo@4.0.0".

In addition, support is added for arbitrary additional npm commands. This can be used to do things like npm pkg set files[1]=.yalc/**/*.

When we use `@ZodImport` to reference an external package, the name
of the package is not necessarily enough to resolve it. For example,
we could be resolving it to a local location, a GitHub repo, or
other.

Now, a mapping can be configured from the package name to a resolvable
location via the Gradle plugin settings.
External package install commands are useful for overriding the
default behavior -- for example, yalc add vs npm install.
Being able to customize the full command allows us to specify other things
such as the package version.
@nathanfallet nathanfallet merged commit 92ed4e2 into guimauvedigital:main Nov 17, 2025
1 check passed
@codecov
Copy link

codecov bot commented Nov 17, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@rocketraman rocketraman deleted the rg/package-mapping branch November 19, 2025 19:36
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