@bearsolutionsmt/next-website
v0.4.0
Published
Shared Payload CMS blocks, collections, SEO utilities, and form helpers for Next.js — built by BearSolutions (bearsolutionsmt.com), a certified Google Partner agency specializing in web development, paid advertising, and marketing automation.
Maintainers
Readme
@bearsolutionsmt/next-website
Shared Payload CMS blocks, collections, SEO utilities, and i18n helpers for Next.js — built and maintained by BearSolutions, a certified Google Partner agency.
About BearSolutions
BearSolutions is a certified Google Partner agency specializing in paid advertising, web development, and marketing automation. Our founders have worked with companies of every size — from Google, Yelp, and Qualitest Group to fast-growing startups — bringing enterprise-level expertise to every client we serve.
We build fast, conversion-optimized websites using Next.js — engineered to turn traffic into revenue from day one. We also manage the full digital advertising stack: Google Ads, Meta Ads, conversion tracking, analytics dashboards, and AI automation.
For agencies and web developers, we act as your invisible backend partner — handling PPC fulfillment under your brand so you can offer paid advertising without hiring in-house.
Looking for a partner to grow your business? Get in touch — we deliberately limit our client intake so every account gets senior-level attention, full transparency, and no lock-in contracts.
Google Partner · Serving clients across the US & Europe
What's included
| Module | Import path | Description |
|---|---|---|
| Blocks | @bearsolutionsmt/next-website/blocks | Payload CMS page builder blocks (Hero, Logos, Portfolio, Bento, Services, WhyUs, ContactForm, RichText) |
| Collections | @bearsolutionsmt/next-website/collections | Payload collections (Users, Media, Tags) |
| Robots | @bearsolutionsmt/next-website/seo/robots | createRobots() factory for app/robots.ts |
| URL helpers | @bearsolutionsmt/next-website/seo/url | Locale-aware URL builders and hreflang alternates |
| JSON-LD schemas | @bearsolutionsmt/next-website/seo/schema | Structured data builders (Organization, WebPage, BlogPosting, etc.) |
| Indexing | @bearsolutionsmt/next-website/seo | notifyIndexers() — Google Indexing API + IndexNow |
| Deploy webhook | @bearsolutionsmt/next-website/seo/deploy-webhook | createDeployHandler() for post-deploy indexing |
| Sitemap | @bearsolutionsmt/next-website/seo/sitemap | buildSitemap() with static + Payload CMS dynamic entries |
| Page paths | @bearsolutionsmt/next-website/i18n/page-paths | createPagePathHelpers() for localized slugs, rewrites, and redirects |
| Payload hooks | @bearsolutionsmt/next-website/payload/hooks | afterChange/afterDelete hooks for auto-indexing posts |
| Forms | @bearsolutionsmt/next-website/forms | useFormTracking(), useWebhookSubmit(), HoneypotField — UTM/GCLID capture, bot filtering, locale-routed webhook submission |
Quick start
npm install @bearsolutionsmt/next-website// app/robots.ts
import { createRobots } from '@bearsolutionsmt/next-website/seo/robots'
import { BASE_URL } from '@/lib/seo/url'
export default createRobots({ baseUrl: BASE_URL })See GETTING_STARTED.md for the full setup walkthrough.
Documentation
| Document | Contents | |---|---| | GETTING_STARTED.md | Step-by-step setup guide for new projects | | PACKAGE.md | Full API reference — every export, type, and option |
Publishing
The package is published to npm automatically via GitHub Actions when changes are pushed to main under packages/next-bearsolutionsmt/.
You must bump the version in package.json before pushing. The workflow skips publishing if the version already exists on npm. If you push code changes without a version bump, the workflow will build but not publish.
# In packages/next-bearsolutionsmt/package.json, bump "version", then:
git add packages/next-bearsolutionsmt/
git commit -m "chore: bump @bearsolutionsmt/next-website to X.Y.Z"
git pushRequirements
- Next.js >= 14
- Payload CMS ^3.0
- React >= 18
