diff --git a/.eslintrc.json b/.eslintrc.json index 591771fd..f278966f 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -8,7 +8,7 @@ }, "overrides": [ { - "files": ["src/**", "integration-tests/**"], + "files": ["src/**", "__tests__/**", "integration-tests/**"], "parser": "hermes-eslint", "extends": [ "plugin:react/recommended", diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..2e1fa2d5 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +*.md \ No newline at end of file diff --git a/README.md b/README.md index c4e6616a..b01bc88e 100644 --- a/README.md +++ b/README.md @@ -45,16 +45,23 @@ for the old instructions or [migration guide](./docs/MIGRATION_V1.md). | React Native | 2.0.0 | | ------------ | ------------------ | -| 0.63.3 | :white_check_mark: | -| 0.62.2 | :white_check_mark: | -| 0.61.5 | :white_check_mark: | +| 0.72.4 | :white_check_mark: | +| 0.71.13 | :white_check_mark: | +| 0.70.13 | :white_check_mark: | | 0.60.6 | :white_check_mark: | ## Recent Changes -**2.0.3** +**3.0.0** -- Updated MultiplatformBleAdapter to version 0.1.9 +- Added Example project +- Updated MultiplatformBleAdapter to version 0.2.0. +- Updated RN bridge config +- Changed CI flow +- Updated CI to RN 0.72.x +- Updated docs +- Updated dependencies +- Fixed iOS 16 bugs [Current version changes](CHANGELOG.md) [All previous changes](CHANGELOG-pre-03.md) @@ -69,8 +76,6 @@ Interested in React Native project involving Bluetooth Low Energy? [We can help Contact us at [intent](https://withintent.com/contact-us/?utm_source=github&utm_medium=github&utm_campaign=external_traffic). -Contact us at [Gitter](https://gitter.im/RxBLELibraries/react-native-ble) if you have any questions, feedback or want to help! - ## Configuration & Installation ### Expo SDK 43+ diff --git a/__tests__/BleManager.js b/__tests__/BleManager.js index 6fd050cb..8e939606 100644 --- a/__tests__/BleManager.js +++ b/__tests__/BleManager.js @@ -1,3 +1,4 @@ +/* eslint-disable no-import-assign */ import { BleManager, Device, Service, Characteristic } from '../src' import { BleErrorCode, BleErrorCodeMessage } from '../src/BleError' import * as Native from '../src/BleModule' diff --git a/lefthook.yml b/lefthook.yml index 22dff0bc..9e3c91c5 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -3,7 +3,7 @@ pre-commit: commands: lint: files: git diff --name-only @{push} - glob: "*.{js,ts,jsx,tsx}" + glob: '*.{js,ts,jsx,tsx}' run: yarn lint commit-msg: parallel: true diff --git a/scripts/copyExampleProjectFiles.js b/scripts/copyExampleProjectFiles.js index c80f3acc..d6246385 100644 --- a/scripts/copyExampleProjectFiles.js +++ b/scripts/copyExampleProjectFiles.js @@ -22,15 +22,6 @@ const copyExampleProjectJsFiles = () => { fs.cpSync(jsSourceDirectory, jsSourceDestinationDirectory, { recursive: true }) } -const androidManifestPath = path.join( - __dirname, - EXAMPLE_PROJECT_DIR_NAME, - 'android', - 'app', - 'src', - 'main', - 'AndroidManifest.xml' -) const androidManifestDestinationPath = path.join( __dirname, TEST_PROJECT_DIR_NAME, diff --git a/tsconfig.json b/tsconfig.json index 0934927f..02de3e9c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -25,5 +25,6 @@ "strict": true, "target": "esnext", "verbatimModuleSyntax": true - } + }, + "exclude": ["src/**", "__tests__/**", "integration-tests/**"] }