Skip to content

[Feat] Minor Library Improvements#2

Open
ajimae wants to merge 6 commits into
sidgaikwad:mainfrom
ajimae:feat/add-init-callback
Open

[Feat] Minor Library Improvements#2
ajimae wants to merge 6 commits into
sidgaikwad:mainfrom
ajimae:feat/add-init-callback

Conversation

@ajimae

@ajimae ajimae commented Jan 25, 2026

Copy link
Copy Markdown

Summary

Minor improvements on the papercraft library

Completed Tasks

  • make logging optional and customizable
  • add missing browser page.pdf() options
  • add onInitialize function callback
  • add tests to validate new features

- make logging optional and customizable
- add missing browser page.pdf() options
- add onInitialize function callback
- add tests to validate new features
- add github actions test workflows
- add gitbub actions release workflows
Comment on lines +32 to +39
- name: Create Release
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ steps.get_version.outputs.PACKAGE_VERSION }}
name: v${{ steps.get_version.outputs.PACKAGE_VERSION }}
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I see we already have some way to publish to npm we can instead use it rather than use softprops/action-gh-release@v2 action

Comment thread package.json
},
"peerDependencies": {
"playwright": ">=1.40.0"
"playwright": ">=1.50.0"

@ajimae ajimae Jan 25, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

There is a regression in playwright version >=1.51.0 where bundling throws error. Hence we will stick with version v1.50.0 until it is fixed upstream.

- add github actions test workflow
- add gitbub actions release workflow
- pass remaining options
@ajimae

ajimae commented Jan 29, 2026

Copy link
Copy Markdown
Author

@sidgaikwad can you take a look at this PR?

- pass remaining options
- pass remaining options
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.

1 participant