@hackforplay/monorepo
Monorepo for HackforPlay packages
Packages
- @hackforplay/common - Common package for building stages in hackforplay
Development
npm install- Install dependencies for all packagesnpm run build- Build all packagesnpm run test- Test all packages
Working on a specific package
cd packages/game- Navigate to the package directorynpm start- Start the development server for the package- Then use library from
http://localhost:8080/register.js
Adding a new package
- Create a new directory in the
packagesdirectory - Initialize the package with
npm init - Add the necessary configuration files (tsconfig.json, webpack.config.js, etc.)
- Add the package to the workspace by updating the root package.json
Deploy
git push origin- Then start automatic deploying via semantic-release
or manual deploy
npx np- Then start interactive shell via np