Skip to content

Commit

Permalink
Merge pull request #6 from swrlab/dev/update-1.8.3
Browse files Browse the repository at this point in the history
Update v1.8.3
  • Loading branch information
rafaelmaeuer authored Jan 4, 2023
2 parents 941805f + 1eefa0c commit 146954c
Show file tree
Hide file tree
Showing 120 changed files with 11,589 additions and 4,745 deletions.
11 changes: 11 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
root: true,
parserOptions: {
sourceType: "module",
ecmaVersion: 2022,
ecmaFeatures: {
jsx: true,
modules: true,
},
},
};
20 changes: 16 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
- package-ecosystem: "npm"
directory: "/"
open-pull-requests-limit: 10
schedule:
interval: 'weekly'
day: 'sunday'
interval: "weekly"
day: "sunday"
- package-ecosystem: "npm"
directory: "example/"
open-pull-requests-limit: 10
schedule:
interval: "weekly"
day: "sunday"
- package-ecosystem: "github-actions"
directory: "/"
open-pull-requests-limit: 10
schedule:
interval: "weekly"
day: "sunday"
51 changes: 51 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Build and Test

on:
workflow_dispatch:
push:
branches:
- dev/*
- master

env:
NODE_VERSION: 18

jobs:
test:
runs-on: macos-latest
steps:
- name: 👀 Checkout Code
uses: actions/checkout@v3

- name: ☕️ Use Java 11
uses: actions/setup-java@v3
with:
java-version: "11"
distribution: "adopt"

- name: 🏗 Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}

- name: 📦 Install Lib Dependencies
run: yarn install --frozen-lockfile

- name: 📚 Lint Lib Code
run: yarn lint

- name: 📦 Install Example Dependencies
run: yarn install --frozen-lockfile
working-directory: example

- name: 📚 Lint Example Code
run: yarn lint
working-directory: example

- name: ⚒️ Build Example Apps
run: yarn build:all
working-directory: example

- name: 🧪 Run Example Tests
run: yarn test
working-directory: example
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.8.3] - 2023-01-04 ([swrlab](https://github.com/swrlab/react-native-settings-list))

- feat: add test and build ci
- feat: add build-checks to example app
- feat: add eslint to check lib and example
- feat: add tests for example layouts
- feat: add react-native example app
- chore: update dependabot checks
- chore: update deprecated-react-native-prop-types to v3
- chore: move package files to lib dir
- chore: move readme images to img dir
- chore: use code examples in test-app
- chore: move and restructure example files
- fix: move react and rn to peer-deps
- fix: color prop in simple example

## [1.8.2] - 2022-08-15 ([swrlab](https://github.com/swrlab/react-native-settings-list))

- fix: TextPropTypes (deprecated-react-native-prop-types)
Expand Down
197 changes: 0 additions & 197 deletions Example/android.js

This file was deleted.

Loading

0 comments on commit 146954c

Please sign in to comment.