Skip to content

Commit 9a2aba5

Browse files
author
Luke Brandon Farrell
authored
feat(typescript): Upgrade react-native-modal and added TypeScript
feat(typescript): Upgrade react-native-modal and added TypeScript BREAKING CHANGE: Added TypeScript which will change the interface, hence a breaking change.
2 parents 00aace4 + 0a54f33 commit 9a2aba5

97 files changed

Lines changed: 10307 additions & 7834 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
build/
2+
dist/
3+
node_modules/
4+
.snapshots/
5+
*.min.js

.eslintrc

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"extends": [
4+
"eslint:recommended",
5+
"plugin:react/recommended",
6+
"prettier/@typescript-eslint",
7+
"plugin:@typescript-eslint/recommended"
8+
],
9+
"env": {
10+
"node": true
11+
},
12+
"parserOptions": {
13+
"ecmaVersion": 2020,
14+
"ecmaFeatures": {
15+
"legacyDecorators": true,
16+
"jsx": true
17+
}
18+
},
19+
"settings": {
20+
"react": {
21+
"version": "16"
22+
}
23+
},
24+
"rules": {
25+
"space-before-function-paren": 0,
26+
"react/prop-types": 0,
27+
"react/jsx-handler-names": 0,
28+
"react/jsx-fragments": 0,
29+
"react/no-unused-prop-types": 0,
30+
"import/export": 0
31+
},
32+
"ignorePatterns": ["lib/**/*.js", "lib/**/*.d.ts"]
33+
}

.gitignore

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,29 @@
1-
/node_modules/
1+
2+
# See https://help.github.com/ignore-files/ for more about ignoring files.
3+
4+
# dependencies
5+
node_modules
6+
7+
# builds
8+
build
9+
dist
10+
.rpt2_cache
11+
12+
# misc
13+
.DS_Store
14+
.env
15+
.env.local
16+
.env.development.local
17+
.env.test.local
18+
.env.production.local
19+
20+
npm-debug.log*
21+
yarn-debug.log*
22+
yarn-error.log*
23+
.idea
24+
.editorconfig
25+
coverage
26+
node_modules
27+
28+
#examples (for now)
29+
example

.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.gitignore
2+
README.md
3+
node_modules

index.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

lib/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * from "./react-navigation-overlay";
2+
export * from "./overlay";

lib/index.js

Lines changed: 91 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/index.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/index.modern.js

Lines changed: 87 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)