Skip to content

Commit 146954c

Browse files
authored
Merge pull request #6 from swrlab/dev/update-1.8.3
Update v1.8.3
2 parents 941805f + 1eefa0c commit 146954c

File tree

120 files changed

+11589
-4745
lines changed

Some content is hidden

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

120 files changed

+11589
-4745
lines changed

.eslintrc.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module.exports = {
2+
root: true,
3+
parserOptions: {
4+
sourceType: "module",
5+
ecmaVersion: 2022,
6+
ecmaFeatures: {
7+
jsx: true,
8+
modules: true,
9+
},
10+
},
11+
};

.github/dependabot.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
version: 2
22
updates:
3-
- package-ecosystem: 'npm'
4-
directory: '/'
3+
- package-ecosystem: "npm"
4+
directory: "/"
55
open-pull-requests-limit: 10
66
schedule:
7-
interval: 'weekly'
8-
day: 'sunday'
7+
interval: "weekly"
8+
day: "sunday"
9+
- package-ecosystem: "npm"
10+
directory: "example/"
11+
open-pull-requests-limit: 10
12+
schedule:
13+
interval: "weekly"
14+
day: "sunday"
15+
- package-ecosystem: "github-actions"
16+
directory: "/"
17+
open-pull-requests-limit: 10
18+
schedule:
19+
interval: "weekly"
20+
day: "sunday"

.github/workflows/ci.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Build and Test
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- dev/*
8+
- master
9+
10+
env:
11+
NODE_VERSION: 18
12+
13+
jobs:
14+
test:
15+
runs-on: macos-latest
16+
steps:
17+
- name: 👀 Checkout Code
18+
uses: actions/checkout@v3
19+
20+
- name: ☕️ Use Java 11
21+
uses: actions/setup-java@v3
22+
with:
23+
java-version: "11"
24+
distribution: "adopt"
25+
26+
- name: 🏗 Setup NodeJS
27+
uses: actions/setup-node@v3
28+
with:
29+
node-version: ${{ env.NODE_VERSION }}
30+
31+
- name: 📦 Install Lib Dependencies
32+
run: yarn install --frozen-lockfile
33+
34+
- name: 📚 Lint Lib Code
35+
run: yarn lint
36+
37+
- name: 📦 Install Example Dependencies
38+
run: yarn install --frozen-lockfile
39+
working-directory: example
40+
41+
- name: 📚 Lint Example Code
42+
run: yarn lint
43+
working-directory: example
44+
45+
- name: ⚒️ Build Example Apps
46+
run: yarn build:all
47+
working-directory: example
48+
49+
- name: 🧪 Run Example Tests
50+
run: yarn test
51+
working-directory: example

CHANGELOG.md

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

8+
## [1.8.3] - 2023-01-04 ([swrlab](https://github.com/swrlab/react-native-settings-list))
9+
10+
- feat: add test and build ci
11+
- feat: add build-checks to example app
12+
- feat: add eslint to check lib and example
13+
- feat: add tests for example layouts
14+
- feat: add react-native example app
15+
- chore: update dependabot checks
16+
- chore: update deprecated-react-native-prop-types to v3
17+
- chore: move package files to lib dir
18+
- chore: move readme images to img dir
19+
- chore: use code examples in test-app
20+
- chore: move and restructure example files
21+
- fix: move react and rn to peer-deps
22+
- fix: color prop in simple example
23+
824
## [1.8.2] - 2022-08-15 ([swrlab](https://github.com/swrlab/react-native-settings-list))
925

1026
- fix: TextPropTypes (deprecated-react-native-prop-types)

Example/android.js

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

0 commit comments

Comments
 (0)