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

[FR]: npm_translate_lock.replace_packages for packages linked by pnpm workspace #2066

Open
EZaykov opened this issue Jan 9, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@EZaykov
Copy link

EZaykov commented Jan 9, 2025

What is the current behavior?

    "dependencies": {
        "@shared": "workspace:../../lib/shared/src"
    }

Currently replace_packages argument ignoring linked like that packages completely.

The problem is that I don't want to use src part of path in my imports in other projects of workspace. And I unfolding this directory during compilation as well so dependency path mismatches can't occur.

Describe the feature

Would be cool to be able to put packages like that into replace_packages argument. And if i'am not wrong value of this property can accept output of js_library.

I'am new to Bazel and just getting familiar with new tool. Maybe there is other ways to solve my problem.

@EZaykov EZaykov added the enhancement New feature or request label Jan 9, 2025
@EZaykov EZaykov changed the title [FR]: ability npm_translate_lock.replace_packages for packages linked by pnpm workspace [FR]: npm_translate_lock.replace_packages for packages linked by pnpm workspace Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant