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

Fix missing types #17

Merged
merged 1 commit into from
May 15, 2024
Merged

Fix missing types #17

merged 1 commit into from
May 15, 2024

Conversation

stnguyen90
Copy link
Contributor

@stnguyen90 stnguyen90 commented May 14, 2024

What does this PR do?

The .gitignore is used as a fallback whne publishing to exclude files to NPM1. As such, the types were not included in the release.

Compare the code on NPM between react-native-appwrite and appwrite:

  1. react-native-appwrite
  2. appwrite

This PR removes the .gitignore to match the web SDK repo and allow the types to be published to NPM.

Fixes #16

Test Plan

Manual

Related PRs and Issues

Have you read the Contributing Guidelines on issues?

Yes

Footnotes

  1. https://docs.npmjs.com/cli/v9/configuring-npm/package-json#files

The .gitignore is used as a fallback whne publishing to exclude files
to NPM[^1]. As such, the types were not included in the release. This PR
removes the .gitignore to match the web SDK repo and allow the types to
be published to NPM.

[^1]: https://docs.npmjs.com/cli/v9/configuring-npm/package-json#files
@stnguyen90 stnguyen90 self-assigned this May 14, 2024
@lohanidamodar
Copy link
Member

I see.

@lohanidamodar lohanidamodar merged commit e5085db into main May 15, 2024
@lohanidamodar lohanidamodar deleted the fix-missing-types branch May 15, 2024 00:16
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 Report: Types import does not work
2 participants