Merge Changes into Main from Canary (v1.1.0-5a0ccd0)#11
Merged
Marty-Byrde merged 9 commits intomainfrom Feb 24, 2025
Merged
Conversation
Member
Author
|
🎉 This PR is included in version 1.2.0-canary.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
|
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.
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 PR was automatically created by the Auto-Create-PR-Canary workflow to merge changes from the canary branch into main. These changes are based on v1.1.0 and the latest commit on main (5a0ccd0).
This pull request introduces several changes to the project, including the addition of new files, modifications to existing ones, and updates to the build process and dependencies. These changes aim to improve the project's functionality and maintainability.
New Files
functions/_exports.ts: This file exports thegetOrdersandgetProductsfunctions, which are now available for use in the project.Core Logic
index.ts: This file now imports and exports functions from the_exports.tsfile, and sets up theWoocommerceclass to initialize the API with credentials.Build Process Improvements
package.json: Thebuildscript now includestsc-aliasto handle path aliases during the build process, and anexportsfield has been added to define the entry points for the module, improving its usability as a package.Schema Updates
schemas/WoocommerceCredentials.ts: Updated type export to use the schema directly.Dependency Updates
package.json: Addedtsc-aliasas a dependency.yarn.lock: Updated dependencies to reflect the changes inpackage.json.