Skip to content

fix: remove yalc and update paths for monorepo structure#2

Open
ayhid wants to merge 2 commits intopluginpal:mainfrom
ayhid:feat/phase-2-remove-yalc-fix-paths
Open

fix: remove yalc and update paths for monorepo structure#2
ayhid wants to merge 2 commits intopluginpal:mainfrom
ayhid:feat/phase-2-remove-yalc-fix-paths

Conversation

@ayhid
Copy link

@ayhid ayhid commented Feb 13, 2026

Summary

  • Remove watchIgnoreFiles yalc workaround from playground admin config
  • Update test helper paths (appDir/distDir) for new monorepo layout
  • Update example.test.ts import path to reach apps/playground/tests/helpers
  • Remove yalc section from playground .gitignore
  • Delete root and playground yarn.lock files (pnpm replaces yarn)

Depends on: #1 (Phase 1: Turborepo restructure)

Test plan

  • pnpm --filter strapi-plugin-boilerplate test:jest — backend tests pass with updated paths
  • Playground starts without yalc-related warnings

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.
- Remove watchIgnoreFiles yalc workaround from playground admin config
- Update test helper paths (appDir/distDir) to reference ../../apps/playground
- Update example.test.ts import path to ../../../apps/playground/tests/helpers
- Remove yalc section from playground .gitignore
- Delete root and playground yarn.lock files (pnpm replaces yarn)
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