-
Notifications
You must be signed in to change notification settings - Fork 7
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
Are the types wrong? #229
Are the types wrong? #229
Conversation
🦋 Changeset detectedLatest commit: dad6ad9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
CI is failing b/c it doesn't exclude as expected. I posted dist/index.js to a gist: https://gist.github.com/lishaduck/0a0d893fc6b3877b82aa29d17f4266f2 (search for node_modules/.pnpm/) |
Oh, you know... that nice EDIT: Reverted |
@lishaduck you know, i'm thinking an even better thing we could do to simplify stuff. |
If I can get tsup to bundle constants, yeah, that'd work. |
That works! I also fixed the types (more undocumented behavior, sorry 😁) |
Ok, downgraded my node and I can reproduce. I guess it's a node bug? Not blocking prod, just attw. |
Nope, it doesn't support the workspace protocol. Will need to switch to pnpm pack (arethetypeswrong/arethetypeswrong.github.io#173 (comment); note that the pr that fixed it was reverted) |
Ye, it seems like they deprecated the version with the PNPM support because it was breaking everything. Crazy! |
Conflicts! Already! 🤣 |
|
Also, it should be noted that despite attw claiming we support node 10, we don't 😅 |
Forgot to push 🤦♂️ |
This finishes the job by shrinking the bundle. It also fixes attw.
_Never_, _ever_, use "node" (or stick with the default, which is "node"). Always use "Node16"if you won't bundle, "Bundler" otherwise.
Not sure why this is still needed, but ci fails otherwise.
Follow js conventions. Fixes some publint infos.
This fixes a bunch of unrelated things that flaked!
Nah, it's fine. The eslint config and the CLI have different requirements. It makes sense that they rely on different bundling configs. |
i guess we need to keep an eye on this: arethetypeswrong/arethetypeswrong.github.io#112 |
CI fails with:
I'm not exactly sure why this error surfaces here and now.
In this file: |
Yeah, I'd fixed it locally but, as always, forgot to push it 😅 |
@lishaduck can you add the changeset? |
ff57cfc
into
AndreaPontrandolfo:master
I'm excited to note that this drastically shrunk the size of EDIT: Though I realized that the actual types are still wrong 🤣 (see egoist/tsup#366) |
Yes they were!
Fixed by dropping CJS from the builds following #225.
Supersedes/closes #161.