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

cli(chrome-launcher): remove chrome-launcher forwarding stubs #4945

Merged
merged 1 commit into from
Apr 10, 2018

Conversation

brendankenny
Copy link
Member

Part of #4333, the long awaited followup to #3410 :)

With 3.0 coming up, we can get rid of any remaining chrome-launcher stubs (forwarded to the chrome-launcher dep) previously maintained to be compatible with various docs and tutorials we put out in the past.

manual-chrome-launcher.js (used by chrome-debug and yarn chrome) is moved to scripts/.

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

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

hurrah! 🎉

@@ -5,7 +5,7 @@
"main": "./lighthouse-core/index.js",
"bin": {
"lighthouse": "./lighthouse-cli/index.js",
"chrome-debug": "./chrome-launcher/manual-chrome-launcher.js"
"chrome-debug": "./lighthouse-core/scripts/manual-chrome-launcher.js"
Copy link
Member

Choose a reason for hiding this comment

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

one option:

we remove this from the lh package and setup the bin over in chrome-launcher.

Copy link
Member Author

Choose a reason for hiding this comment

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

Since we have yarn chrome now I'm fine removing chrome-debug, but I also don't install lighthouse globally anyways. It probably makes sense to not install with lighthouse? cc @patrickhulce

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm fine either way, I don't use chrome-debug these days

Copy link
Member Author

Choose a reason for hiding this comment

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

after discussion, chrome-debug is still useful for testing a site requiring authentication with a global lighthouse install, so leaving for now

@brendankenny brendankenny merged commit 1de5667 into master Apr 10, 2018
@brendankenny brendankenny deleted the nolauncher branch April 10, 2018 18:04
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.

4 participants