Skip to content

layout: js languages to <lang>/defs.bzl and private/, delete families/js (pilot) #10090

Closed

Description

@TrapsterDK

Part of #10084. Follow docs/design/layout.md. Do after #10085.

For each language in this group:

  • <lang>/defs.bzl is the only public .bzl; <lang>/rules/ and other impl dirs move to <lang>/private/ with package-private visibility.
  • <lang>/extensions.bzl holds public module extensions; <lang>/BUILD.bazel holds toolchain_type and public flags.
  • Add <lang>/lang.json (schema from the manifest issue).
  • Linters, coverage and quality code under quality/tools/<lang>, tools/coverage/<lang> or quality/<x> move to <lang>/private/.
  • Update every label in docs, examples, starters, dx init payloads and tests. No forwarding stubs.
  • Regenerate locks and the support matrix with Bazel.
  • Move families/<f>/<lang>/tests back to <lang>/tests, delete families/<f> and its modules/families.json entry, and drop its bazel_dep/local_path_override from root MODULE.bazel.

Languages: javascript, typescript, svelte, vue, astro, mdx. This PR sets the pattern for the other groups; keep it reviewable (split per language if large).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hwESun1HL2eSVd1d5B

Activity

  1. added
    P2
    model:sonnet
    on Nov 9, 2026
  2. TrapsterDK commented on Nov 10, 2026

    @TrapsterDK
    CollaboratorAuthor

    origin/main already covers this (#10258, #10275): javascript, typescript, svelte, vue, astro and mdx each have defs.bzl, lang.json and private/; no /rules dirs remain; families/js is deleted and no js family is in root MODULE.bazel; js quality aspects live under javascript/private/quality; tests are at /tests.

    🤖 Generated with Claude Code

    https://claude.ai/code/session_01Xut2hzLvRXZcoZvVp18RGd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2model:sonnet

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions