Skip to content

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

Merged
boazpoolman merged 2 commits intopluginpal:mainfrom
ayhid:feat/phase-2-remove-yalc-fix-paths
Feb 17, 2026
Merged

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

Conversation

@ayhid
Copy link
Contributor

@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)
@boazpoolman boazpoolman merged commit a19514e into pluginpal:main Feb 17, 2026
1 of 3 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.

2 participants