Skip to content

Commit

Permalink
docs: add gazelle extensions READMEs (#3034)
Browse files Browse the repository at this point in the history
Anything else you can think of to add now?

---------

Co-authored-by: Alex Eagle <[email protected]>
GitOrigin-RevId: 0ef391edfcdb89ed24e253b27cde85301f215c6e
  • Loading branch information
jbedard and alexeagle committed Aug 14, 2023
1 parent e3febd0 commit 3f712fe
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
20 changes: 20 additions & 0 deletions gazelle/js/README.md
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.
5 changes: 5 additions & 0 deletions gazelle/kotlin/README.md
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.

0 comments on commit 3f712fe

Please sign in to comment.