Skip to main content
Version: 2024.41.17

Aspect CLI Releases

2024.42.3 (latest)

October 15, 2024

Changes

Features:

  • (OSS) configure generated package targets (npm_package or js_library) visibility is now set to public by default.
  • Support starzelle rule removal restricted by kind

Fixes:

  • (OSS) Pnpm workspace project dependencies resolved with aspect configure are now higher priority then resolving dependencies via tsconfig paths
  • Show correct paths in starzelle error stack traces
  • Use gazelle result.Empty API for target removal
  • Read+query source files concurrently across all plugins

Refactors:

  • Improve starzelle missing-property error message

Installation

For full install instructions see overview.

Bazelisk (MacOS / Linux)

Configure bazelisk to use the Aspect CLI for all developers in a repository by adding the following to .bazeliskrc in the repository root:

BAZELISK_BASE_URL=https://static.aspect.build/aspect
USE_BAZEL_VERSION=aspect/2024.42.3

The underlying version of Bazel can be configured in your .bazelversion file or the BAZEL_VERSION environment variable.

2024.41.17

October 8, 2024

Changes

Fixes:

  • Dependencies from package.json main/types/exports fields no longer cause errors when aspect configure can not resolve the referenced files.

Installation

For full install instructions see overview.

Bazelisk (MacOS / Linux)

Configure bazelisk to use the Aspect CLI for all developers in a repository by adding the following to .bazeliskrc in the repository root:

BAZELISK_BASE_URL=https://static.aspect.build/aspect
USE_BAZEL_VERSION=aspect/2024.41.17

The underlying version of Bazel can be configured in your .bazelversion file or the BAZEL_VERSION environment variable.

2024.41.9

October 7, 2024

Changes

Features:

  • (OSS) New --fixes flag added to lint command in the the Aspect CLI which defaults to true. Users can now set --nofixes to turn off requesting the lint patch output group (rules_lint_patch). Requesting the report outputs groups (rules_lint_human and rules_lint_machine) is still controlled by the --report and --machine flags

Fixes:

  • (OSS) rules_js gazelle plugin: support direct import of outputted dts files. Things like package.json might import both the .d.ts and .js version of a file. Those can come from source .d.ts or .ts.
  • (OSS) rules_js gazelle plugin: set npm_package(srcs) as mergeable gazelle attribute
  • (OSS) rules_js gazelle plugin: tsconfig rootdir filtering of source files
  • (OSS) rules_js gazelle plugin: generated npm package srcs vs deps attributes
  • (OSS) rules_js gazelle plugin: support package.json exports/main references to outputted .js/.d.ts
  • (OSS) gazelle: minor enhancement to support the .gitignore trailing-/ so it only matches directories

Refactors:

Installation

For full install instructions see overview.

Bazelisk (MacOS / Linux)

Configure bazelisk to use the Aspect CLI for all developers in a repository by adding the following to .bazeliskrc in the repository root:

BAZELISK_BASE_URL=https://static.aspect.build/aspect
USE_BAZEL_VERSION=aspect/2024.41.9

The underlying version of Bazel can be configured in your .bazelversion file or the BAZEL_VERSION environment variable.

2024.39.54

September 28, 2024

Changes

Initial release of the Aspect CLI (standard).

Installation

For full install instructions see overview.

Bazelisk (MacOS / Linux)

Configure bazelisk to use the Aspect CLI for all developers in a repository by adding the following to .bazeliskrc in the repository root:

BAZELISK_BASE_URL=https://static.aspect.build/aspect
USE_BAZEL_VERSION=aspect/2024.39.54

The underlying version of Bazel can be configured in your .bazelversion file or the BAZEL_VERSION environment variable.