Skip to content

[Feat] Bump walk-sync; Add support for walk-sync opts #20

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

Merged
merged 3 commits into from
Nov 30, 2018

Conversation

timlindvall
Copy link
Contributor

@timlindvall timlindvall commented Nov 27, 2018

  • Bumps walk-sync to 0.3.3.
  • The latest version of walk-sync has options for selectively including or excluding files and directories. Add a parameter to tree-sync through which these options can be passed in and passed along to walk-sync. Only whitelisted options globs and ignore are passed through.
  • Bump version of tree-sync to 1.3.0.

Resolves #19.

Notes:

  • I was a little torn on whether to include globs, since it can be easy to run into some pitfalls with missing dirs using that option. In the end, I leaned towards including it for completeness and adding a warning of what to watch out for. If we'd rather stick to excluding only, let me know and I'll update.

Thanks in advance for the review!

(updated to reflect typings being spun off into their own PR)

Timothy Lindvall added 2 commits November 26, 2018 16:40
- Bump walk-sync to 0.3.3.
- The latest version of walk-sync has options for selectively including
or excluding files and directories. Add a parameter to tree-sync through
which these options can be passed in and passed along to walk-sync.
Only whitelisted options `globs` and `ignore` are passed through.
- Add a typings file for tree-sync and include in package.json.

Resolves stefanpenner#18 and stefanpenner#19.
@rwjblue
Copy link
Collaborator

rwjblue commented Nov 27, 2018

Add a typings file for tree-sync and include in package.json.

Would you mind separating this change into a separate PR? It seems unrelated to the majority of the work here, and I don't want to hold things up just for that...

Copy link
Collaborator

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

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

Overall, I'm 👍 on this, thanks for your hard work!

Would you mind updating the README to reflect the new arguments?

@timlindvall
Copy link
Contributor Author

Thanks for the feedback. I'll update the PR to spin off the typings into a new PR and update the readme.

@timlindvall timlindvall changed the title [Feat] Bump walk-sync; Add support for walk-sync opts; Add typings [Feat] Bump walk-sync; Add support for walk-sync opts Nov 27, 2018
@stefanpenner
Copy link
Owner

i like it!

@stefanpenner stefanpenner merged commit 53b4298 into stefanpenner:master Nov 30, 2018
@stefanpenner
Copy link
Owner

released as v1.3.0 🎉

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.

3 participants