Skip to content

Commit

Permalink
Migrate GiftedChat to TypeScript (#1190)
Browse files Browse the repository at this point in the history
🎉 TypeScript 🎉
  • Loading branch information
xcarpentier committed Apr 30, 2019
1 parent af0c6b8 commit f247629
Show file tree
Hide file tree
Showing 104 changed files with 7,356 additions and 7,387 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

55 changes: 55 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,55 @@
version: 2

test: &test
docker:
- image: circleci/node:11.10.1
steps:
- checkout

- restore_cache:
keys:
- v1-dependencies-{{ .Branch }}-{{ checksum "yarn.lock" }}
- v1-dependencies-

- run:
name: Installing codecov
command: sudo yarn global add codecov

- run:
name: Installing dependencies
command: yarn install

- run:
name: Check typescript
command: yarn tsc

- run:
name: Check tslint
command: yarn lint

- run:
name: Check tests
command: yarn test:coverage

- run:
name: codecov
command: codecov

- save_cache:
paths:
- node_modules
- ~/.cache/yarn
key: v1-dependencies-{{ .Branch }}-{{ checksum "yarn.lock" }}

jobs:
test:
<<: *test

workflows:
version: 2
watchdog_system:
jobs:
- test:
filters:
branches:
only: /^feature\/.*$|^release\/.*$|^hotfix\/.*$/
22 changes: 0 additions & 22 deletions .eslintrc

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -8,3 +8,4 @@ TODO.md
.vscode
Exponent-*.app
*.log
lib/
11 changes: 11 additions & 0 deletions .prettierrc
@@ -0,0 +1,11 @@
{
"trailingComma": "all",
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"useTabs": false,
"bracketSpacing": true,
"jsxBracketSameLine": false,
"jsxSingleQuote": true,
"printWidth": 80
}
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

9 changes: 9 additions & 0 deletions babel.config.js
@@ -0,0 +1,9 @@
module.exports = function(api) {
api.cache(true)
return {
presets: [
'module:metro-react-native-babel-preset',
'@babel/preset-typescript',
],
}
}
35 changes: 0 additions & 35 deletions circle.yml

This file was deleted.

0 comments on commit f247629

Please sign in to comment.