bazel-gazelle-sample-web-extension

module
v0.0.0-...-a95bb51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: Apache-2.0

README

Example Bazel Gazelle extension tho manage BUILD file contents for Javascript and Typescript code.

Based on rules_nodejs_gazelle.

Intended to generate some of the rules used at my bazel-web-template repository.

⚠️ The extension is still WIP. It is missing some basic features, like import parsing and resolution ⚠️

Setup / Requirements

Run

bazelisk run //:gazelle

# apply only to a specific path:
bazelisk run //:gazelle path/to/folder

Development

Build

bazelisk build //...

Recommendations

Testing

bazelisk test //...

Updates

Apart from updating WORKSPACE and MODULE.bazel, you should run:

bazelisk run //:update_go_deps

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL