Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CLI had a package version from storybook hardcoded - now queries npm registry #1079

Merged
merged 1 commit into from
May 20, 2017

Conversation

ndelangen
Copy link
Member

Fixes: #1077

What I did

I changed the way the cli determines what is the latest version of the packages it should install.
Before it was hard-coded, now it actually consults the registry.

How to test

  • navigate to the ./lib folder
  • run: npm i ./cli -g
  • validate version by running getstorybook -V
  • navigate to a project that is compatible with storybook
  • run: getstorybook

I tested:

The above steps. The project I tested on already had storybook, this gave expected feedback. I was able to force it using --force. I think this is enough to be sure it works.

@ndelangen
Copy link
Member Author

@theinterned @mnmtanish @danielduan Can you review?

@ndelangen ndelangen added the cli label May 20, 2017
@ndelangen ndelangen added this to the v3.0.0 milestone May 20, 2017
@ndelangen ndelangen merged commit 4efdb5b into master May 20, 2017
@ndelangen ndelangen deleted the cli/improvement-versioning branch May 20, 2017 16:02
@shilman shilman added the misc label May 27, 2017
@ndelangen ndelangen added the bug label May 27, 2017
@ndelangen ndelangen changed the title IMPROVE cli FIX cli had a package version from storybook hardcoded - now queries npm registry May 27, 2017
@ndelangen ndelangen changed the title FIX cli had a package version from storybook hardcoded - now queries npm registry Fix CLI had a package version from storybook hardcoded - now queries npm registry May 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants