feat(saxon): binary #55
Merged
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 includes several changes to update the version policies, introduce new configuration options, and refactor existing classes to accommodate these changes. The most important changes include updating the version of the
saxonpolicy, introducing a newConfiginterface, and refactoring theCFDIandComprobanteclasses to use this new configuration.Version Updates:
saxonpolicy version from0.0.16-beta.1to12.5.0-beta.1incommon/config/rush/version-policies.json.@saxon-he/clipackage version from0.0.16-beta.1to12.5.0-beta.1inpackages/clir/saxon-he/package.json.Configuration and Interface Changes:
Configinterface inpackages/cfdi/xml/src/types/types.ts, replacing theOptionsinterface. This new interface includes properties fordebug,compact,customTags,schema,saxon, andxslt.Class Refactoring:
CFDIclass inpackages/cfdi/xml/src/cfdi.tsto use the newConfiginterface and added asaxonproperty. [1] [2] [3] [4]Comprobanteclass inpackages/cfdi/xml/src/elements/Comprobante.tsto use the newConfiginterface. [1] [2]CLI Tool Updates:
QueryandTransformclasses inpackages/clir/saxon-he/src/query.tsandpackages/clir/saxon-he/src/transform.tsto accept an optionalbinaryoption in their constructors and removed platform-specific logic for setting the binary path. [1] [2] [3] [4] [5] [6]