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

feat(plugin-stripe): update plugin stripe for v3 #6019

Merged
merged 12 commits into from May 2, 2024

Conversation

paulpopus
Copy link
Contributor

Updates the stripe plugin for v3

Type of change

  • Chore (non-breaking change which does not add functionality)

@paulpopus paulpopus requested a review from denolfe as a code owner April 24, 2024 23:13
@paulpopus paulpopus changed the title chore(plugin-stripe):update plugin stripe chore(plugin-stripe): update plugin stripe Apr 24, 2024
Copy link
Contributor

@DanRibbens DanRibbens left a comment

Choose a reason for hiding this comment

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

default export is the only change I see.

scripts/release.ts Show resolved Hide resolved
packages/plugin-stripe/src/webhooks/index.ts Outdated Show resolved Hide resolved
test/plugin-stripe/config.ts Show resolved Hide resolved
Copy link
Member

@denolfe denolfe left a comment

Choose a reason for hiding this comment

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

Looks like quite a few things need to be updated in the package.json to be on par with our other packages.

You'll want to format the package.json first then you can compare easily. (this was added after you branched looks like).

pnpx sort-package-json "packages/plugin-stripe/package.json"

A few things I noticed right away:

  • Need to re-enable the build (this was disabled until it could build succesfully)
  • Ensure exports and publishConfig matches others
  • remove unused test npm script, no unit tests in this package
  • remove unused devDeps (react, webpack, prettier, etc)

@denolfe denolfe changed the title chore(plugin-stripe): update plugin stripe feat(plugin-stripe): update plugin stripe for v3 May 2, 2024
@denolfe denolfe dismissed DanRibbens’s stale review May 2, 2024 19:17

Will be using named exports for all plugins from now on.

@paulpopus paulpopus merged commit 75a9546 into beta May 2, 2024
33 checks passed
@paulpopus paulpopus deleted the feat/update-plugin-stripe branch May 2, 2024 19:19
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