mtncms

mtncms core

by mtncms
Other
v4
^4.0.0-beta.12
NOASSERTION

Overview

Summary generated from the README

MtnCMS core is a Payload plugin that provides a full website CMS for ski resorts. It stores editorial content such as block-based pages, news, events, amenities, programs, jobs, navigation and site settings, while live data like lifts, runs, snow and hours comes from MtnManager. It ships a Next.js front end layer, a CLI for database and migrations, and targets Payload 4 beta.

Features

  • defineMtnConfig and mtnCMS plugin that produce a complete Payload config
  • Resort block library for building pages, with defineSiteBlock for custom blocks
  • React server components for rendering blocks, header, footer, pages and SEO
  • Next.js routes, sitemap, robots.txt and preview routes via defineSite
  • mtncms CLI for db sync, reset and migration create, check and test
  • Showcase seeding with sample blocks and made-up live data

Use cases

  • Build a ski resort website with editorial pages, news and events backed by MtnManager live data
  • Manage resort navigation, amenities, programs and job listings in the Payload admin

From the author

MtnCMS: the website CMS built for ski resorts.

Installation

npm i @mtncms/core

0

Stars

0

Forks

0

Open Issues

Yesterday

Last Updated

438

Weekly Downloads

v0.1.1

npm Version

2.6 MB

Unpacked Size

17

Dependencies

GitHub stars

00 since Nov 15

Show data
GitHub stars by day (UTC)
DateStars
Dec 6, 20260
Dec 5, 20260
Dec 4, 20260
Dec 3, 20260
Dec 2, 20260
Dec 1, 20260
Nov 30, 20260
Nov 29, 20260
Nov 28, 20260
Nov 27, 20260
Nov 26, 20260
Nov 25, 20260
Nov 24, 20260
Nov 23, 20260
Nov 22, 20260
Nov 21, 20260
Nov 20, 20260
Nov 19, 20260
Nov 18, 20260
Nov 17, 20260
Nov 16, 20260
Nov 15, 20260
npm weekly downloads

Trends appear after 7 days of data. Collecting since Dec 1 — 6 daily snapshots so far.

Each point is npm's rolling 7-day download count.

Health Score

63/100Good

Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.

Badge for your README

Payload Directory health badge
Markdown
[![Payload Directory](https://payloaddirectory.dev/badge/1459471921-root.svg)](https://payloaddirectory.dev/plugins/1459471921-root)
HTML
<a href="https://payloaddirectory.dev/plugins/1459471921-root"><img src="https://payloaddirectory.dev/badge/1459471921-root.svg" alt="Payload Directory"></a>
Updated Dec 4, 2026Created Nov 16, 2026Published Dec 4, 2026

README

@mtncms/core

MtnCMS: a website CMS for ski resorts, as a Payload plugin, connected to MtnManager. Live data such as lifts, runs, snow, and hours come from MtnManager. MtnCMS holds the editorial content around it: pages built from resort blocks, news, events, amenities, programs, jobs, navigation and site settings.

To build a site, start from mtncms/mtncms-site, a Next.js + Payload site that uses this package, ready to deploy on Vercel or any Node server. Its README covers running, deploying and customizing a site. This repository is the package itself.

What's in it

ImportWhat it is
@mtncms/coredefineMtnConfig() (a full Payload config), the mtnCMS() plugin, defineSiteBlock(), uploadStorage(), the data layer types
@mtncms/core/renderThe front end's React server components: RenderBlocks, the header and footer, page views, SEO
@mtncms/core/nextThe site's routes: defineSite(), then its pages, layout, preview routes, icons, sitemap and robots.txt
@mtncms/core/next-configwithMtnCMS(), for the site's next.config.ts: Cache Components, security headers, whether a CDN may keep pages
@mtncms/core/migrationsData moves for a site's migrations (see CHANGELOG.md)
@mtncms/core/routingFor the site's proxy (no Payload or React): siteProxy(), routing to a site and language, cross-site write checks, HSTS, cache tags
@mtncms/core/showcaseseedShowcase(), a site with every block and its edge cases, and showcaseSource(), made-up live data
@mtncms/core/styles.cssThe front end's styles; tokens.css lists the --mtn-* custom properties a theme sets

The mtncms command manages a site's database and migrations: mtncms db:sync, db:reset, migrate:create, migrate:check and migrate:test. Run it in the site's folder.

Upgrading

CHANGELOG.md says what each release needs of a site: usually a new migration (migrate:create), sometimes a data move to call in it.

Development

pnpm install
pnpm typecheck
pnpm test
pnpm build   # dist/, as published

License

PolyForm Shield 1.0.0: you may use, change and distribute MtnCMS for any purpose except providing a product that competes with it or with any product MtnManager Inc. provides using it.

Required Notice: Copyright 2026 MtnManager Inc.

Similar plugins