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

robustness fixes #86

Merged
merged 3 commits into from
Jan 30, 2024
Merged

robustness fixes #86

merged 3 commits into from
Jan 30, 2024

Conversation

turadg
Copy link
Member

@turadg turadg commented Jan 29, 2024

  • fix: ignore proposal dir without a package.json
  • fix: compat with node_modules in other locations
  • chore: release 0.0.4 alpha 3

@turadg turadg marked this pull request as ready for review January 29, 2024 22:30
Copy link
Contributor

@Chris-Hibbert Chris-Hibbert left a comment

Choose a reason for hiding this comment

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

LGTM

.filter(name => name.includes(':')); // omit node_modules
.filter(dirent => {
const hasPackageJson = fs.existsSync(
path.join(dirent.path, dirent.name, 'package.json'),
Copy link
Contributor

Choose a reason for hiding this comment

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

hooray! This has bitten me more than once.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for pointing it out!

@turadg turadg merged commit 64c1300 into main Jan 30, 2024
@turadg turadg deleted the ta/robustness branch January 30, 2024 00:31
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.

2 participants