1.0.1 • Published 5 months ago
@futurae-public-js/adaptive-js v1.0.1
adaptive-js
This is the JavaScript SDK for adaptive
Build Setup
# install dependencies
$ yarn
# test locally (http://localhost:3000)
$ yarn build:dev
$ npx serve
# test with local instance of webapp, staging or production. This uses a proxy server to send request to the target environment
$ yarn build
$ yarn devSome APIs like Geolocation can run only in secure context (HTTPS) so for that case ngrok can be really handy.
Dependabot configuration
https://dependabot-gitlab.gitlab.io/dependabot/guide/
Environmental Variables (settings > CI/CD > Variables)
- SETTINGS__GITHUB_ACCESS_TOKEN
- SETTINGS__GITLAB_ACCESS_TOKEN
- SETTINGS__GITLAB_URL
- SETTINGS__CONFIG_BRANCH (only for testing)