Getting local development setup Clone the repo and run the following steps
nvm use 10 |
git clone git@github.com:aerogear/aerogear-js-sdk.git |
cd ./aerogear-js-sdk |
npm install |
npm run bootstrap |
npm run build |
npm run link |
|
Issues Needed to add "dom" to the tsconfig here
{ |
"compilerOptions": { |
"sourceMap": true, |
"strict": true, |
"experimentalDecorators": true, |
"strictNullChecks": true, |
"esModuleInterop": true, |
"noImplicitAny": true, |
"target": "es5", |
"lib": [ |
"es6", |
"es2015", |
"esnext", |
"dom" |
], |
|
As the build was failing npm link your ionic app for local developement Change directory into your ionic app and run the following
npm link @aerogear/security |
npm install
|
now any time you build the sdk locally you will have to run npm install here. |