forked from microsoft/appcenter-sampleapp-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed iOS App and cleanup project (microsoft#17)
* update dependencies * remove unused files * migration to androidx dependencies * setup prettier config * simplify npm scripts * added Android App Bundle support * enable nvm & nodenv * update gitignore * fixed iOS
- Loading branch information
Showing
53 changed files
with
7,170 additions
and
19,469 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,39 @@ | ||
const path = require("path"); | ||
module.exports = { | ||
root: true, | ||
extends: '@react-native-community', | ||
}; | ||
parser: "@typescript-eslint/parser", | ||
plugins: [ | ||
"@typescript-eslint" | ||
// any other eslint plugins your team might need/use | ||
], | ||
env: { | ||
// pick your environments | ||
browser: true, | ||
jest: true, | ||
node: true | ||
}, | ||
parserOptions: { | ||
// this can be an array or string (if you only have one tsconfig.json) | ||
project: [ | ||
// include all of your `tsconfig.json` files in here | ||
// the example here is taken from portal | ||
path.resolve(__dirname, "./tsconfig.json"), | ||
path.resolve(__dirname, "./server/tsconfig.json"), | ||
path.resolve(__dirname, "./fixtures/tsconfig.json") | ||
], | ||
tsconfigRootDir: __dirname, | ||
ecmaVersion: 2018, | ||
sourceType: "module" | ||
}, | ||
// for getting help/started on picking rules, a good place to look for | ||
// a minimal setup that includes only a couple stylistic rules is | ||
// in the portal's eslintrc.js file | ||
rules: { | ||
// ... | ||
}, | ||
extends: [ | ||
// any other plugins here, | ||
"prettier", | ||
"prettier/@typescript-eslint" | ||
] | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.nvmrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
12.13.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"arrowParens": "always", | ||
"bracketSpacing": true, | ||
"htmlWhitespaceSensitivity": "css", | ||
"insertPragma": false, | ||
"jsxBracketSameLine": false, | ||
"jsxSingleQuote": false, | ||
"printWidth": 135, | ||
"proseWrap": "preserve", | ||
"quoteProps": "as-needed", | ||
"requirePragma": false, | ||
"semi": true, | ||
"singleQuote": false, | ||
"tabWidth": 2, | ||
"trailingComma": "none", | ||
"useTabs": false | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import * as React from 'react'; | ||
import App from '../src/App'; | ||
import * as renderer from 'react-test-renderer'; | ||
jest.mock('react-native-code-push', () => 'CodePush'); | ||
jest.mock('appcenter-crashes', () => 'AppCenterCrashes'); | ||
import * as React from "react"; | ||
import App from "../src/App"; | ||
import * as renderer from "react-test-renderer"; | ||
jest.mock("react-native-code-push", () => "CodePush"); | ||
jest.mock("appcenter-crashes", () => "AppCenterCrashes"); | ||
|
||
it('renders correctly', () => { | ||
it("renders correctly", () => { | ||
const tree = renderer.create(<App />); | ||
}); |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.