Skip to content

quibbble/boardgame

Repository files navigation

Boardgame

This is a React component library for Quibbble games. See example.jsx for an example of how to use the provided components.

Install Packages

Run:

npm install quibbble/boardgame

Start Dev Testing Env

This runs the example example.jsx and allows for testing:

npm run dev

Test with game e.g. carcassonne

  1. git clone this and carcassonne
  2. in carcassonne root directory:
    uninstall dependency, and reinstall local dependencie
npm uninstall @quibbble/boardgame
npm install --save <path/to/local>/boardgame
  1. when changes are made in the boardgame module you need to run
npm run build

before seeing changes in the browser

Create New Release

  • Make desired changes.
  • Bump package.json version field.
  • Run npm i to update packages.
  • Run npm run build to build /dist.
  • Commit changes to main branch.
  • Create a new release via Github UI.
  • Github Actions will build and publish a new version.
  • Latest package published to quibbble/boardgame.