Skip to content

Conversation

@gewenyu99
Copy link

@gewenyu99 gewenyu99 commented Dec 8, 2025

What does meta do

Gives you a convenient way to pull, sync, run commands across repos. Submodules are great but I guess clunky? meta does an okay job trying to solve this.

Screen.Recording.2025-12-08.at.5.20.04.PM.mov
Screen.Recording.2025-12-08.at.5.22.59.PM.mov

Changes

Multi-repo setup with meta

  • Added .meta config to clone dependent repos into repos/ subdirectory
  • Added repos/ to .gitignore so cloned repos stay local.
  • Updated mprocs.yaml paths from ../ to repos/ for self-contained structure
  • A way to checkout the same branch for all repos, if you're developing in all repos at once.
  • If you have posthog/posthog or posthog/example already pulled and have separate changes there, this lets you avoid them.
  • You can ignore meta if you just don't wanna use it.

New npm scripts

Script Description
pnpm setup:all Installs meta + clone all repos + install dependencies
pnpm pull Pull latest across all repos
pnpm status Git status across all repos
meta -- git status runs git status on all repos
pnpm wizard <cmd> Run command in wizard repo
pnpm posthog <cmd> Run command in posthog repo
pnpm examples <cmd> Run command in examples repo

Other

  • Added meta as devDependency (v2.2.25)
  • Updated .env.example with new repo paths
  • Added packageManager field for consistent pnpm version

Usage

# Initial setup
pnpm install 
pnpm setup:all
# Start dev stack

pnpm dev
# Run commands in specific repos
pnpm wizard git status
pnpm posthog pnpm build

@wiz-7ad640923b
Copy link
Contributor

wiz-7ad640923b bot commented Dec 8, 2025

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities 1 Medium 1 Low
Data Finding Sensitive Data -
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations -
SAST Finding SAST Findings -
Total 1 Medium 1 Low

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

@gewenyu99 gewenyu99 requested a review from a team December 8, 2025 22:47
@daniloc
Copy link

daniloc commented Dec 8, 2025

A way to checkout the same branch for all repos, if you're developing in all repos at once.

I like that

@edwinyjlim
Copy link
Member

i'm for it! but let's kick the tires a few times first

Copy link

@sarahxsanders sarahxsanders left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this feels like it will reduce barrier to contribution (especially as a n00bie), I like

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.

5 participants