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

Migrate all dev scripts + docs from npm to yarn. #2072

Merged
merged 1 commit into from
Apr 26, 2017
Merged

Conversation

paulirish
Copy link
Member

Users are very welcome to install lighthouse with npm, but if they're doing a clone and any local development, all scripts + docs use yarn.

.travis.yml Outdated
before_script:
- gem install travis-artifacts
- export DISPLAY=:99.0
- export LIGHTHOUSE_CHROMIUM_PATH="$(pwd)/chrome-linux/chrome"
- sh -e /etc/init.d/xvfb start
- ./lighthouse-core/scripts/download-chrome.sh
- npm run build-all
- yarn run build-all
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure the "run" is optional.

yarn blah would be great for all the things.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ya it is. i was keeping it in some places to be explicit, but really i'd prefer to go without "run", too. :)

i'll nuke them.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Users can install install with npm, though
@paulirish paulirish merged commit 638760e into master Apr 26, 2017
@paulirish paulirish deleted the npmtoyarn branch April 26, 2017 19:41
@@ -238,13 +238,12 @@ right corner and signing in to GitHub.
git clone https://github.com/GoogleChrome/lighthouse

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should add a note about needing yarn for development here

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sg. done 2bb9c5b

paulirish added a commit that referenced this pull request Apr 26, 2017
Users can install install with npm, though
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants