-
Notifications
You must be signed in to change notification settings - Fork 6
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: Support custom clone operation #12
Open
b0o
wants to merge
9
commits into
pnpm:main
Choose a base branch
from
b0o:support-custom-clone
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Feb 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 152beda - Browse repository at this point
Copy the full SHA 152bedaView commit details -
feat: add optional
clone
method toFormatPlugin
interfaceThis method is used to clone the object returned by `read` before passing it to `update`. This is useful when the object returned by `read` is not trivially cloneable. One use case is when trying to preserve comments in a JSONC file using the `comment-json` package, which uses symbol properties on the object to store comments. The default `clone` method would not preserve these symbol properties, so a custom `clone` method is needed. Fixes pnpm#10
Configuration menu - View commit details
-
Copy full SHA for 5b50c13 - Browse repository at this point
Copy the full SHA 5b50c13View commit details
Commits on Feb 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6c22fd2 - Browse repository at this point
Copy the full SHA 6c22fd2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a21ed3b - Browse repository at this point
Copy the full SHA a21ed3bView commit details -
chore: adjust order of methods in FormatPlugin interface
They're now in the order they are called.
Configuration menu - View commit details
-
Copy full SHA for a2dcdf8 - Browse repository at this point
Copy the full SHA a2dcdf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65633d3 - Browse repository at this point
Copy the full SHA 65633d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71ac648 - Browse repository at this point
Copy the full SHA 71ac648View commit details
Commits on Feb 4, 2024
-
fix: only call clone function when actual is not null
also remove the options parameter from the clone function
Configuration menu - View commit details
-
Copy full SHA for 8c694d5 - Browse repository at this point
Copy the full SHA 8c694d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12118f1 - Browse repository at this point
Copy the full SHA 12118f1View commit details
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.