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

use workspace for local packages #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

solarsoft0
Copy link

Upon investigating, I am uncertain whether this change will fix the incorrect types being built in the npm packages. I attempted to recreate the issue after cloning the repository, but was unsuccessful. However, when i first attempted to install this package from npm into a new project, it consistently results in type errors.

Regardless of the issue at hand, this PR introduces updates to the local packages used, aligning them with the pnpm convention for working with workspaces.

@solarsoft0 solarsoft0 changed the title feat: use workspace for local packages use workspace for local packages Jul 11, 2023
@eykrehbein
Copy link
Owner

@solarsoft0 Thanks for bringing this up! Looks good! What exact issue did you face regarding the npm types?

@solarsoft0
Copy link
Author

solarsoft0 commented Jul 11, 2023

@solarsoft0 Thanks for bringing this up! Looks good! What exact issue did you face regarding the npm types?

Cannot find module '@usefoundry/foundry' or its corresponding type declarations. ts(2307) That was the error, it happens with utils also .

on looking at the files in node_modules i noticed the release is not built. https://www.npmjs.com/package/@usefoundry/foundry?activeTab=code

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.

None yet

2 participants