Skip to content

layout: dart and flutter to <lang>/defs.bzl and private/, delete families/dart #10094

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: dart, flutter. After the js pilot.

🤖 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

    Already done on origin/main: dart/ and flutter/ each have defs.bzl, lang.json and private/ (dart also extensions.bzl); tests live at dart/tests and flutter/tests; families/ now holds only android, apple, cuda, haskell, ocaml, powershell, swift; no dart/flutter entries remain in root MODULE.bazel family overrides, and quality/tools/{dart,flutter} and tools/coverage/{dart,flutter} are gone.

    🤖 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