This repo consists of an demo app, and the following npm packages:
- @dsaidgovsg/swagger-ui-plugin-otp-auth: source, npm
- @dsaidgovsg/swagger-ui-plugin-saml-auth: source, npm
- @dsaidgovsg/swagger-ui-custom-layout: source, npm
- @dsaidgovsg/chain-wrap-components: source, npm
- Node.js v18
$ npm install
Managing the monorepo is done by turbo
$ turbo run dev # boot up instance, e.g. http://localhost:3000
$ turbo run test # run tests for all packages
$ turbo run lint # run lint for all packages
$ turbo run test:watch # run tests in watch mode
$ turbo run build # run build script for all packages and apps
Change logs is managed by changesets.
$ npx changeset # cli to generate changeset, CI will auto-create a version bump PR