-
Notifications
You must be signed in to change notification settings - Fork 186
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
fix: fix incorrect path for types in index.d.ts #193
Conversation
@amk-dev is attempting to deploy a commit to the Antiwork Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@amk-dev thanks for the PR. Once you have the conflicts resolved I will test your branch and let you know. |
8688d16
to
6684b32
Compare
just rebased. |
Why do we have a types folder within a types folder? |
I think this error is happening because in
|
Makes sense to do for Anthropic API key. Mailosaur isn't causing an issue as optional so imo better to expose in the config. |
this was accidently closed when i removed the forked repo from my account not remembering this PR was open. let me know if i should reopen this. but if there are plans for #205 to auto generate I've shared some ideas on the same on #205 . not making a PR for that issue, because it was assigned to @m2rads. |
Fixs #191
Changes
Previously when the package is bundled,
index.d.ts
had incorrect paths for some imports. this makes theShortestConfig
from@antiwork/shortest
not resolve properly.here's the file structure of the published package ( i've removed irrelevent files from the tree )
so the imports in
index.d.ts
had two wrong imports./dist/types/test
./dist/types/config
both will not resolve, the correct paths are
./dist/types/types/test
./dist/types/types/config
this PR makes that update.
note: as discussed in the issue, there are room for improvement in the generation of
index.d.ts
. I'm gathering context for that. but since this is a rather important fix (imo). raising a PR.