Skip to content

fix(sdk): add tsconfig to types & clean repo (#1)#2

Open
maclorlando wants to merge 1 commit intoheirlabs:mainfrom
maclorlando:fix/gitignore-node-modules
Open

fix(sdk): add tsconfig to types & clean repo (#1)#2
maclorlando wants to merge 1 commit intoheirlabs:mainfrom
maclorlando:fix/gitignore-node-modules

Conversation

@maclorlando
Copy link

Summary

This PR fixes a failing test and cleans up the repository.

Changes

✅ Added tsconfig.json to types/ to allow tsc --noEmit to pass.
✅ Added /node_modules/ to .gitignore.
✅ Removed node_modules/ from the repository.

Before

  • npm test failed in @defai/element-types.
  • Repo contained unnecessary node_modules/ folder.
  • .gitignore missing common entries.

After

  • npm install, npm run build, and npm test all succeed.
  • All 6 packages build and test cleanly.
  • .gitignore properly excludes node_modules/.

Notes

⚠️ This PR includes the removal of node_modules/, which inflates the diff. Actual functional changes are limited to .gitignore and types/tsconfig.json.

Closes #1

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.

[BUG] SDK: tests fail in @defai/element-types & repo includes node_modules

1 participant