This project adheres to GitHub Flow.
To use the test environment while developing features for this repository, set the ONEBLINK_APPS_ENVIRONMENT
property on the window
before using the tenants
export:
import { ... } '@oneblink/apps'
window.ONEBLINK_APPS_ENVIRONMENT = 'test'
// exports that required environment based configuration
// (e.g. the URL to make requests to the OneBlink API)
// will now use the "test" environment configuration
This code base is written in TypeScript so it cannot be included locally in an application without a build step. Luckily, we have provided one :)
-
Allow NPM package to be linked
npm link
-
Start the watch process for building the code when changes occur
npm start
-
In your application, link to this package instead of a version on NPM
npm link @oneblink/apps
-
Checkout
master
git checkout master
-
Get the latest code
git pull
-
Start the release process
npm run release