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

Better bundles #286

Merged

Conversation

lishaduck
Copy link
Contributor

@lishaduck lishaduck commented Nov 1, 2024

I was trying to fix #268, which seems fixed, but noticed some improvements that could be made.

Resolves #288
Fixes #289
Relates to #193

Copy link

changeset-bot bot commented Nov 1, 2024

⚠️ No Changeset found

Latest commit: c738c5f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Nov 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sheriff ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 31, 2024 7:14pm

@AndreaPontrandolfo
Copy link
Owner

AndreaPontrandolfo commented Nov 1, 2024

@lishaduck i'm pretty sure i had to remove attw because it was crashing on my Windows machine.

@lishaduck
Copy link
Contributor Author

@lishaduck i'm pretty sure i had to remove attw because it was crashing on my Windows machine.

Huh. I'll take a look.

@lishaduck
Copy link
Contributor Author

Ah, I see. It runs in pwsh, so I can't use interpolation like that. Cooking something up real quick.

@lishaduck
Copy link
Contributor Author

Ugh. I was wrong that pwsh supports globs.1

Footnotes

  1. Except, of course that it does. But only on UNIX.

@lishaduck
Copy link
Contributor Author

lishaduck commented Nov 1, 2024

I assume you have bash (from git or wsl) on your machine? 🤣

@AndreaPontrandolfo
Copy link
Owner

I assume you have bash (from git or wsl) on your machine? 🤣

Git Bash, exactly, haha.

@lishaduck
Copy link
Contributor Author

I assume you have bash (from git or wsl) on your machine? 🤣

Git Bash, exactly, haha.

Ok, I wrapped the script in bash -c, so it'll work 🤣

@AndreaPontrandolfo
Copy link
Owner

@lishaduck uhm, apparently the windows build is failing

@lishaduck
Copy link
Contributor Author

@lishaduck uhm, apparently the windows build is failing

Yeah, it looks like there's an issue with globs & git bash. I was debugging it, but commit + push + wait for ci is a pretty slow way of checking.

@lishaduck
Copy link
Contributor Author

lishaduck commented Dec 24, 2024

@AndreaPontrandolfo, it works again!

Apparently npm pack is package manager agnostic, and all those workarounds aren't needed anymore because they were just for npm bugs that've been fixed in more recent versions.

The require is never used.
The resolve option is overridden by dts-bundle-generator.
package.json Outdated Show resolved Hide resolved
.github/workflows/merge-checks.yml Outdated Show resolved Hide resolved
packages/eslint-config-sheriff/tsup.config.js Show resolved Hide resolved
@AndreaPontrandolfo AndreaPontrandolfo merged commit b15d071 into AndreaPontrandolfo:master Jan 1, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants