-
Notifications
You must be signed in to change notification settings - Fork 165
Move screenshot-related utilities to a separate package. #8951
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
Conversation
983507e
to
dc12a49
Compare
@@ -4,8 +4,8 @@ | |||
import 'dart:async'; | |||
|
|||
import 'package:puppeteer/puppeteer.dart'; | |||
import 'package:screenshot_tools/screenshot_utils.dart'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Should we change the name of the main library to align with the package name?
import 'package:screenshot_tools/screenshot_utils.dart'; | |
import 'package:screenshot_tools/screenshot_tools.dart'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll do the library name changes in a follow-up, after more changes has been done, e.g. the dartdoc-related tooling is also implemented.
@@ -4,8 +4,8 @@ | |||
import 'dart:async'; | |||
|
|||
import 'package:puppeteer/puppeteer.dart'; | |||
import 'package:screenshot_tools/screenshot_utils.dart'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And should we have the name of the new package indicate somehow what it is screenshotting?
Something like:
import 'package:screenshot_tools/screenshot_utils.dart'; | |
import 'package:browser_screenshots/browser_screenshots.dart'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about puppeteer_screenshots
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PUB_
prefix from the environment variable, otherwise kept files unchanged.README.md
.