Skip to content

Commit 7e9b0b2

Browse files
authored
Upgrade React Native to 0.69.1 and change listeners API
1 parent 1f8d44a commit 7e9b0b2

Some content is hidden

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

67 files changed

+13738
-1403
lines changed

.circleci/config.yml

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
version: 2.1
2+
3+
executors:
4+
default:
5+
docker:
6+
- image: circleci/node:16
7+
working_directory: ~/project
8+
9+
commands:
10+
attach_project:
11+
steps:
12+
- attach_workspace:
13+
at: ~/project
14+
15+
jobs:
16+
install-dependencies:
17+
executor: default
18+
steps:
19+
- checkout
20+
- attach_project
21+
- restore_cache:
22+
keys:
23+
- dependencies-{{ checksum "package.json" }}
24+
- dependencies-
25+
- restore_cache:
26+
keys:
27+
- dependencies-example-{{ checksum "example/package.json" }}
28+
- dependencies-example-
29+
- run:
30+
name: Install dependencies
31+
command: |
32+
yarn install --cwd example --frozen-lockfile
33+
yarn install --frozen-lockfile
34+
- save_cache:
35+
key: dependencies-{{ checksum "package.json" }}
36+
paths: node_modules
37+
- save_cache:
38+
key: dependencies-example-{{ checksum "example/package.json" }}
39+
paths: example/node_modules
40+
- persist_to_workspace:
41+
root: .
42+
paths: .
43+
44+
lint:
45+
executor: default
46+
steps:
47+
- attach_project
48+
- run:
49+
name: Lint files
50+
command: |
51+
yarn lint
52+
53+
typescript:
54+
executor: default
55+
steps:
56+
- attach_project
57+
- run:
58+
name: Typecheck files
59+
command: |
60+
yarn typescript
61+
62+
unit-tests:
63+
executor: default
64+
steps:
65+
- attach_project
66+
- run:
67+
name: Run unit tests
68+
command: |
69+
yarn test --coverage
70+
- store_artifacts:
71+
path: coverage
72+
destination: coverage
73+
74+
build-package:
75+
executor: default
76+
steps:
77+
- attach_project
78+
- run:
79+
name: Build package
80+
command: |
81+
yarn prepare
82+
83+
workflows:
84+
build-and-test:
85+
jobs:
86+
- install-dependencies
87+
- lint:
88+
requires:
89+
- install-dependencies
90+
- typescript:
91+
requires:
92+
- install-dependencies
93+
- unit-tests:
94+
requires:
95+
- install-dependencies
96+
- build-package:
97+
requires:
98+
- install-dependencies

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
9+
indent_style = space
10+
indent_size = 2
11+
12+
end_of_line = lf
13+
charset = utf-8
14+
trim_trailing_whitespace = true
15+
insert_final_newline = true

.eslintrc.js

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

.flowconfig

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

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.pbxproj -text
2+
# specific for windows script files
3+
*.bat text eol=crlf

.gitignore

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
#
33
.DS_Store
44

5+
# XDE
6+
.expo/
7+
8+
# VSCode
9+
.vscode/
10+
jsconfig.json
11+
512
# Xcode
613
#
714
build/
@@ -22,23 +29,39 @@ DerivedData
2229
*.xcuserstate
2330
project.xcworkspace
2431

25-
# Android/IntelliJ
32+
# Android/IJ
2633
#
27-
build/
28-
.idea
34+
.classpath
35+
.cxx
2936
.gradle
37+
.idea
38+
.project
39+
.settings
3040
local.properties
31-
*.iml
41+
android.iml
3242

3343
# Cocoapods
3444
#
35-
Pods/
45+
example/ios/Pods
3646

37-
# Visual Studio
38-
.vscode
47+
# Ruby
48+
example/vendor/
3949

4050
# node.js
4151
#
4252
node_modules/
4353
npm-debug.log
44-
package-lock.json
54+
yarn-debug.log
55+
yarn-error.log
56+
57+
# BUCK
58+
buck-out/
59+
\.buckd/
60+
android/app/libs
61+
android/keystores/debug.keystore
62+
63+
# Expo
64+
.expo/*
65+
66+
# generated by bob
67+
lib/

.watchmanconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

.yarnrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Override Yarn command so we can automatically setup the repo on running `yarn`
2+
3+
yarn-path "scripts/bootstrap.js"

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
8+
## [8.0.0] - 2022-08-05
9+
### Added
10+
- New interface for listeners.
11+
- Reference documentation.
12+
- TypeScript support.
13+
### Changed
14+
- Updated React Native from 0.63.3 to 0.69.1
15+
716
## [7.19.1] - 2022-07-27
817
### Fixed
918
- Fixed React Native C++ incompatibility issue with Android SDK 6.2.0

0 commit comments

Comments
 (0)