Skip to content

Releases: oktadev/schematics

v0.8.0

03 Jun 18:18
Compare
Choose a tag to compare

This release adds support for Angular CLI v8 and upgrades Ionic AppAuth to 0.3.5.

v0.7.2

11 May 23:25
Compare
Choose a tag to compare

This release refactors Angular support so it's less invasive. A separate auth-routing.module.ts is now created and imported into app.module.ts.

v0.7.1

19 Apr 12:44
Compare
Choose a tag to compare

v0.7.0

16 Apr 15:41
2ffca02
Compare
Choose a tag to compare

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

20 Feb 19:27
Compare
Choose a tag to compare

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

14 Feb 16:26
Compare
Choose a tag to compare

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.

v0.5.0

25 Jan 01:14
Compare
Choose a tag to compare

First release! Try it out with the following commands:

ng new my-secure-app --routing --style css
cd my-secure-app
ng add @oktadev/schematics

If you don't have Angular CLI installed, you'll need to install it:

npm i -g @angular/cli