Skip to content

Initial visual-snapshots package #188

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

Merged
merged 8 commits into from
Feb 20, 2025

Conversation

aga-szczepanska
Copy link
Contributor

@aga-szczepanska aga-szczepanska commented Feb 14, 2025

Generate a new package called visual-snapshots with pdf command (which for now does nothing).

@aga-szczepanska aga-szczepanska force-pushed the feat/INT-16/pdf-snapshots branch 2 times, most recently from b710ba4 to eca98b9 Compare February 18, 2025 09:21
@aga-szczepanska aga-szczepanska marked this pull request as draft February 18, 2025 10:10
@aga-szczepanska aga-szczepanska force-pushed the feat/INT-16/pdf-snapshots branch from eca98b9 to c49cd1b Compare February 18, 2025 10:38
@aga-szczepanska aga-szczepanska force-pushed the feat/INT-16/pdf-snapshots branch from c49cd1b to c5c8792 Compare February 18, 2025 10:39
@aga-szczepanska aga-szczepanska changed the base branch from main to feat/INT-1/pdf-snapshots February 18, 2025 10:41
@aga-szczepanska aga-szczepanska marked this pull request as ready for review February 18, 2025 10:41
@aga-szczepanska aga-szczepanska changed the title [draft] initial visual-snapshots package Initial visual-snapshots package Feb 18, 2025
@aga-szczepanska aga-szczepanska force-pushed the feat/INT-16/pdf-snapshots branch from 1a32cc4 to 5d9b92d Compare February 18, 2025 15:44
@aga-szczepanska aga-szczepanska force-pushed the feat/INT-16/pdf-snapshots branch from 5d9b92d to 6a0e504 Compare February 18, 2025 15:48
@aga-szczepanska aga-szczepanska force-pushed the feat/INT-16/pdf-snapshots branch from 5d95c33 to 9f87866 Compare February 19, 2025 09:37
"version": "0.1.0",
"main": "lib/index.cjs",
"module": "lib/index.js",
"types": "lib/index.d.ts",
Copy link
Contributor

Choose a reason for hiding this comment

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

You're not emitting declaration files, so this can be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the types one or all 3 of them?

return new Command()
.name("pdf")
.description("Create visual snapshots for each page of a PDF file")
.argument("<pdf-file-path>", "A path to a PDF file")
Copy link
Member

Choose a reason for hiding this comment

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

Out of scope of this MR so feel free to resolve upon reading, but noting for future -- should we be exposing this as a glob or something instead of a path to a single file to allow bulk snapshots?

Copy link
Contributor

Choose a reason for hiding this comment

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

sounds like a really good idea!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know how to do that now... but hopefully it will become clearer when I start actually dealing with Visual. I will bear it in mind :)

@aga-szczepanska aga-szczepanska merged commit bd7ba3a into feat/INT-1/pdf-snapshots Feb 20, 2025
1 check passed
@aga-szczepanska aga-szczepanska deleted the feat/INT-16/pdf-snapshots branch February 20, 2025 07:33
aga-szczepanska added a commit that referenced this pull request Mar 24, 2025
Generate visual-snapshots CLI package with pdf command which for now does nothing
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