Skip to content

Commit 9520895

Browse files
authored
Merge pull request #5 from boterop/v2.5
v2.5.0
2 parents f766219 + 237dabc commit 9520895

File tree

15 files changed

+365
-12603
lines changed

15 files changed

+365
-12603
lines changed

.eslintrc.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module.exports = {
2-
extends: ['airbnb', 'prettier'],
3-
plugins: ['import', 'jsx-a11y', 'prettier', 'react', 'react-hooks'],
4-
rules: {
5-
'class-methods-use-this': ['error', { exceptMethods: ['start', 'stop'] }],
6-
'prettier/prettier': ['error'],
7-
},
2+
extends: ['airbnb', 'prettier'],
3+
plugins: ['import', 'jsx-a11y', 'prettier', 'react', 'react-hooks'],
4+
rules: {
5+
'class-methods-use-this': ['error', { exceptMethods: ['start', 'stop'] }],
6+
'prettier/prettier': ['error'],
7+
},
88
};

.github/dependabot.yml

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

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
types: [closed, review_requested, ready_for_review, synchronize, opened]
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version: 18.16.0
15+
- name: Install Dependencies
16+
run: yarn
17+
- name: Check Format
18+
run: yarn check-format

.github/workflows/deploy.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish Package to npmjs
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-node@v4
11+
with:
12+
node-version: '18.16.0'
13+
registry-url: 'https://registry.npmjs.org'
14+
- run: npm ci
15+
- run: npm publish
16+
env:
17+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Release new version
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
- master
8+
types: closed
9+
10+
jobs:
11+
release:
12+
if: ${{ github.event.pull_request.merged }}
13+
runs-on: ubuntu-latest
14+
15+
permissions:
16+
contents: write
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Create Release
21+
uses: ncipollo/[email protected]
22+
with:
23+
tag: ${{ github.event.pull_request.title }}
24+
name: ${{ github.event.pull_request.title }}

.gitignore

Lines changed: 69 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,71 @@
1-
*.log
1+
# OSX
2+
#
23
.DS_Store
4+
5+
# Xcode
6+
#
7+
build/
8+
*.pbxuser
9+
!default.pbxuser
10+
*.mode1v3
11+
!default.mode1v3
12+
*.mode2v3
13+
!default.mode2v3
14+
*.perspectivev3
15+
!default.perspectivev3
16+
xcuserdata
17+
*.xccheckout
18+
*.moved-aside
19+
DerivedData
20+
*.hmap
21+
*.ipa
22+
*.xcuserstate
23+
ios/.xcode.env.local
24+
25+
# Android/IntelliJ
26+
#
27+
build/
328
.idea
4-
node_modules
29+
.gradle
30+
local.properties
31+
*.iml
32+
*.hprof
33+
.cxx/
34+
*.keystore
35+
!debug.keystore
36+
37+
# node.js
38+
#
39+
node_modules/
40+
npm-debug.log
41+
yarn-error.log
42+
*.log
43+
44+
# fastlane
45+
#
46+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
47+
# screenshots whenever they are needed.
48+
# For more information about the recommended setup visit:
49+
# https://docs.fastlane.tools/best-practices/source-control/
50+
51+
**/fastlane/report.xml
52+
**/fastlane/Preview.html
53+
**/fastlane/screenshots
54+
**/fastlane/test_output
55+
56+
# Bundle artifact
57+
*.jsbundle
58+
59+
# Ruby / CocoaPods
60+
/ios/Pods/
61+
/vendor/bundle/
62+
63+
# Temporary files created by Metro to check the health of the file watcher
64+
.metro-health-check*
65+
66+
# Testing
67+
/coverage
68+
69+
# Build files
70+
android/app/src/main/assets/
71+
android/app/src/main/res/raw/

.prettierrc

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

.prettierrc.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module.exports = {
2+
bracketSpacing: true,
3+
bracketSameLine: true,
4+
singleQuote: true,
5+
jsxSingleQuote: true,
6+
trailingComma: 'all',
7+
arrowParens: 'avoid',
8+
tabWidth: 2,
9+
endOfLine: 'auto',
10+
printWidth: 80,
11+
useTabs: true,
12+
semi: true,
13+
insertPragma: false,
14+
};

.tool-versions

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
nodejs 18.16.0
2+
java openjdk-18

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Changelog
2+
3+
## 2.5.0 (27.04.2024)
4+
5+
- Remove NativeEventEmitter warning
6+
- Create auto-release and CI

0 commit comments

Comments
 (0)