Skip to content

Conversation

@pbennett1-godaddy
Copy link
Contributor

This pull request introduces a new Next.js example application demonstrating integration with GoDaddy's React components and payment flows. It adds all necessary configuration, setup, and sample code for a functional checkout experience using multiple payment providers. The changes also include supporting files and updates to the monorepo for workspace compatibility.

New Next.js Example Application

  • Added the examples/nextjs directory with a complete Next.js app, including sample checkout page (app/page.tsx), custom checkout form validation (app/checkout.tsx), layout and global styles, and provider setup. [1] [2] [3] [4]
  • Included configuration files for TypeScript (tsconfig.json), Biome (biome.json), Tailwind CSS (postcss.config.mjs, globals.css), Next.js (next.config.ts), and environment variables (env.sample). [1] [2] [3] [4] [5]
  • Added documentation (README.md) and .gitignore for the example project. [1] [2]
  • Updated the root pnpm-workspace.yaml to include the new examples/* directory for workspace management.
  • Added a new package.json for the example app, specifying dependencies on GoDaddy packages and other libraries.

Core Library Improvements

  • Fixed the CheckoutFormSchema type in packages/react/src/components/checkout/checkout.tsx to allow proper extension and customization by consumers.
  • Minor type fix for payment methods array in the Express Checkout button implementation.

Monorepo and Miscellaneous

  • Added new workspace scripts for development and linting in the root package.json.
  • Added a patch changeset for formatting fixes in several GoDaddy packages. (.changeset/fresh-jokes-yawn.md)

@pbennett1-godaddy pbennett1-godaddy self-assigned this Oct 30, 2025
@pbennett1-godaddy pbennett1-godaddy requested a review from a team as a code owner October 30, 2025 19:35
Copy link
Contributor

@wcole1-godaddy wcole1-godaddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few small things.

@changeset-bot
Copy link

changeset-bot bot commented Oct 31, 2025

⚠️ No Changeset found

Latest commit: ce52870

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@wcole1-godaddy wcole1-godaddy merged commit a5ae09f into main Oct 31, 2025
3 checks passed
@wcole1-godaddy wcole1-godaddy deleted the examples branch October 31, 2025 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants