bazel-import
v0.0.2
Published
Automatically add Bazel deps when you import code
Downloads
6
Readme
bazel-import README
Automatically add Bazel deps to build files when TS imports are included in a file.
Features
This extension detects change to TS files, takes notes of new import statements, looks up corresponding Bazel build targets, and adds them to the nearest build file with buildozer.
Requirements
This extension assumes:
- your TS Bazel target names match the location of your build files
- you have
buildozerinstalled on your system
Extension Settings
This extension contributes the following settings:
bazel-import.buildFile: The file name convention where your build targets are definedbazel-import.targetPrefixes: Path prefixes that should be considered for auto-adding Bazel depsbazel-import.importPathPrefixes: Target prefixes that should be considered for auto-adding Bazel depsbazel-import.externalTargets: External dependency path previxes and their associated external build targetsbazel-import.notifyChange: Notify the user that a build file has beend updated
Release Notes
0.0.1
Initial release
