Skip to content

Commit

Permalink
fix: miscellaneous
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreCapo committed Apr 25, 2020
1 parent 9b704ce commit 62463d2
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 218 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

## Install

The library is still in version 0, be cautious when you upgrade it! 🚧

```
yarn add react-native-socials
```
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-socials",
"version": "0.0.17",
"version": "0.0.18",
"description": "A react-native library which displays content from popular social networks",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand All @@ -10,6 +10,7 @@
"type": "git",
"url": "git://github.com/PierreCapo/react-native-socials.git"
},
"prepublish": "tsc --p ./tsconfig.json",
"dependencies": {
"@babel/runtime": "^7.9.2",
"@types/react-native": "^0.62.1",
Expand Down
1 change: 1 addition & 0 deletions src/Twitter/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export const adapter = (data: TwitterPostApiResponse): ITwitterPost => {
);
});

// @ts-ignore
return response;
};

Expand Down
1 change: 1 addition & 0 deletions src/Twitter/generateTwitterHeaders.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-ignore
import oauthSignature from "oauth-signature";

/*
Expand Down
215 changes: 0 additions & 215 deletions src/Twitter/samples.ts

This file was deleted.

13 changes: 11 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@
"importHelpers": true,
"strict": true,
"noImplicitReturns": true,
"declaration": true
}
"declaration": true,
"types": ["react-native"]
},
"exclude": [
"node_modules",
"dist",
"example",
"**/__tests__/*",
"**/*.test.ts",
"**/*.test.tsx"
]
}

0 comments on commit 62463d2

Please sign in to comment.