aspect-build / aspect-build/rules_js
[FR]: npm_translate_lock should use the yarnpkg/extensions database
- Dominant language
- Starlark
- Stars
- 378
- Forks
- 183
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 32
Description
### What is the current behavior?
Users can add `pnpm.packageExtensions` to their `package.json` file, just like pnpm says to do.
However, under pnpm, this is automatic:
https://pnpm.io/npmrc#ignore-compatibility-db
> During installation the dependencies of some packages are automatically patched
### Describe the feature
rules_js should also apply the yarnpkg/extensions patches automatically.
Contributor guide
Research direction
Start at the npm_translate_lock entry point and review the yarnpkg/extensions database linked in the issue alongside pnpm's packageExtensions behavior. Determine how rules_js currently handles package extension data; done means the yarnpkg/extensions patches are applied automatically during translation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100