Skip to content

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 requested a review from lohanidamodar May 14, 2024 19:56
@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