/authgear-sdk-js

Primary LanguageTypeScriptOtherNOASSERTION

Authgear SDK for JavaScript

@authgear/web @authgear/web @authgear/react-native @authgear/react-native License

Documentation

View the API Reference at https://authgear.github.io/authgear-sdk-js/.

Usage

Web

$ npm install --save @authgear/web

React Native

$ npm install --save @authgear/react-native

Contributing

First, fork the repository.

$ git clone --branch master git@github.com:<myusername>/authgear-sdk-js.git
$ cd authgear-sdk-js
$ npm ci
$ npm run lerna bootstrap
$ (cd website && yarn install --frozen-lockfile)

Releasing

First, ensure these tools are installed:

Also, Git should be configured to be able to sign using GPG keys, and npm should be logged in as appropriate user.

# VERSION should be in format like "0.1.0"
$ GIT_USER=<github-username> GITHUB_TOKEN=<github-token> GIT_BRANCH=master VERSION=<new-version> ./scripts/release.sh

Known issues

Apple silicon

See facebook/react-native#29605 (comment)