271 Commits
Author SHA1 Message Date
youngbin song 658df93b26 correcting typos (#249) 6.9.4 2022-02-03 12:34:57 +01:00
Yuta Sugimura 83fe5929a4 feat: update to react native 0.67.2 (#248) 6.9.3 2022-02-02 13:01:13 +01:00
Yuta Sugimura 0b5fdc3e36 Move the files to the template directory (#247)
* Move the files to the appropriate location

* Move the files to the appropriate location
6.9.2
2022-02-02 12:04:28 +01:00
Sebastián Balay 8c35573a53 set skipLibCheck to true in tsconfig (#245)
when running `tsc` on a project inited with this template (v6.9.0), the following errors are thrown:

```
node_modules/@types/node/globals.d.ts:47:11 - error TS2300: Duplicate identifier 'AbortController'.

47 interface AbortController {
             ~~~~~~~~~~~~~~~

  node_modules/@types/react-native/globals.d.ts:435:15
    435 declare class AbortController {
                      ~~~~~~~~~~~~~~~
    'AbortController' was also declared here.

node_modules/@types/node/globals.d.ts:60:11 - error TS2300: Duplicate identifier 'AbortSignal'.

60 interface AbortSignal {
             ~~~~~~~~~~~

  node_modules/@types/react-native/globals.d.ts:400:15
    400 declare class AbortSignal implements EventTarget {
                      ~~~~~~~~~~~
    'AbortSignal' was also declared here.

node_modules/@types/node/globals.d.ts:67:13 - error TS2300: Duplicate identifier 'AbortController'.

67 declare var AbortController: {
               ~~~~~~~~~~~~~~~

  node_modules/@types/react-native/globals.d.ts:435:15
    435 declare class AbortController {
                      ~~~~~~~~~~~~~~~
    'AbortController' was also declared here.

node_modules/@types/node/globals.d.ts:72:13 - error TS2300: Duplicate identifier 'AbortSignal'.

72 declare var AbortSignal: {
               ~~~~~~~~~~~

  node_modules/@types/react-native/globals.d.ts:400:15
    400 declare class AbortSignal implements EventTarget {
                      ~~~~~~~~~~~
    'AbortSignal' was also declared here.

node_modules/@types/react-native/globals.d.ts:400:15 - error TS2300: Duplicate identifier 'AbortSignal'.

400 declare class AbortSignal implements EventTarget {
                  ~~~~~~~~~~~

  node_modules/@types/node/globals.d.ts:60:11
    60 interface AbortSignal {
                 ~~~~~~~~~~~
    'AbortSignal' was also declared here.
  node_modules/@types/node/globals.d.ts:72:13
    72 declare var AbortSignal: {
                   ~~~~~~~~~~~
    and here.

node_modules/@types/react-native/globals.d.ts:435:15 - error TS2300: Duplicate identifier 'AbortController'.

435 declare class AbortController {
                  ~~~~~~~~~~~~~~~

  node_modules/@types/node/globals.d.ts:47:11
    47 interface AbortController {
                 ~~~~~~~~~~~~~~~
    'AbortController' was also declared here.
  node_modules/@types/node/globals.d.ts:67:13
    67 declare var AbortController: {
                   ~~~~~~~~~~~~~~~
    and here.
```

Setting [skipLibCheck](https://www.typescriptlang.org/tsconfig#skipLibCheck) to true avoids duplication errors and also save time during compilation
6.9.1
2022-01-31 16:41:21 +01:00
Yuta Sugimura 70ea4699fc Update to React Native 0.67.1 (#244)
* feat: update to react native 0.67.1

* update: README for latest RN version
6.9.0
2022-01-29 17:52:11 +01:00
Frieder Bluemle bb78a08cb0 Update ESLint config (#242) 6.8.6 2022-01-11 20:08:16 +01:00
Frieder Bluemle acff43ce87 Fix ESLint setup (#240) 6.8.5 2021-12-16 11:58:25 +01:00
Yuta Sugimura f62bcec9e2 feat: update to react native 0.66.4 (#239) 6.8.4 2021-12-15 08:19:49 +01:00
Mike Hardy a67375cc3b fix(lint): typescript requires special no-shadow (#238)
In pure javascript eslint config from `@react-native-community`, the no-shadow rule is on,
which is good, but for typescript it generates false-positives and needs a specific configuration change
to use a typescript-specific rule

Reference: 
- https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-shadow.md
- https://github.com/typescript-eslint/typescript-eslint/issues/2552#issuecomment-691694839
2021-11-29 08:43:21 +01:00
Yuta SugimuraandEmin Khateeb 1d836defe4 feat: update to react native 0.66.3 (#234)
Co-authored-by: Emin Khateeb <emin93@users.noreply.github.com>
6.8.3
2021-11-15 18:09:58 +01:00
Emin Khateeb e5fce57edb Updated typescript and @types/react-native (#233) 2021-11-15 18:09:05 +01:00
Yuta Sugimura ed82b95881 feat: update to react native 0.66.2 (#231) 6.8.2 2021-11-04 12:43:47 +01:00
Yuta Sugimura 55701acc91 feat: update to react native 0.66.1 (#227) 6.8.1 2021-10-16 21:56:21 +02:00
Yuta Sugimura 4277750379 feat: update to react native 0.66.0 (#226) 6.8.0 2021-10-02 11:24:23 +02:00
Simon-TechForm b3300f9c7f build: bump @types/react-native and @types/react-test-renderer (#222)
@types/react-native 0.65.0 was released since the latest release
but should be brought up to the latest major version matching release.
@types/react-test-renderer seems to have been missed by the last update
6.7.1
2021-09-16 11:41:34 +02:00
Emin Khateeb a9e7440ea6 Deleted travis config since the move to GitHub Actions 2021-08-23 19:46:15 +02:00
Emin Khateeb 3040bdb15d Added GitHub Actions config (#218)
* Added GitHub Actions config

* Slight wording adjustment in README
6.7.0
2021-08-23 19:42:53 +02:00
Yuta Sugimura b13c0b2fb7 feat: update to react native 0.65.1 (#217) 2021-08-23 19:21:44 +02:00
werderandManuel werder eacd45e3dd correcting template text on the welcome screen (#214)
Co-authored-by: Manuel werder <manuel@docomondo.com>
2021-08-13 22:43:00 +02:00
Marcelo Iepsen d66ebbff86 Update documentation to have CLI instructions before the usage (#199)
* Update documentation to have CLI instructions before the usage

* Move back the old cli instructions to the bottom

* Add usage instructions to ignore existing npx on the PATH

* Add a clear message regarding to the --ignore-existing flag usage
6.6.5
2021-07-21 11:39:29 +02:00
Chris Shepherd df72937d6c Allow TypeScript to resolve JSON modules (#209) 2021-07-20 19:36:52 +02:00
bencergazda c6a6f076f9 Update App.tsx (#211)
Remove 1 space indent for non-empty lines that fails linter in App.tsx. Fixes #201
2021-07-20 18:49:46 +02:00
Emin Khateeb 353eb0c27b upgrade to rn 0.64.1 and updated type defs (#206) 6.6.4 2021-05-19 10:47:34 +02:00
Arafat Zahan 14a3f49da3 deps: bump @types/react-native to 0.64.0 (#197) 6.6.3 2021-03-20 17:56:16 +00:00
Radek Czemerys 41a4289f43 fix: App.tsx types and indentation (#196)
* fix: App.tsx

closes #195

* fix: use React.FC
6.6.2
2021-03-17 18:04:59 +00:00
Radek Czemerys 739f9e7291 feature: update for React Native 0.64.0 (#193)
* feature: update for RN 0.64.0

closes #192

* doc: update readme
6.6.1
2021-03-16 08:14:09 +00:00
Andrew Goodale 7a2c4161f2 Prevent installing multiple versions of @types/react (#182) 6.5.13 2021-02-16 11:49:53 +00:00
Andrew Goodale c2c3961329 Fix lib to use iOS 10.x JSC base and remove DOM declarations (#164) 2021-02-13 19:00:20 +01:00
sshquack 751c03325f Fix compile errors with skip lib check (#181) 6.5.12 2021-02-05 16:37:07 +01:00
Emin Khateeb 60690d1f7f exiting test with code 0 6.5.11 2021-01-05 14:15:48 +01:00
Emin Khateeb 0059ae387e reverted previous commit 2021-01-05 14:12:40 +01:00
Emin Khateeb 13b6cb6830 disabled testing 6.5.10 2021-01-05 13:58:14 +01:00
S.ZHeng a26423d0b0 Sync react native verison 0.63.4 and update packages (#173)
* Sync react native verison 0.63.4 and update packages

* Keep origin version of other packages
6.5.9
2020-12-02 23:07:56 +01:00
luancurti 2af035f885 Remove redundant TS parser and plugin (#150) 6.5.8 2020-11-05 10:26:43 +01:00
Khalis Afkari 5f0d33c8d5 sync latest rn (#165)
* sync latest rn
6.5.7
2020-10-06 11:21:37 +02:00
Emin Khateeb 7332696210 synced with latest rn template (#162) 6.5.6 2020-09-10 11:03:26 +02:00
Diego Mais 8147ca7a83 style: sort devDependencies in package.json (#161) 2020-09-09 19:31:30 +02:00
Aleksandr Bakimatov 4f47540c7a feat: update react-native to 0.63.2 and @types/react-native to 0.63.2 (#153)
* feat: update react-native to 0.63.2 and @types/react-native to 0.63.2
6.5.5
2020-08-06 15:13:27 +02:00
Emin Khateeb 7a1cbeb86e Removed baseUrl from .tsconfig (#147) 2020-07-21 09:06:58 +02:00
Mikhail Novikov 9892b3f248 upgrade @types/react-native to the corresponding version of react-native (#151) 6.5.4 2020-07-20 08:37:17 +02:00
Drew Miller 6e45bdc064 fix formatting for case statement (#148) 6.5.3 2020-07-17 10:17:51 +02:00
Emin Khateeb a4e081e040 fixed wrong test renderer types version 6.5.2 2020-07-10 11:47:34 +02:00
Emin Khateeb f47226daa5 updated readme for latest RN version
- unified "Usage for older versions"
- moved note on legacy CLI down
6.5.1
2020-07-10 11:10:21 +02:00
Jesse Katsumata 338e015318 feat: update to react native 0.63 (#143) 6.5.0 2020-07-10 10:56:38 +02:00
Leo Taifa Merinen 2c8213ce6c Update App.tsx (#133)
Our custom global variable would be nicer declared as a `const`.

`var` doesn't seem to present any advantages here.

Functionality-wise the block scope remains the same as the global scope.

Semantic-wise it's clear it is global as @emin93 already moved it below imports.

Also ib4 wave of ESLint `no-var` adopters (e.g. https://github.com/gabts/eslint-config-react-native-typescript).

Further, see: https://eslint.org/docs/rules/no-var#when-not-to-use-it
6.4.4
2020-04-13 17:46:49 +02:00
Radek Czemerys a183174663 React Native 0.62.2 upgrade (#131) 6.4.3 2020-04-09 09:47:25 +02:00
Radek Czemerys c533594e37 Update for React Native 0.62.1 6.4.2 2020-04-04 15:13:50 +02:00
Radek Czemerys 2eba372606 Upgrade README and eslint-config (#129) 6.4.1 2020-03-28 17:57:57 +01:00
Radek Czemerys 76abfd1e4c Update for React Native 0.62 (#127)
* Update for React Native 0.62
6.4.0
2020-03-28 17:18:53 +01:00
Leo Taifa Merinen 95a17b285b Update tsconfig.json (#125) 6.3.16 2020-03-27 07:42:17 +01:00