Releases: oktadev/schematics
v0.8.0
v0.7.2
v0.7.1
This releases fixes Ionic on Android and Capacitor + iOS.
v0.7.0
This release adds support for Ionic + Angular. It also upgrades the SDK versions and dependencies that are installed.
Results of npm run coverage
:
=============================== Coverage summary ===============================
Statements : 97.27% ( 107/110 )
Branches : 86.21% ( 50/58 )
Functions : 100% ( 7/7 )
Lines : 97.22% ( 105/108 )
================================================================================
v0.6.1
This release increases test coverage for React and Vue by mocking package.json
. It also upgrades the SDK versions that are installed.
Results of npm run coverage
:
=============================== Coverage summary ===============================
Statements : 96.55% ( 84/87 )
Branches : 84.09% ( 37/44 )
Functions : 100% ( 6/6 )
Lines : 96.47% ( 82/85 )
================================================================================
v0.6.0
Now with support for Okta's React and Vue SDKs! You can even use JavaScript or TypeScript. 😃
React
Create a new project with Create React App.
npx create-react-app secure-react
cd secure-react
If you'd like to use TypeScript, add the --typescript
flag.
npx create-react-app secure-react --typescript
cd secure-react
Install Schematics globally.
npm install -g @angular-devkit/schematics-cli
Then install and run the add-auth
schematic in your project.
npm i @oktadev/schematics
schematics @oktadev/schematics:add-auth
See the Okta React SDK for more information.
Vue
Create a new project with Vue CLI. You must add routing for this schematic to work. If you specify TypeScript, a src/router.ts
will be used.
npm i -g @vue/cli
vue create secure-vue
cd secure-vue
Install Schematics globally.
npm install -g @angular-devkit/schematics-cli
Then install and run the add-auth
schematic in your project.
npm i @oktadev/schematics
schematics @oktadev/schematics:add-auth
See the Okta Vue SDK for more information.