-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add gazelle extensions READMEs (#3034)
Anything else you can think of to add now? --------- Co-authored-by: Alex Eagle <[email protected]> GitOrigin-RevId: 0ef391edfcdb89ed24e253b27cde85301f215c6e
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# JavaScript/TypeScript BUILD file generation | ||
|
||
This package automates the creation and maintenance of BUILD files for JavaScript and TypeScript, using [rules_js](https://github.com/aspect-build/rules_js) and [rules_ts](https://github.com/aspect-build/rules_ts). It is a [Gazelle](https://github.com/bazelbuild/bazel-gazelle) `Language` implementation. | ||
|
||
## Usage | ||
|
||
This feature is included in the [Aspect CLI](https://github.com/aspect-build/aspect-cli), accessed with the [`configure` command](https://docs.aspect.build/v/cli/commands/aspect_configure). | ||
It's also possible to build into your own Gazelle binary. | ||
|
||
## Rules | ||
|
||
Generated targets include: | ||
|
||
- `ts_project` targets for source, tests, and custom targets and their ts/js/npm dependencies | ||
- `npm_package` targets for projects within a pnpm workspace | ||
- `npm_link_all_packages` for linking npm packages | ||
|
||
### Directives | ||
|
||
See [Aspect CLI Directives](/cli/core/docs/help/topics/directives.md#JavaScript) for a list of supported directives. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Kotlin Gazelle Extension | ||
|
||
EXPERIMENTAL: This is a work in progress and is not yet ready for use. Work is ongoing including upcoming support for rules_jvm maven dependencies. | ||
|
||
This is a [Gazelle](https://github.com/bazelbuild/bazel-gazelle) `Language` implementation for Kotlin using the [rules_kotlin](https://github.com/bazelbuild/rules_kotlin) `jvm` rules. |