Skip to content

Conversation

@teamdandelion
Copy link
Collaborator

This PR reorgs the v2 branch into "monorepo style" with python/, typescript/ and docs/ directories conceptually acting like their own monorepos.

I've added a minimal (0-dependency) package.json at root level so that it's possible to run some helpful commands (like bun run docs:dev) from project root without needing to cd. Since it has no dependencies, it doesn't create node modules at root.

Note, this breaks the cloudflare build. After merging, we should update the cloudflare build command to bun run build with a root directory of docs/.

All the docs content is moved into docs/content, and the former contents of docs/config are promoted up one level.

This makes the docs directory more like a "monorepo" docs viewer with package.json and wranger.jsonc where you'd expect them.

I created a bare-bones package.json at root so that `bun run docs:dev` and sibling commands would work without needing to cd. The top-level package.json has no dependencies so there is minimal pollution at root level (no node_modules).

Updated README to reflect the new commands. As of this commit, `uv run docs-dev` and `bun run docs:dev` both work at root level. Before moving the pyproject.toml into the python/ subrepo (and removing the uv docs commands), we should update the cloudflare config to use the bun commands instead.
@teamdandelion teamdandelion requested a review from willbakst as a code owner June 25, 2025 17:20
@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
v2-docs d98c01e Jun 25 2025, 05:17 PM

@willbakst willbakst merged commit 194a3ba into v2 Jun 25, 2025
1 of 2 checks passed
@willbakst willbakst deleted the monorepo-reorg branch June 25, 2025 19:35
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.

3 participants