mancala/packages/core
Halit Aksoy e165b0a0eb build: use local mancala.js and @mancala/core packages
- Apps and @mancala/core depend on the packages in this repo through
  link: dependencies instead of the npm releases, so changes no longer
  need a publish
- Root package.json gets a build:packages script that installs and
  builds both packages
- Backend and frontend Docker images are built from the repo root so
  they can include the packages; compose builds them that way
- Metro watches the packages folder and resolves their imports from the
  app's node_modules
2026-10-14 02:09:05 +03:00
..
src feat(mobile): implement "Rejoin Game" functionality and fix storage bugs 2026-07-16 02:00:25 +03:00
.eslintignore (refactor) change folder structure 2024-06-18 01:11:26 +03:00
.eslintrc (refactor) change folder structure 2024-06-18 01:11:26 +03:00
.gitignore (refactor) change folder structure 2024-06-18 01:11:26 +03:00
.prettierrc (refactor) change folder structure 2024-06-18 01:11:26 +03:00
jest.config.js (refactor) change folder structure 2024-06-18 01:11:26 +03:00
package-lock.json (refactor) change folder structure 2024-06-18 01:11:26 +03:00
package.json build: use local mancala.js and @mancala/core packages 2026-10-14 02:09:05 +03:00
README.md (refactor) change folder structure 2024-06-18 01:11:26 +03:00
tsconfig.json (refactor) change folder structure 2024-06-18 01:11:26 +03:00
yarn.lock build: use local mancala.js and @mancala/core packages 2026-10-14 02:09:05 +03:00

Mancala Core

This module contains common functionalities for the Mancala project.

Build

yarn build

Usage

Link this local package to other packages (backend, frontend, mobile).

yarn link

In the target package folder, run:

cd ../backend
yarn link @mancala/core

NPM Publish Instructions

Run the following commands:

npm login
npm publish --access public