Develop QuizMS
Download and build
quizms:shgit clone git@github.com:olimpiadi-informatica/quizms.git cd quizms pnpm install # install dependencies across the monorepo pnpm -r build # compile all packagesYou can use
pnpm -r watchin a separate terminal to automatically recompile packages as you edit them.Link into a project to test
quizms(such asquizms-demoor a contest repo):In modern pnpm, use direct path linking from the consuming project directory:
shcd path/to/your-contest-project pnpm link ../quizms/packages/quizms # If testing mdx or other packages: pnpm link ../quizms/packages/quizms-mdxAlternatively, you can use yalc for isolated local testing:
sh# In quizms/packages/quizms: npx yalc publish # In your contest project: npx yalc add @olinfo/quizmsStart the development server in your contest project:
shpnpm devRestoring dependencies when done:
shpnpm unlink @olinfo/quizms pnpm install --force