okta-react icon indicating copy to clipboard operation
okta-react copied to clipboard

V6 Not on NPM

Open JuliaCBrown opened this issue 5 years ago • 8 comments

Hey folks. We're looking to upgrade our version of okta-auth-js and the readme here lists v6 as the being compatible with it. However, I'm not seeing v6 live on npm https://www.npmjs.com/package/@okta/okta-react

When will the new version get published?

JuliaCBrown avatar May 20 '21 19:05 JuliaCBrown

Update on this would be very helpful, thank you! Looking to upgrade okta-auth-js and this blocks us.

amacleay-cohere avatar May 24 '21 14:05 amacleay-cohere

For now you can do the following as a workaround till its on npm

yarn add https://github.com/okta/okta-react.git

or

npm install https://github.com/okta/okta-react.git

niloyc avatar May 26 '21 07:05 niloyc

For @niloyc's workaround to work in yarn 3 (might work with yarn 2 as well), I had to

yarn add @okta/okta-react@okta/okta-react

wegry avatar May 27 '21 18:05 wegry

Any update on this? My team would like to use the npm registry as well.

k4p7 avatar Jun 08 '21 18:06 k4p7

Also, @okta/okta-auth-js is a dependency now: https://github.com/okta/okta-react/blob/7c9bb234ff5641d0127a97b75a846585df31e7ca/package.json#L43

But the README still says install it as a peer dependency: https://github.com/okta/okta-react/blob/7c9bb234ff5641d0127a97b75a846585df31e7ca/README.md

Am I missing sth?

coolgod avatar Jun 13 '21 00:06 coolgod

My team is under a firewall that doesn't have access to github.com, so neither @niloyc or @wegry's workaround works. Any update on when this will be published to npm?

rosbel avatar Jun 14 '21 15:06 rosbel

@rosbel We are working on the release, it would be on NPM soon.

shuowu avatar Jun 14 '21 15:06 shuowu

Version 6 has been released on NPM! Close the issue.

shuowu avatar Jun 14 '21 21:06 shuowu