Skip to content
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

Feature/exclude files #28

Merged
merged 6 commits into from
Aug 29, 2020
Merged

Feature/exclude files #28

merged 6 commits into from
Aug 29, 2020

Conversation

shaharkazaz
Copy link
Collaborator

@shaharkazaz shaharkazaz commented Aug 29, 2020

  • Allow skipping files
  • Add dry run option
  • Refactor configuration options (Breaking)
  • Infra changes
  • Fixed playground

README.md Show resolved Hide resolved
Copy link
Owner

@nivekcode nivekcode left a comment

Choose a reason for hiding this comment

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

Fantastic work @shaharkazaz!
I left a couple of nodes as improvements.

hooks/pre-commit.js Show resolved Hide resolved
playground/sampleDir/baz/baz.ts Outdated Show resolved Hide resolved
playground/sampleDir/baz/qux/qux.ts Outdated Show resolved Hide resolved
playground/sampleDir/bar/quux/quux.ts Outdated Show resolved Hide resolved
playground/sampleDir/main.ts Outdated Show resolved Hide resolved
src/cliOptions.ts Show resolved Hide resolved
src/conductor/get-third-party.ts Outdated Show resolved Hide resolved
src/conductor/optimize-imports.ts Outdated Show resolved Hide resolved
return actions.none;
}

const fileContent = readFileSync(filePath);
Copy link
Owner

Choose a reason for hiding this comment

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

could we do this earlier? - like we shouldn't optimize the imports at all if the file is ignored.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we are not optimizing if he is ignored (we return with actions.skipped), I'm not sure what you mean.

@nivekcode nivekcode linked an issue Aug 29, 2020 that may be closed by this pull request
@nivekcode nivekcode merged commit 647d32a into master Aug 29, 2020
@nivekcode nivekcode deleted the feature/exclude-files branch August 29, 2020 21:49
@nivekcode
Copy link
Owner

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add exclude option
2 participants