PayPal JS Monorepo
This is a collection of libraries intended to help developers more easily integrate with PayPal's JS SDK
Packages Available
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
Contributing
Tools used
- changesets for tracking version changes
- npm workspaces for monorepo package management
- prettier for code formatting
Steps to make a change
Install dependencies:
npm install
Make proposed changes
Run tests
npm test
Add a changeset for versioning
npm run changeset:add
Open a new PR
Releasing
Releasing a new latest
To release a new version please leverage Github Actions. There is a release action that can be run to create a new release.
Release a new alpha
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.