npm_library should be a repository_rule
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- node.js
- Domain
- build-system
Research direction
Start by locating npm_library and reading the WORKSPACE instantiation path, then compare it with the linked examples/npm/ts-loader/BUILD declarations. Done means npm_library is a repository_rule that fetches dependencies during WORKSPACE instantiation and supports variable outputs instead of requiring every constituent element to be declared.
Written by the indexing model from the issue text.
Description
npm_library should fetch dependencies during WORKSPACE instantiation.
These "repository rules" can have variable outputs, which avoid the need to declare all of the constituent elements as you have here: https://github.com/dropbox/rules_node/blob/master/examples/npm/ts-loader/BUILD#L7-L23.
- Dominant language
- Python
- Stars
- 53
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dropbox/rules_node
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
dropbox/rules_node#19 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
dropbox/rules_node#18 ·
-
Webpak Build Error Open
Difficulty 4/5 3-5 days Newbie friendliness 20/100
dropbox/rules_node#16 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
dropbox/rules_node#6 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
dropbox/rules_node#4 · 2 comments ·
All issues in dropbox/rules_node
Similar issues
-
essnmx good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
[Feature] 奇物选择添加优先级 Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
syfoud/Simulated_Scepter#174 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Giskard-AI/giskard-oss#2840 · 1 comment ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Openarea: repo bug perceived difficulty: 2
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
yeti-platform/yeti#1380 ·