storybook icon indicating copy to clipboard operation
storybook copied to clipboard

Publish nightly builds

Open tobiasdiez opened this issue 1 year ago • 7 comments

Todo: configure secret NPMJS_TOKEN with the correct deployment token.

tobiasdiez avatar Apr 23 '24 08:04 tobiasdiez

Not sure if this is related but I am having some issues withTypeError when reading '__STORYBOOK__' property of undefined. I noticed there is already a fix for that, but it hasn't been released if I am correct?

hp-vev avatar May 01 '24 18:05 hp-vev

Not sure if this is related but I am having some issues withTypeError when reading '__STORYBOOK__' property of undefined. I noticed there is already a fix for that, but it hasn't been released if I am correct?

I too have this issue

using windows with the below empty project

pnpm dlx nuxi@latest init myproject
cd myproject
pnpm dlx nuxi@latest module add storybook
pnpm dlx storybook-nuxt init
 ERROR  (node:41760) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.                                                                                                                                                                                                                                                  14:12:49  
(Use node --trace-deprecation ... to show where the warning was created)


 ERROR  Cannot start nuxt:  Cannot read properties of undefined (reading '__STORYBOOK__') 

Nuxt 3.11.2 with Nitro 2.9.6

blowsie avatar May 29 '24 13:05 blowsie

I can recommend https://github.com/intuit/auto to automate the release process.

kasperpeulen avatar Jun 01 '24 17:06 kasperpeulen

The examples are also broken https://storybook.nuxtjs.org/examples/basic

blowsie avatar Jun 03 '24 18:06 blowsie

@chakAs3 could you please add the required secrets? Thanks a lot! 🚀

tobiasdiez avatar Jun 04 '24 02:06 tobiasdiez

Thanks @tobiasdiez @chakAs3 for being on top of this. 🙏

shilman avatar Jun 04 '24 11:06 shilman

@chakAs3 @tobiasdiez Can we please set this up? I would personally be a lot more motivated to contribute if I could use those contributions quickly without waiting for a formal release.

mehcode avatar Jun 14 '24 16:06 mehcode

@tobiasdiez @mehcode sorry guys,i just payed attention to this notification, it is already done i updated the token

chakAs3 avatar Jul 30 '24 14:07 chakAs3

@chakAs3 Thanks a lot! However, it currently fails with

npm notice Publishing to https://registry.npmjs.org/ with tag nightly and public access
npm error code EOTP
npm error This operation requires a one-time password from your authenticator.
npm error You can provide a one-time password by passing --otp=<code> to the command you ran.
npm error If you already provided a one-time password then it is likely that you either typoed
npm error it, or it timed out. Please try again.

Could you please make sure that you use the "automation" kind of token:

tobiasdiez avatar Aug 03 '24 07:08 tobiasdiez

it is done 👍 @tobiasdiez

chakAs3 avatar Aug 09 '24 14:08 chakAs3

Awesome! This is working now. 🚀

tobiasdiez avatar Aug 11 '24 19:08 tobiasdiez