Skip to content
hcoonaPublic

About

My polyglot monorepo.

Topics

Resources

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

2,169 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Three

My polyglot monorepo. It consolidates the projects I rely on most under a single roof—originally bringing together OnePython, OneDotNet, and additional standalone repositories—to share CI, release, and security policies, version cross-cutting assets together, and preserve upstream code (including Git LFS objects) in one clone.

Start with the documentation portal for repository and project records, CONTRIBUTING.md for contribution and review, and SECURITY.md for private vulnerability reporting. The Delivery Wave identifies current authorized work. For GitHub Copilot Telegram notifications, see the Coding Agent Notifier.

Supported Languages

Active projects use three primary language stacks managed from the repository root:

Stack Workspace / Build Authority Formatting, Linting, and Type Checking Testing
C# / .NET global.json, dirs.proj, Directory.Packages.props Roslyn analyzers (TreatWarningsAsErrors), dotnet format Microsoft.Testing.Platform (dotnet test)
Python pyproject.toml, uv.lock, nbgv-python (Hatchling) ruff (lint & format), pyrefly (type check) pytest (mise run test:python or uv run pytest)
JavaScript / TypeScript pnpm-workspace.yaml, package.json, pnpm-lock.yaml biome (lint & format), tsgo (type check) Package test scripts (pnpm run test)

Secondary ecosystems—including Ruby (for asciidoctor-latexmath) and formal modeling toolchains (TLA+, Alloy, and Z3)—are also pinned in mise.toml and documented in Workspace and Toolchain Setup. Workspace and package manifests remain the canonical source of build membership.

Migrated Projects

Standalone repositories consolidated into three retain their upstream provenance below:

Project Directory Upstream Commit
Asciidoctor LaTeXMath src/public/lib/asciidoctor-latexmath/ Repo 514d685
Unofficial Microsoft Entra Authentication CLI src/public/app/unofficial-microsoft-entra-authentication-cli/ Repo f509276
ImageOcclusionEditor src/public/app/ImageOcclusionEditor/ Repo e08f834
OneDotNet (historical import) git history only Repo 17f2224
Steam Account History to CSV src/public/lib/steam-account-history-to-csv/ Repo b759a52
Hexo Renderer AsciiDoc src/public/lib/hexo-renderer-asciidoc/ Repo d98f8d5

Earlier repository imports used git subtree add --squash; retired standalone lines consolidated permanently into three (such as Unofficial Microsoft Entra Authentication CLI from main-v2) use linear verbatim snapshot commits followed by monorepo adaptation.

Active C# projects migrated from the historical OneDotNet/ subtree now live under the canonical src/ and tests/ layout. For active project entry points, see the documentation portal. For retired monorepo projects, prototypes, and pre-monorepo deprecated packages (with immutable links to their last intact Git trees and replacement guidance), see docs/retired-projects.md.

Getting Started

Canonical Repository Layout

  • src/ contains active monorepo projects organized under public/, private/, and sample/ (lab/ is reserved for experiments when present; retired labs are indexed in docs/retired-projects.md). Migrated OneDotNet public C# projects live under src/public/, and Python workspace members live under src/ with internal Workflow Delivery fixtures under tests/ (declared in root pyproject.toml; there is no top-level OnePython/ or OneDotNet/ directory).
  • tests/ contains matching test projects and internal Workflow Delivery fixtures organized under public/, private/, and eng/ (including migrated OneDotNet public C# tests under tests/public/).
  • docs/ holds repository governance, shared engineering guides, and the documentation portal. Project-specific documentation stays with its owning project directory.

Repository Toolchain

Toolchain versions are managed with MISE (mise.toml and mise.lock), and Git hooks plus CI source conformance use HK (hk.pkl).

Install the locked tools, required .NET frameworks, and Git hooks from the repository root:

mise install --locked
mise run bootstrap:dotnet-frameworks
mise exec -- hk install --mise

See Workspace and Toolchain Setup for cross-platform lockfile refresh, Git LFS, TLA+/Alloy/Z3, and troubleshooting details.

Quick Workspace Commands

  • C# / .NET:

    dotnet build dirs.proj
    dotnet test --project tests/public/lib/CircularList.UnitTest/CircularList.UnitTest.csproj
  • Python:

    uv sync --frozen
    mise run test:python # Linux / WSL: runs the full native Python group against HEAD
  • JavaScript / TypeScript:

    pnpm install
    pnpm run typecheck
    pnpm run build
    pnpm run test

Run local HK conformance checks before opening a pull request; see CONTRIBUTING.md for the exact command and PR requirements.

Language Specific Best Practices

Repository-wide engineering guidance lives in Engineering Principles. Use English for all code, comments, commit messages, and repository documentation, commit Git LFS-tracked paths as canonical LFS pointers, and keep the three-day minimum release-age cooldown and full-SHA GitHub Actions pins enforced by HK (supply-chain-policy).

C# / .NET

  • SDK and traversal: Keep global.json (rollForward: disable) as the .NET SDK authority and dirs.proj as the traversal root (Windows-only WinUI/Windows projects are automatically excluded on non-Windows hosts).
  • Package management and lockfiles: Manage versions centrally in Directory.Packages.props with transitive pinning enabled and packages.lock.json committed (RestoreLockedMode=true in CI). Published libraries under src/public/lib/ must isolate runtime dependencies with open-ended minimum floors ([x.y.z,)) in src/public/lib/Directory.Packages.props.
  • Versioning and code quality: Use Nerdbank.GitVersioning, Microsoft.Testing.Platform, dotnet format, and latest recommended Roslyn analyzers with TreatWarningsAsErrors. Consult the shared compatibility rationale before adding or changing analyzer or build-property exceptions.

Python

  • Workspace and environment: Register workspace members in root pyproject.toml ([tool.uv.workspace]) and keep [tool.pyrefly].project-includes aligned with the locked member roots. Sync with uv sync --frozen, and run mise run sync:python-version after updating the Python or uv lock.
  • Formatting, linting, and typing: Follow Google Python style enforced by ruff (80-character lines, double quotes, Google docstrings, explicit type annotations) and verify types with pyrefly.
  • Versioning and packaging: Use nbgv-python with Hatchling for versioned packages, and declare >= minimum dependency and requires-python floors for published libraries under src/public/lib/.

JavaScript / TypeScript

  • Workspace and dependencies: Manage packages through pnpm-workspace.yaml using the shared catalog for common tooling, strictPeerDependencies, and the shared lockfile. Review lifecycle install scripts with pnpm approve-builds rather than disabling checks globally.
  • Formatting, linting, and typing: Format and lint with biome (biome.jsonc) and type-check with tsgo (@typescript/native-preview).
  • Published libraries: Declare minimum compatible floors (^ or >=) in src/public/lib/**/package.json across runtime, optional, peer, and engines fields, reserving exact pins only for documented contract exceptions (see Workspace and Toolchain Setup).

About

My polyglot monorepo.

Topics

Resources

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages