aspect-build / aspect-build/rules_ts

can not customize npm_dependencies URLs

Open
#191 0 comments 0 reactions 0 assignees View on GitHub
enhancement need: funding
Dominant language
Starlark
Stars
138
Forks
87
Avg merge
2d 8h
Merged PRs (30d)
3

Description

With rules_js `.npmrc` can be used to customize registry URLs, auth. Customizing the typescript URLs in rules_ts is difficult and undocumented, see ts/private/npm_repositories.bzl

Ideally this will respect all config from the npmrc such as auth, cacert, registry URLs etc.

Contributor guide

Open the contributing guide

Research direction

Start with ts/private/npm_repositories.bzl and compare how rules_js uses .npmrc for registry URLs and authentication. Trace the current TypeScript URL configuration and determine how npmrc settings such as auth, cacert, and registry URLs should be respected; done means those settings can customize the dependencies consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.