https://github.com/flolu/rules-ts-transitive-deps
rules_ts transitive dependencies
https://github.com/flolu/rules-ts-transitive-deps
bazel docker nodejs rules-js rules-ts typescript
Last synced: about 1 month ago
JSON representation
rules_ts transitive dependencies
- Host: GitHub
- URL: https://github.com/flolu/rules-ts-transitive-deps
- Owner: flolu
- Created: 2022-12-02T12:23:00.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-12T21:07:24.000Z (over 3 years ago)
- Last Synced: 2025-06-06T21:43:54.746Z (about 1 year ago)
- Topics: bazel, docker, nodejs, rules-js, rules-ts, typescript
- Language: Starlark
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Transitive Docker Dependencies with rules_js
# Reproduction
**Requirements**
- Node.js
- pnpm (`npm install -g pnpm`)
- Bazelisk (`npm install -g @bazel/bazelisk`)
**Setup**
- `pnpm i` (Install Node dependencies)
**Works fine**
- `bazelisk run //:bin` (Run app)
**Transitive dependencies are not passed on to container**
- `bazelisk run //:image && docker run --rm -it bazel:image` (Run Docker container)
```
Error: Cannot find module '@org/lib2'
Error: Cannot find module '@faker-js/faker'
```