This is a collection of libraries intended to help developers more easily integrate with PayPal's JS SDK
Below is a list of available packages to install.
Each package has its own documentation in it's respective README.
- @paypal/paypal-js: PayPal's Vanilla JS loader
- @paypal/react-paypal-js: PayPal's React loader
- changesets for tracking version changes
- npm workspaces for monorepo package management
- prettier for code formatting
-
Install dependencies:
npm install
-
Make proposed changes
-
Run tests
npm test
-
Add a changeset for versioning
npm run changeset:add
-
Open a new PR
To release a new version please leverage Github Actions. There is a release action that can be run to create a new release.
There is no Github Action for alpha release at this time. Because this repo utilizes changesets we can follow their process locally in the meantime. This document can be seen here.