Skip to content

JesseTatasciore/bazel-typescipt-types-issue-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running bazel version 3.2.0

Make sure to bazel clean between runs

bazel build //... (will go green)

bazel build --strategy=TypeScriptCompile=worker //... (will go green)

bazel build --strategy=TypeScriptCompile=local //... (will fail)

ERROR: .../bazel-typescipt-types-issue-repro/BUILD:14:11: Compiling TypeScript (devmode) //:semver failed (Exit 1)
semver.ts:1:25 - error TS2307: [strictDeps] transitive dependency on external/npm/node_modules/@types/semver/index.d.ts not allowed. Please add the BUILD target to your rule's deps.

1 import * as semver from 'semver';

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published