Skip to content

feat: restructure into Turborepo monorepo layout#1

Open
ayhid wants to merge 1 commit intopluginpal:mainfrom
ayhid:feat/phase-1-turborepo-restructure
Open

feat: restructure into Turborepo monorepo layout#1
ayhid wants to merge 1 commit intopluginpal:mainfrom
ayhid:feat/phase-1-turborepo-restructure

Conversation

@ayhid
Copy link

@ayhid ayhid commented Feb 13, 2026

Summary

  • Move plugin code (admin/, server/, jest.config.js) into packages/strapi-plugin-boilerplate/
  • Move playground/ into apps/playground/
  • Add root workspace config: pnpm-workspace.yaml, turbo.json, root package.json
  • Update plugin package.json: remove yalc/cypress/prettier, add biome/tanstack-query scripts & deps
  • Switch playground dependency from yalc link to workspace:* protocol

Test plan

  • pnpm install resolves all workspace dependencies
  • pnpm turbo build builds the plugin successfully
  • Verify git log --follow tracks file history across the move

Move plugin code (admin/, server/, jest.config.js) into
packages/strapi-plugin-boilerplate/ and playground into apps/playground/.

Add root workspace configuration:
- pnpm-workspace.yaml defining workspace packages
- turbo.json with task pipeline (build, dev, lint, test)
- Root package.json with workspace scripts

Update plugin package.json:
- Remove yalc from build script
- Remove playground and cypress scripts
- Add biome lint/format scripts
- Add @tanstack/react-query dependency
- Remove cypress, prettier devDeps
- Update ENV_PATH for new directory structure

Update playground to use workspace:* protocol instead of yalc link.
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