Feat: Implementation of Package Entrypoint Entity -> Woocommerce class#12
Merged
Marty-Byrde merged 5 commits intocanaryfrom Feb 24, 2025
Merged
Feat: Implementation of Package Entrypoint Entity -> Woocommerce class#12Marty-Byrde merged 5 commits intocanaryfrom
Marty-Byrde merged 5 commits intocanaryfrom
Conversation
The re-exported functions in the exports_.ts file are imported and assigned to the class making them accessible to consumers.
The reason for this is change is to remove path aliases within the package with relative / absolute paths.
Codecov ReportAll modified and coverable lines are covered by tests ✅
|
The reason for this change is that by using StripZodDefault on an inferred schema makes the type unaccessible for consumers.
Member
Author
|
🎉 This PR is included in version 1.2.0-canary.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Member
Author
|
🎉 This PR is included in version 1.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces new exports and improves the build process. It exports functions for getting orders and products and updates the build script to include
tsc-alias.New Exports
functions/_exports.ts: This file exportsgetOrdersandgetProductsfunctions.index.ts: Imports all functions from the_exportsfile and combines them into a singleWoocommerceclass.Build process improvements
package.json: The build script now includestsc-aliasto handle path aliases during the build process.Other Changes
schemas/WoocommerceCredentials.ts: Removed stripZodDefault type usage.