Skip to content

feat: extract devframe into standalone monorepo#1

Merged
antfu merged 2 commits into
mainfrom
antfu/hamburg
May 11, 2026
Merged

feat: extract devframe into standalone monorepo#1
antfu merged 2 commits into
mainfrom
antfu/hamburg

Conversation

@antfu
Copy link
Copy Markdown
Contributor

@antfu antfu commented May 11, 2026

Summary

  • Imports the devframe code from the vite-devtools monorepo and converts the single-package boilerplate into a multi-package monorepo: packages/devframe, packages/nuxt, three examples, VitePress docs, tsnapi tests, and the Claude Code skill.
  • Wires up the full tooling stack: pnpm catalogs (build/deps/devtools/docs/frontend/inlined/testing/types), Turborepo build pipeline, ESLint config, tsconfig.base.json workspace path aliases auto-synced from alias.ts, GitHub Actions (sxzz/workflows reusable CI + release), and the Netlify-deployed docs site.
  • The devframe-files-inspector example has its @vitejs/devtools-kit integration removed since the kit package lives in a separate repo; the CLI/dev/build/SPA demo path remains intact.

Test plan

  • pnpm install succeeds (semver ^7.8.0 override pins the trust-policy-flagged transitive dep)
  • pnpm build runs the full turbo pipeline (devframe → nuxt → example clients)
  • pnpm typecheck passes (tsc -b across the workspace)
  • pnpm lint passes
  • pnpm test passes — 283/283 tests including tsnapi public-API snapshots
  • pnpm docs:build produces the VitePress site for Netlify
  • pnpm -C packages/devframe pack includes dist/ + skills/devframe/ via the prepack script

antfu added 2 commits May 11, 2026 14:47
Imports the devframe code from vite-devtools and converts the
single-package boilerplate into a multi-package monorepo (packages,
examples, docs, tests, skills). Sets up pnpm catalogs, Turborepo
pipeline, ESLint config, tsconfig path aliases via alias.ts, and the
VitePress docs site. The files-inspector example has its Vite DevTools
kit integration removed (kit package lives outside this repo).
The empty `permissions: {}` block strips the default token permissions,
leaving only `metadata: read`. Checkout in the reusable workflow then
hits "Repository not found" because it can't authenticate the fetch.
@antfu antfu merged commit 3af5f23 into main May 11, 2026
7 checks passed
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