Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.5.0 #5

Merged
merged 4 commits into from
Apr 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module.exports = {
extends: ['airbnb', 'prettier'],
plugins: ['import', 'jsx-a11y', 'prettier', 'react', 'react-hooks'],
rules: {
'class-methods-use-this': ['error', { exceptMethods: ['start', 'stop'] }],
'prettier/prettier': ['error'],
},
extends: ['airbnb', 'prettier'],
plugins: ['import', 'jsx-a11y', 'prettier', 'react', 'react-hooks'],
rules: {
'class-methods-use-this': ['error', { exceptMethods: ['start', 'stop'] }],
'prettier/prettier': ['error'],
},
};
9 changes: 0 additions & 9 deletions .github/dependabot.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI

on:
pull_request:
types: [closed, review_requested, ready_for_review, synchronize, opened]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.16.0
- name: Install Dependencies
run: yarn
- name: Check Format
run: yarn check-format
17 changes: 17 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish Package to npmjs
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.16.0'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release new version

on:
pull_request:
branches:
- main
- master
types: closed

jobs:
release:
if: ${{ github.event.pull_request.merged }}
runs-on: ubuntu-latest

permissions:
contents: write
steps:
- uses: actions/checkout@v4

- name: Create Release
uses: ncipollo/[email protected]
with:
tag: ${{ github.event.pull_request.title }}
name: ${{ github.event.pull_request.title }}
71 changes: 69 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,71 @@
*.log
# OSX
#
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
ios/.xcode.env.local

# Android/IntelliJ
#
build/
.idea
node_modules
.gradle
local.properties
*.iml
*.hprof
.cxx/
*.keystore
!debug.keystore

# node.js
#
node_modules/
npm-debug.log
yarn-error.log
*.log

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/

**/fastlane/report.xml
**/fastlane/Preview.html
**/fastlane/screenshots
**/fastlane/test_output

# Bundle artifact
*.jsbundle

# Ruby / CocoaPods
/ios/Pods/
/vendor/bundle/

# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*

# Testing
/coverage

# Build files
android/app/src/main/assets/
android/app/src/main/res/raw/
4 changes: 0 additions & 4 deletions .prettierrc

This file was deleted.

14 changes: 14 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
bracketSpacing: true,
bracketSameLine: true,
singleQuote: true,
jsxSingleQuote: true,
trailingComma: 'all',
arrowParens: 'avoid',
tabWidth: 2,
endOfLine: 'auto',
printWidth: 80,
useTabs: true,
semi: true,
insertPragma: false,
};
2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nodejs 18.16.0
java openjdk-18
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Changelog

## 2.5.0 (27.04.2024)

- Remove NativeEventEmitter warning
- Create auto-release and CI
Loading