The Descope JS repo is composed of many npm packages that are used in Descope SDKs You can read more on the Descope Website.
Descope provides few packages listed bellow. Please refer to the README and instructions of those SDKs for more detailed information.
- core-js-sdk: Core SDK. Function that abstract http API usage.
- web-js-sdk: Web SDK. an SDK for browser usage.
- web-component: Web component. Exposes HTML web components such as Descope flow.
This monorepo is built and managed using NX. In order to use the repo locally.
- Clone this repo
- Run
pnpm i
- Use the available scripts in the root level
package.json
. e.g.pnpm run <test/lint/build>
Few repos exposes examples. Refer to packages README to run them
- Pull Request title (which is used as the squash & merge commit messages) must met conventional commits (e.g. "fix: ..." / "chore: ...", "feat: ...")
- Release new versions is done by merging a commit message containing the word
RELEASE
(e.g.chore: ... RELEASE
)
If you need help you can email Descope Support