How to propose changes to the Mapsight monorepo.
- Read Licensing — MIT for the public tree.
- Read Trademark policy — code license does not grant use of the Mapsight name or logo.
- Read the Code of Conduct — expected behavior in community spaces.
- Read Standards — toolchain, checks, testing expectations.
- For map runtime changes, skim Redux architecture and Action guide.
Contributions to the public tree are accepted under MIT. See Decision 011.
git clone https://github.com/open-mapsight/mapsight.git
cd mapsight
pnpm install
pnpm typecheck
pnpm test
pnpm run checkUse Node and pnpm versions from root package.json engines.
- Branch from the current default integration branch (maintainers use public and private branch variants — follow team guidance).
- Keep diffs focused; match surrounding style.
- Run locally before push:
pnpm typecheckpnpm lintpnpm test(or affected packages via turbo filters)pnpm run check
- Open a PR with a clear description and test plan.
Husky hooks run leak checks and lint-staged on commit/push.
- Copy
docs/architecture/decisions/template.mdto the next number, e.g.013-short-title.md. - Fill Context, Decision, Alternatives, Consequences — plain language, not formal committee prose.
- Add a row to
decisions/README.mdindex. - Link related package docs (Redux, integration guides) in the References section.
Write one for framework choices, public API/config contracts, explicit non-goals, and licensing/ecosystem alignment. Skip routine fixes and dependency bumps.
Status values: Documented · Open · Deprecated · Superseded by Decision NNN
| Change type | Update |
|---|---|
| New integration pattern | docs/integration/* + link from docs/README.md |
| Ecosystem/deployment | ECOSYSTEM.md (public patterns only) |
| Package behavior | Package README.md and/or packages/*/docs/ |
Monorepo packages under packages/ and demo apps under apps/:
- Workspace dependencies use
workspace:^ - Published packages under
@mapsight/*scope - Build:
tsconfig.build.jsonfor emit; tests in maintsconfig.json
Adding a new package: follow an existing package’s package.json, tsconfig split, and turbo pipeline entries.
Published @mapsight/* packages are versioned from the monorepo root
with Changesets.
Contributors: when maintainers request it, add a changeset in your PR:
pnpm changesetCI verifies pending changesets with pnpm changeset status --since=main.
Maintainers: pushing to main runs
the release workflow (
changesets/action):
- Opens or updates a “Version Packages” PR (
pnpm run version-packages: version bumps, changelogs, refreshed starter@mapsight/*pins, and regenerated vector-style-compiler IDE metadata), or - When that PR merges, runs
pnpm run release(turbo build+changeset publish) to publish to npm (OIDC — no manualnpm publishfrom package directories).
Do not use per-package npm version / npm publish.
Before merging a release PR that introduces a new package name, configure the npm package record and trusted publisher first; see npm Trusted Publishing.
Open a GitHub issue for code, documentation, and integration questions.
For licensing and trademark questions, email contact@open-mapsight.org — see LICENSING.md and TRADEMARK.md.