Skip to content

chore: upgrade @rrlab/* toolchain to latest + tooling cleanups#18

Open
rqbazan wants to merge 5 commits into
mainfrom
chore/rrlab-latest-toolchain
Open

chore: upgrade @rrlab/* toolchain to latest + tooling cleanups#18
rqbazan wants to merge 5 commits into
mainfrom
chore/rrlab-latest-toolchain

Conversation

@rqbazan
Copy link
Copy Markdown
Member

@rqbazan rqbazan commented May 27, 2026

Follow-up to #17, which migrated @vlandoss/{config,run-run}@rrlab/* but pinned the older 0.x releases. This bumps to the latest @rrlab/* and tightens the toolchain setup.

Changes

  • Bump @rrlab/* to latest (0.x1.1.0): @rrlab/{cli,biome-plugin,ts-plugin,tsdown-plugin} across the root workspace and all 9 examples (+ lockfiles), pinned to exact versions.
  • @biomejs/biome → 2.4.15 (latest) across root + examples. This pulls in biome's stricter organizeImports assist; applied its safe fix to the two examples that declare a #config module (spa-vite-plugin, ssr-tanstack-start).
  • package/tsdown.config.ts: use the defineLibConfig factory from @rrlab/tsdown-config instead of repeating format/dts per entry. Build output is unchanged (.mjs/.d.mts for node, .js/.d.ts for neutral/browser).
  • Catalog @rrlab/{ts-config,tsdown-config} in pnpm-workspace.yaml and declare them per-package (package/, docsite/).
  • Drop the build npm script in package/package.json; prepublishOnly now runs rr pack directly (no pnpm build indirection).
  • mise.toml:
    • config_roots uses a single-level glob (examples/*) instead of listing each example.
    • env:pack and lib:{build,test} use dir = "{{config_root}}/package" + rr pack/vitest run directly, consistent with env:watch (the only remaining --filter is docsite, which has no file-relative work).
  • Docs: point the "adding an example" steps at @rrlab/biome-config.

Validation

  • rr doctor ✓ · rr check (workspace lint + typecheck) ✓ · rr pack build ✓
  • Package unit tests: 81/81 ✓
  • mise run "//examples/...:check" → all 9 examples pass ✓
  • mise run env:pack / lib:build / lib:test

🤖 Generated with Claude Code

Builds on the @rrlab migration in #17, which pinned the older 0.x
releases. Bumps to the latest @rrlab/* and tightens the setup.

- @rrlab/{cli,biome-plugin,ts-plugin,tsdown-plugin} 0.x → 1.1.0
  across root + all 9 examples (+ lockfiles); pin exact versions
- @biomejs/biome → 2.4.15 (latest); apply its organizeImports safe fix
  to the two examples with a #config module declaration
- package/tsdown.config.ts: use @rrlab/tsdown-config defineLibConfig
- catalog @rrlab/{ts-config,tsdown-config}; declare them per-package
- drop package `build` script; prepublishOnly runs `rr pack` directly
- mise: glob config_roots ("examples/*"); env:pack + lib:{build,test}
  use `dir` + `rr pack`/`vitest run` instead of pnpm filters
- docs: point example setup at @rrlab/biome-config

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rqbazan rqbazan force-pushed the chore/rrlab-latest-toolchain branch from 83a33d6 to 04f2cfb Compare May 27, 2026 00:28
rqbazan and others added 2 commits May 26, 2026 19:43
The Playwright browser install step (`mise run playwright:install`) can
hang on the runner, leaving jobs running until the 6h default cap. Add
bounded timeouts following the existing pattern in docsite.yml:

- e2e matrix job: 12m; "Install Playwright browsers" 6m; "Test e2e" 5m
- ci `test` job: 10m; "Install Playwright browser" 6m
- ci `release`: 15m; `preview`: 10m

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rqbazan rqbazan force-pushed the chore/rrlab-latest-toolchain branch from e4ba484 to e508d48 Compare May 27, 2026 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant