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: add Commerce Layer plugin #3921

Merged
merged 3 commits into from
Feb 21, 2025
Merged

Conversation

paprikaf
Copy link
Contributor

@paprikaf paprikaf commented Feb 19, 2025

This pull request introduces a new plugin for integrating Commerce Layer with Builder.io. The changes include documentation, configuration files, and source code for the plugin.

Documentation:

  • plugins/commercelayer/CONTRIBUTING.md: Added instructions for contributing to the project, including forking the repo, cloning it, installing dependencies, making changes, and submitting pull requests.
  • plugins/commercelayer/README.md: Added comprehensive documentation for the Builder.io Commerce Layer Plugin, including installation, features, development, testing, and contributing guidelines.

Source Code:

  • plugins/commercelayer/src/plugin.ts: Implemented the main plugin registration and configuration logic, including authentication and product operations.
  • plugins/commercelayer/src/service.ts: Added service functions for authenticating with Commerce Layer, fetching organization info, and performing product operations such as getting product details and searching products.- Add initial Commerce Layer plugin implementation
  • Support product search and preview
  • Include documentation and configuration files

Screenshot 2025-02-18 at 6 46 56 PM

- Add initial Commerce Layer plugin implementation
- Support product search and preview
- Include documentation and configuration files
Copy link

changeset-bot bot commented Feb 19, 2025

⚠️ No Changeset found

Latest commit: 537c000

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

nx-cloud bot commented Feb 19, 2025

View your CI Pipeline Execution ↗ for commit 537c000.

Command Status Duration Result
nx test @e2e/qwik-city ✅ Succeeded 7m 27s View ↗
nx test @e2e/nextjs-sdk-next-app ✅ Succeeded 6m 59s View ↗
nx test @e2e/nuxt ✅ Succeeded 6m 36s View ↗
nx test @e2e/angular-16 ✅ Succeeded 5m 52s View ↗
nx test @e2e/gen1-remix ✅ Succeeded 5m 39s View ↗
nx test @e2e/gen1-next15-app ✅ Succeeded 5m 35s View ↗
nx test @e2e/angular-16-ssr ✅ Succeeded 5m 20s View ↗
nx test @e2e/angular-19-ssr ✅ Succeeded 5m 17s View ↗
Additional runs (36) ✅ Succeeded ... View ↗

☁️ Nx Cloud last updated this comment at 2025-02-21 16:57:56 UTC

Copy link
Contributor

@gustavocodess gustavocodess left a comment

Choose a reason for hiding this comment

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

Just reuse your transformProduct function whenever possible, other than that looks good, great work.

Copy link
Contributor

@gustavocodess gustavocodess left a comment

Choose a reason for hiding this comment

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

Looks good

@paprikaf paprikaf merged commit 60329f8 into main Feb 21, 2025
96 checks passed
@paprikaf paprikaf deleted the feature/commerce-layer-plugin branch February 21, 2025 17:46
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.

2 participants