Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

npm_library should be a repository_rule

Open
#3 3 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dropbox/rules_node

All issues in dropbox/rules_node

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.