Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paypal/paypal-js
Loading wrapper and TypeScript types for the PayPal JS SDK
https://github.com/paypal/paypal-js
angular async-loader checkout js-sdk paypal react typescript typescript-definitions vue
Last synced: 5 days ago
JSON representation
Loading wrapper and TypeScript types for the PayPal JS SDK
- Host: GitHub
- URL: https://github.com/paypal/paypal-js
- Owner: paypal
- License: apache-2.0
- Created: 2020-07-07T21:55:16.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-03T22:01:51.000Z (8 months ago)
- Last Synced: 2024-05-16T14:04:23.993Z (8 months ago)
- Topics: angular, async-loader, checkout, js-sdk, paypal, react, typescript, typescript-definitions, vue
- Language: TypeScript
- Homepage:
- Size: 3.46 MB
- Stars: 206
- Watchers: 36
- Forks: 70
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
## 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](./packages/paypal-js/README.md): PayPal's Vanilla JS loader
- [@paypal/react-paypal-js](./packages/react-paypal-js/README.md): PayPal's React loader### Contributing
#### Tools used
- [changesets](https://github.com/changesets/changesets) for tracking version changes
- [npm workspaces](https://docs.npmjs.com/cli/v7/using-npm/workspaces/) for monorepo package management
- [prettier](https://prettier.io) for code formatting#### Steps to make a change
1. Install dependencies:
```
npm install
```2. Make proposed changes
3. Run tests```
npm test
```4. Add a changeset for versioning
```
npm run changeset:add
```5. 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](https://github.com/changesets/changesets/blob/main/docs/prereleases.md).