react-native-tree-multi-select 1.2.3 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/.editorconfig +0 -15
- package/.gitattributes +0 -3
- package/.github/FUNDING.yml +0 -13
- package/.github/ISSUE_TEMPLATE/bug-report.md +0 -42
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -30
- package/.github/actions/setup/action.yml +0 -28
- package/.github/assets/Jairaj_Jangle_Google_Pay_UPI_QR_Code.jpg +0 -0
- package/.github/assets/paypal_donate.png +0 -0
- package/.github/assets/upi.png +0 -0
- package/.github/workflows/ci.yml +0 -225
- package/.gitignore +0 -73
- package/.nvmrc +0 -1
- package/.watchmanconfig +0 -1
- package/.yarnrc +0 -3
- package/CHANGELOG.md +0 -145
- package/CODE_OF_CONDUCT.md +0 -133
- package/CONTRIBUTING.md +0 -114
- package/babel.config.js +0 -3
- package/example/.bundle/config +0 -2
- package/example/.watchmanconfig +0 -1
- package/example/Gemfile +0 -6
- package/example/README.md +0 -79
- package/example/android/app/build.gradle +0 -130
- package/example/android/app/debug.keystore +0 -0
- package/example/android/app/proguard-rules.pro +0 -10
- package/example/android/app/src/debug/AndroidManifest.xml +0 -13
- package/example/android/app/src/debug/java/com/treemultiselectexample/ReactNativeFlipper.java +0 -75
- package/example/android/app/src/main/AndroidManifest.xml +0 -25
- package/example/android/app/src/main/java/com/treemultiselectexample/MainActivity.java +0 -32
- package/example/android/app/src/main/java/com/treemultiselectexample/MainApplication.java +0 -62
- package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -36
- package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/values/strings.xml +0 -3
- package/example/android/app/src/main/res/values/styles.xml +0 -9
- package/example/android/app/src/release/java/com/treemultiselectexample/ReactNativeFlipper.java +0 -20
- package/example/android/build.gradle +0 -23
- package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/example/android/gradle/wrapper/gradle-wrapper.properties +0 -6
- package/example/android/gradle.properties +0 -44
- package/example/android/gradlew +0 -244
- package/example/android/gradlew.bat +0 -92
- package/example/android/settings.gradle +0 -4
- package/example/app.json +0 -4
- package/example/babel.config.js +0 -17
- package/example/index.js +0 -5
- package/example/ios/.xcode.env +0 -11
- package/example/ios/File.swift +0 -6
- package/example/ios/Podfile +0 -62
- package/example/ios/Podfile.lock +0 -639
- package/example/ios/TreeMultiSelectExample/AppDelegate.h +0 -6
- package/example/ios/TreeMultiSelectExample/AppDelegate.mm +0 -26
- package/example/ios/TreeMultiSelectExample/Images.xcassets/AppIcon.appiconset/Contents.json +0 -53
- package/example/ios/TreeMultiSelectExample/Images.xcassets/Contents.json +0 -6
- package/example/ios/TreeMultiSelectExample/Info.plist +0 -74
- package/example/ios/TreeMultiSelectExample/LaunchScreen.storyboard +0 -47
- package/example/ios/TreeMultiSelectExample/main.m +0 -10
- package/example/ios/TreeMultiSelectExample-Bridging-Header.h +0 -3
- package/example/ios/TreeMultiSelectExample.xcodeproj/project.pbxproj +0 -706
- package/example/ios/TreeMultiSelectExample.xcodeproj/xcshareddata/xcschemes/TreeMultiSelectExample.xcscheme +0 -88
- package/example/ios/TreeMultiSelectExample.xcworkspace/contents.xcworkspacedata +0 -10
- package/example/ios/TreeMultiSelectExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/example/ios/TreeMultiSelectExampleTests/Info.plist +0 -24
- package/example/ios/TreeMultiSelectExampleTests/TreeMultiSelectExampleTests.m +0 -66
- package/example/metro.config.js +0 -45
- package/example/package.json +0 -41
- package/example/react-native.config.js +0 -10
- package/example/src/App.tsx +0 -70
- package/example/src/components/CustomArrow.tsx +0 -71
- package/example/src/components/CustomCheckboxView.tsx +0 -119
- package/example/src/components/CustomNodeRowView.tsx +0 -124
- package/example/src/components/SearchInput.tsx +0 -68
- package/example/src/screens/CustomArrowScreen.tsx +0 -99
- package/example/src/screens/CustomCheckboxScreen.tsx +0 -99
- package/example/src/screens/CustomNodeRowViewScreen.tsx +0 -99
- package/example/src/screens/LargeDataScreen.tsx +0 -95
- package/example/src/screens/MediumDataScreen.tsx +0 -96
- package/example/src/screens/SmallDataScreen.tsx +0 -96
- package/example/src/screens/screens.styles.ts +0 -25
- package/example/src/utils/sampleDataGenerator.ts +0 -32
- package/example/yarn.lock +0 -6368
- package/lefthook.yml +0 -17
- package/lib/typescript/__mocks__/generateTree.mock.d.ts +0 -17
- package/lib/typescript/__mocks__/generateTree.mock.d.ts.map +0 -1
- package/lib/typescript/__mocks__/zustand.d.ts +0 -3
- package/lib/typescript/__mocks__/zustand.d.ts.map +0 -1
- package/lib/typescript/__tests__/expandCollapse.helper.test.d.ts +0 -2
- package/lib/typescript/__tests__/expandCollapse.helper.test.d.ts.map +0 -1
- package/lib/typescript/__tests__/flattenTree.helper.test.d.ts +0 -2
- package/lib/typescript/__tests__/flattenTree.helper.test.d.ts.map +0 -1
- package/lib/typescript/__tests__/initNodeMap.helper.test.d.ts +0 -2
- package/lib/typescript/__tests__/initNodeMap.helper.test.d.ts.map +0 -1
- package/lib/typescript/__tests__/search.helper.test.d.ts +0 -2
- package/lib/typescript/__tests__/search.helper.test.d.ts.map +0 -1
- package/lib/typescript/__tests__/selectAll.helper.test.d.ts +0 -2
- package/lib/typescript/__tests__/selectAll.helper.test.d.ts.map +0 -1
- package/lib/typescript/__tests__/store.test.d.ts +0 -2
- package/lib/typescript/__tests__/store.test.d.ts.map +0 -1
- package/lib/typescript/__tests__/toggleCheckbox.helper.test.d.ts +0 -2
- package/lib/typescript/__tests__/toggleCheckbox.helper.test.d.ts.map +0 -1
- package/scripts/bootstrap.js +0 -29
- package/src/__mocks__/generateTree.mock.ts +0 -125
- package/src/__mocks__/zustand.ts +0 -24
- package/src/__tests__/expandCollapse.helper.test.ts +0 -189
- package/src/__tests__/flattenTree.helper.test.ts +0 -78
- package/src/__tests__/initNodeMap.helper.test.ts +0 -46
- package/src/__tests__/search.helper.test.ts +0 -47
- package/src/__tests__/selectAll.helper.test.ts +0 -233
- package/src/__tests__/store.test.ts +0 -208
- package/src/__tests__/toggleCheckbox.helper.test.ts +0 -124
- package/tsconfig.build.json +0 -5
- package/tsconfig.json +0 -31
- package/turbo.json +0 -34
- package/yarn.lock +0 -9953
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-tree-multi-select",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "Super-fast Tree view with multi-selection capabilities, using checkboxes and search filtering.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
package/.editorconfig
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# EditorConfig helps developers define and maintain consistent
|
|
2
|
-
# coding styles between different editors and IDEs
|
|
3
|
-
# editorconfig.org
|
|
4
|
-
|
|
5
|
-
root = true
|
|
6
|
-
|
|
7
|
-
[*]
|
|
8
|
-
|
|
9
|
-
indent_style = space
|
|
10
|
-
indent_size = 2
|
|
11
|
-
|
|
12
|
-
end_of_line = lf
|
|
13
|
-
charset = utf-8
|
|
14
|
-
trim_trailing_whitespace = true
|
|
15
|
-
insert_final_newline = true
|
package/.gitattributes
DELETED
package/.github/FUNDING.yml
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# These are supported funding model platforms
|
|
2
|
-
|
|
3
|
-
custom: ["https://www.paypal.com/paypalme/jairajjangle001/usd", "https://github.com/JairajJangle/OpenCV-Catalogue/blob/master/.github/Jairaj_Jangle_Google_Pay_UPI_QR_Code.jpg"]
|
|
4
|
-
liberapay: FutureJJ
|
|
5
|
-
ko_fi: futurejj
|
|
6
|
-
|
|
7
|
-
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
|
8
|
-
patreon: # Replace with a single Patreon username
|
|
9
|
-
open_collective: # Replace with a single Open Collective username
|
|
10
|
-
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
|
11
|
-
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
|
12
|
-
issuehunt: # Replace with a single IssueHunt username
|
|
13
|
-
otechie: # Replace with a single Otechie username
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Bug Report
|
|
3
|
-
about: Report a bug in 'react-native-tree-multi-select'
|
|
4
|
-
title: "[BUG]"
|
|
5
|
-
labels: bug
|
|
6
|
-
assignees: JairajJangle
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
**Describe the Bug**
|
|
11
|
-
A clear and concise description of what the bug is.
|
|
12
|
-
|
|
13
|
-
**To Reproduce**
|
|
14
|
-
Steps to reproduce the behavior:
|
|
15
|
-
1. Go to '...'
|
|
16
|
-
2. Click on '....'
|
|
17
|
-
3. Scroll down to '....'
|
|
18
|
-
4. See error
|
|
19
|
-
|
|
20
|
-
**Expected Behavior**
|
|
21
|
-
A clear and concise description of what you expected to happen.
|
|
22
|
-
|
|
23
|
-
**Screenshots or Screen records**
|
|
24
|
-
If applicable, add screenshots/screen records to help explain your problem.
|
|
25
|
-
|
|
26
|
-
**Environment**
|
|
27
|
-
- Device: [e.g. iPhone12, Samsung Galaxy S21, etc.]
|
|
28
|
-
- OS: [e.g. iOS14.5, Android 11]
|
|
29
|
-
- Version of react-native-tree-multi-select: [e.g. 1.0.0]
|
|
30
|
-
- Version of React Native: [e.g. 0.64]
|
|
31
|
-
- Version of Node.js: [e.g. 14.15.0]
|
|
32
|
-
- Version of NPM: [e.g. 7.0.0]
|
|
33
|
-
- Version of @shopify/flash-list: [e.g. 2.0.0]
|
|
34
|
-
- Version of react-native-paper: [e.g. 4.9.2]
|
|
35
|
-
- Version of react-native-vector-icons: [e.g. 8.1.0]
|
|
36
|
-
|
|
37
|
-
**Additional Context**
|
|
38
|
-
Add any other context about the problem here.
|
|
39
|
-
|
|
40
|
-
---
|
|
41
|
-
|
|
42
|
-
Remember, the more information you provide, the easier it is for the devs to reproduce and fix the bug!
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Feature request
|
|
3
|
-
about: Suggest a feature or improvement for 'react-native-tree-multi-select'
|
|
4
|
-
title: "[FEAT-REQ]"
|
|
5
|
-
labels: enhancement
|
|
6
|
-
assignees: JairajJangle
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
**Is your feature request related to a problem? Please describe.**
|
|
11
|
-
A clear and concise description of what the problem is. Example: I'm always frustrated when [...]
|
|
12
|
-
|
|
13
|
-
**Describe the solution you'd like**
|
|
14
|
-
A clear and concise description of what you want to happen. Be as specific as possible.
|
|
15
|
-
|
|
16
|
-
**Describe alternatives you've considered**
|
|
17
|
-
A clear and concise description of any alternative solutions or features you've considered.
|
|
18
|
-
|
|
19
|
-
**Screenshots or screen records**
|
|
20
|
-
If applicable, add screenshots or screen records to help explain your proposed feature or improvement.
|
|
21
|
-
|
|
22
|
-
**Additional context**
|
|
23
|
-
Add any other context about the feature request here.
|
|
24
|
-
|
|
25
|
-
**Would you like to work on this feature?**
|
|
26
|
-
Indicate if you'd be interested and able to work on this feature request.
|
|
27
|
-
|
|
28
|
-
---
|
|
29
|
-
|
|
30
|
-
Remember, the more detail you provide, the easier it is for the devs to understand and implement the requested feature!
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
name: Setup
|
|
2
|
-
description: Setup Node.js and install dependencies
|
|
3
|
-
|
|
4
|
-
runs:
|
|
5
|
-
using: composite
|
|
6
|
-
steps:
|
|
7
|
-
- name: Setup Node.js
|
|
8
|
-
uses: actions/setup-node@v4
|
|
9
|
-
with:
|
|
10
|
-
node-version-file: .nvmrc
|
|
11
|
-
|
|
12
|
-
- name: Cache dependencies
|
|
13
|
-
id: yarn-cache
|
|
14
|
-
uses: actions/cache@v3
|
|
15
|
-
with:
|
|
16
|
-
path: |
|
|
17
|
-
**/node_modules
|
|
18
|
-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/package.json') }}
|
|
19
|
-
restore-keys: |
|
|
20
|
-
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
|
21
|
-
${{ runner.os }}-yarn-
|
|
22
|
-
|
|
23
|
-
- name: Install dependencies
|
|
24
|
-
if: steps.yarn-cache.outputs.cache-hit != 'true'
|
|
25
|
-
run: |
|
|
26
|
-
yarn install --cwd example --frozen-lockfile
|
|
27
|
-
yarn install --frozen-lockfile
|
|
28
|
-
shell: bash
|
|
Binary file
|
|
Binary file
|
package/.github/assets/upi.png
DELETED
|
Binary file
|
package/.github/workflows/ci.yml
DELETED
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
name: CI
|
|
2
|
-
on:
|
|
3
|
-
push:
|
|
4
|
-
branches:
|
|
5
|
-
- main
|
|
6
|
-
pull_request:
|
|
7
|
-
branches:
|
|
8
|
-
- main
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
lint:
|
|
12
|
-
runs-on: ubuntu-latest
|
|
13
|
-
steps:
|
|
14
|
-
- name: Checkout
|
|
15
|
-
uses: actions/checkout@v3
|
|
16
|
-
|
|
17
|
-
- name: Setup
|
|
18
|
-
uses: ./.github/actions/setup
|
|
19
|
-
|
|
20
|
-
- name: Lint files
|
|
21
|
-
run: yarn lint './**/*.{ts,tsx,js,jsx}' --ignore-pattern node_modules
|
|
22
|
-
|
|
23
|
-
- name: Typecheck files
|
|
24
|
-
run: yarn typecheck
|
|
25
|
-
|
|
26
|
-
test:
|
|
27
|
-
runs-on: ubuntu-latest
|
|
28
|
-
steps:
|
|
29
|
-
- name: Checkout
|
|
30
|
-
uses: actions/checkout@v3
|
|
31
|
-
|
|
32
|
-
- name: Setup
|
|
33
|
-
uses: ./.github/actions/setup
|
|
34
|
-
|
|
35
|
-
- name: Run unit tests
|
|
36
|
-
run: yarn test:cov
|
|
37
|
-
|
|
38
|
-
- name: Update Coverage Badge
|
|
39
|
-
# GitHub actions: default branch variable
|
|
40
|
-
# https://stackoverflow.com/questions/64781462/github-actions-default-branch-variable
|
|
41
|
-
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
|
|
42
|
-
uses: we-cli/coverage-badge-action@main
|
|
43
|
-
|
|
44
|
-
build-library:
|
|
45
|
-
runs-on: ubuntu-latest
|
|
46
|
-
steps:
|
|
47
|
-
- name: Checkout
|
|
48
|
-
uses: actions/checkout@v3
|
|
49
|
-
|
|
50
|
-
- name: Setup
|
|
51
|
-
uses: ./.github/actions/setup
|
|
52
|
-
|
|
53
|
-
- name: Build package
|
|
54
|
-
run: yarn prepack
|
|
55
|
-
|
|
56
|
-
build-android:
|
|
57
|
-
runs-on: ubuntu-latest
|
|
58
|
-
env:
|
|
59
|
-
TURBO_CACHE_DIR: .turbo/android
|
|
60
|
-
steps:
|
|
61
|
-
- name: Checkout
|
|
62
|
-
uses: actions/checkout@v3
|
|
63
|
-
|
|
64
|
-
- name: Setup
|
|
65
|
-
uses: ./.github/actions/setup
|
|
66
|
-
|
|
67
|
-
- name: Cache turborepo for Android
|
|
68
|
-
uses: actions/cache@v3
|
|
69
|
-
with:
|
|
70
|
-
path: ${{ env.TURBO_CACHE_DIR }}
|
|
71
|
-
key: ${{ runner.os }}-turborepo-android-${{ hashFiles('**/yarn.lock') }}
|
|
72
|
-
restore-keys: |
|
|
73
|
-
${{ runner.os }}-turborepo-android-
|
|
74
|
-
|
|
75
|
-
- name: Check turborepo cache for Android
|
|
76
|
-
run: |
|
|
77
|
-
TURBO_CACHE_STATUS=$(node -p "($(yarn --silent turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}" --dry=json)).tasks.find(t => t.task === 'build:android').cache.status")
|
|
78
|
-
|
|
79
|
-
if [[ $TURBO_CACHE_STATUS == "HIT" ]]; then
|
|
80
|
-
echo "turbo_cache_hit=1" >> $GITHUB_ENV
|
|
81
|
-
fi
|
|
82
|
-
|
|
83
|
-
- name: Install JDK
|
|
84
|
-
if: env.turbo_cache_hit != 1
|
|
85
|
-
uses: actions/setup-java@v3
|
|
86
|
-
with:
|
|
87
|
-
distribution: 'zulu'
|
|
88
|
-
java-version: '11'
|
|
89
|
-
|
|
90
|
-
- name: Finalize Android SDK
|
|
91
|
-
if: env.turbo_cache_hit != 1
|
|
92
|
-
run: |
|
|
93
|
-
/bin/bash -c "yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses > /dev/null"
|
|
94
|
-
|
|
95
|
-
- name: Cache Gradle
|
|
96
|
-
if: env.turbo_cache_hit != 1
|
|
97
|
-
uses: actions/cache@v3
|
|
98
|
-
with:
|
|
99
|
-
path: |
|
|
100
|
-
~/.gradle/wrapper
|
|
101
|
-
~/.gradle/caches
|
|
102
|
-
key: ${{ runner.os }}-gradle-${{ hashFiles('example/android/gradle/wrapper/gradle-wrapper.properties') }}
|
|
103
|
-
restore-keys: |
|
|
104
|
-
${{ runner.os }}-gradle-
|
|
105
|
-
|
|
106
|
-
- name: Build example for Android
|
|
107
|
-
run: |
|
|
108
|
-
yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
|
|
109
|
-
|
|
110
|
-
build-ios:
|
|
111
|
-
runs-on: macos-latest
|
|
112
|
-
env:
|
|
113
|
-
TURBO_CACHE_DIR: .turbo/ios
|
|
114
|
-
steps:
|
|
115
|
-
- name: Checkout
|
|
116
|
-
uses: actions/checkout@v3
|
|
117
|
-
|
|
118
|
-
- name: Setup
|
|
119
|
-
uses: ./.github/actions/setup
|
|
120
|
-
|
|
121
|
-
- name: Cache turborepo for iOS
|
|
122
|
-
uses: actions/cache@v3
|
|
123
|
-
with:
|
|
124
|
-
path: ${{ env.TURBO_CACHE_DIR }}
|
|
125
|
-
key: ${{ runner.os }}-turborepo-ios-${{ hashFiles('**/yarn.lock') }}
|
|
126
|
-
restore-keys: |
|
|
127
|
-
${{ runner.os }}-turborepo-ios-
|
|
128
|
-
|
|
129
|
-
- name: Check turborepo cache for iOS
|
|
130
|
-
run: |
|
|
131
|
-
TURBO_CACHE_STATUS=$(node -p "($(yarn --silent turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}" --dry=json)).tasks.find(t => t.task === 'build:ios').cache.status")
|
|
132
|
-
|
|
133
|
-
if [[ $TURBO_CACHE_STATUS == "HIT" ]]; then
|
|
134
|
-
echo "turbo_cache_hit=1" >> $GITHUB_ENV
|
|
135
|
-
fi
|
|
136
|
-
|
|
137
|
-
- name: Cache cocoapods
|
|
138
|
-
if: env.turbo_cache_hit != 1
|
|
139
|
-
id: cocoapods-cache
|
|
140
|
-
uses: actions/cache@v3
|
|
141
|
-
with:
|
|
142
|
-
path: |
|
|
143
|
-
**/ios/Pods
|
|
144
|
-
key: ${{ runner.os }}-cocoapods-${{ hashFiles('example/ios/Podfile.lock') }}
|
|
145
|
-
restore-keys: |
|
|
146
|
-
${{ runner.os }}-cocoapods-
|
|
147
|
-
|
|
148
|
-
- name: Install cocoapods
|
|
149
|
-
if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true'
|
|
150
|
-
run: |
|
|
151
|
-
yarn example pods
|
|
152
|
-
env:
|
|
153
|
-
NO_FLIPPER: 1
|
|
154
|
-
|
|
155
|
-
- name: Build example for iOS
|
|
156
|
-
run: |
|
|
157
|
-
yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}" 2>&1 | grep -i error > ios_errorlog.txt
|
|
158
|
-
|
|
159
|
-
- name: Upload iOS error log
|
|
160
|
-
uses: actions/upload-artifact@v3
|
|
161
|
-
with:
|
|
162
|
-
name: ios-error-log
|
|
163
|
-
path: ios_errorlog.txt
|
|
164
|
-
|
|
165
|
-
publish-npm:
|
|
166
|
-
needs: [lint, test, build-library, build-android, build-ios]
|
|
167
|
-
runs-on: ubuntu-latest
|
|
168
|
-
if: github.ref == 'refs/heads/main'
|
|
169
|
-
steps:
|
|
170
|
-
- name: Checkout
|
|
171
|
-
uses: actions/checkout@v3
|
|
172
|
-
with:
|
|
173
|
-
fetch-depth: 0 # Important for tags and history
|
|
174
|
-
|
|
175
|
-
- name: Setup Node.js
|
|
176
|
-
uses: actions/setup-node@v4
|
|
177
|
-
with:
|
|
178
|
-
node-version-file: .nvmrc
|
|
179
|
-
registry-url: 'https://registry.npmjs.org/'
|
|
180
|
-
|
|
181
|
-
- name: Install dependencies
|
|
182
|
-
run: yarn install
|
|
183
|
-
|
|
184
|
-
- name: Generate changelog
|
|
185
|
-
run: yarn generate-changelog
|
|
186
|
-
|
|
187
|
-
- name: Commit changes if any
|
|
188
|
-
run: |
|
|
189
|
-
git config --global user.email "action@github.com"
|
|
190
|
-
git config --global user.name "GitHub Actions"
|
|
191
|
-
git add CHANGELOG.md
|
|
192
|
-
git commit -m "Update CHANGELOG.md for version ${{ env.VERSION }} [skip ci]" || echo "No changes to commit"
|
|
193
|
-
|
|
194
|
-
- name: Use existing version, create tag
|
|
195
|
-
id: versioning
|
|
196
|
-
run: |
|
|
197
|
-
VERSION=$(node -p "require('./package.json').version")
|
|
198
|
-
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
|
199
|
-
git tag -a "v$VERSION" -m "Release v$VERSION"
|
|
200
|
-
git push --follow-tags
|
|
201
|
-
env:
|
|
202
|
-
GIT_COMMITTER_NAME: github-actions
|
|
203
|
-
GIT_COMMITTER_EMAIL: github-actions@github.com
|
|
204
|
-
GIT_AUTHOR_NAME: github-actions
|
|
205
|
-
GIT_AUTHOR_EMAIL: github-actions@github.com
|
|
206
|
-
|
|
207
|
-
- name: Create GitHub Release
|
|
208
|
-
uses: softprops/action-gh-release@v1
|
|
209
|
-
with:
|
|
210
|
-
tag_name: ${{ env.VERSION }}
|
|
211
|
-
name: Release ${{ env.VERSION }}
|
|
212
|
-
body: "See the [changelog](CHANGELOG.md) for details."
|
|
213
|
-
draft: false
|
|
214
|
-
prerelease: false
|
|
215
|
-
env:
|
|
216
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
217
|
-
|
|
218
|
-
- name: Build package
|
|
219
|
-
run: yarn prepack
|
|
220
|
-
|
|
221
|
-
- name: Publish to npm
|
|
222
|
-
run: yarn publish --non-interactive
|
|
223
|
-
env:
|
|
224
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
225
|
-
|
package/.gitignore
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
# OSX
|
|
2
|
-
#
|
|
3
|
-
.DS_Store
|
|
4
|
-
|
|
5
|
-
# XDE
|
|
6
|
-
.expo/
|
|
7
|
-
|
|
8
|
-
# VSCode
|
|
9
|
-
.vscode/
|
|
10
|
-
jsconfig.json
|
|
11
|
-
|
|
12
|
-
# Xcode
|
|
13
|
-
#
|
|
14
|
-
build/
|
|
15
|
-
*.pbxuser
|
|
16
|
-
!default.pbxuser
|
|
17
|
-
*.mode1v3
|
|
18
|
-
!default.mode1v3
|
|
19
|
-
*.mode2v3
|
|
20
|
-
!default.mode2v3
|
|
21
|
-
*.perspectivev3
|
|
22
|
-
!default.perspectivev3
|
|
23
|
-
xcuserdata
|
|
24
|
-
*.xccheckout
|
|
25
|
-
*.moved-aside
|
|
26
|
-
DerivedData
|
|
27
|
-
*.hmap
|
|
28
|
-
*.ipa
|
|
29
|
-
*.xcuserstate
|
|
30
|
-
project.xcworkspace
|
|
31
|
-
|
|
32
|
-
# Android/IJ
|
|
33
|
-
#
|
|
34
|
-
.classpath
|
|
35
|
-
.cxx
|
|
36
|
-
.gradle
|
|
37
|
-
.idea
|
|
38
|
-
.project
|
|
39
|
-
.settings
|
|
40
|
-
local.properties
|
|
41
|
-
android.iml
|
|
42
|
-
|
|
43
|
-
# Cocoapods
|
|
44
|
-
#
|
|
45
|
-
example/ios/Pods
|
|
46
|
-
|
|
47
|
-
# Ruby
|
|
48
|
-
example/vendor/
|
|
49
|
-
|
|
50
|
-
# node.js
|
|
51
|
-
#
|
|
52
|
-
node_modules/
|
|
53
|
-
npm-debug.log
|
|
54
|
-
yarn-debug.log
|
|
55
|
-
yarn-error.log
|
|
56
|
-
|
|
57
|
-
# BUCK
|
|
58
|
-
buck-out/
|
|
59
|
-
\.buckd/
|
|
60
|
-
android/app/libs
|
|
61
|
-
android/keystores/debug.keystore
|
|
62
|
-
|
|
63
|
-
# Expo
|
|
64
|
-
.expo/
|
|
65
|
-
|
|
66
|
-
# Turborepo
|
|
67
|
-
.turbo/
|
|
68
|
-
|
|
69
|
-
# generated by bob
|
|
70
|
-
lib/
|
|
71
|
-
|
|
72
|
-
# Test coverage report
|
|
73
|
-
coverage/
|
package/.nvmrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
v20.7.0
|
package/.watchmanconfig
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
package/.yarnrc
DELETED
package/CHANGELOG.md
DELETED
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
### Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
|
|
4
|
-
|
|
5
|
-
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
|
-
|
|
7
|
-
#### [v1.2.1](https://github.com/JairajJangle/react-native-tree-multi-select/compare/v1.2.0...v1.2.1)
|
|
8
|
-
|
|
9
|
-
> 2 May 2024
|
|
10
|
-
|
|
11
|
-
- Feature/expand collapse control [`#15`](https://github.com/JairajJangle/react-native-tree-multi-select/pull/15)
|
|
12
|
-
- build: cleaned build and updated lock files [`363cbd0`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/363cbd0ae59068771e7888d9d50e15623f9bd37c)
|
|
13
|
-
- feat: add functions to expand/collapse nodes by ref or pre-expanded ids [`1f8569b`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/1f8569b1519eccbe9935f212140051cbacfcd5cd)
|
|
14
|
-
- fix: removed flipper config from example Podfile [`277a16e`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/277a16e6d703df3ae0d2499604ee9861a88b8a29)
|
|
15
|
-
|
|
16
|
-
#### [v1.2.0](https://github.com/JairajJangle/react-native-tree-multi-select/compare/v1.1.2...v1.2.0)
|
|
17
|
-
|
|
18
|
-
> 1 May 2024
|
|
19
|
-
|
|
20
|
-
- chore: release 1.2.0 [`07badab`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/07badab16f96a33b5db68408eea7ce7d9f1139ba)
|
|
21
|
-
|
|
22
|
-
#### [v1.1.2](https://github.com/JairajJangle/react-native-tree-multi-select/compare/v1.1.1...v1.1.2)
|
|
23
|
-
|
|
24
|
-
> 20 October 2023
|
|
25
|
-
|
|
26
|
-
- fix: updated nvmrc to use node v20 [`#13`](https://github.com/JairajJangle/react-native-tree-multi-select/pull/13)
|
|
27
|
-
- chore(deps): bump @babel/traverse from 7.22.6 to 7.23.2 [`#12`](https://github.com/JairajJangle/react-native-tree-multi-select/pull/12)
|
|
28
|
-
- fix: updated broken lock files [`21fdf25`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/21fdf25856cb3ad4201fddaf030f40f57da8ee31)
|
|
29
|
-
- chore: updated pod and yarn lock files [`7a8fd1d`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/7a8fd1d822f62a04b9e848f6f789bece06919691)
|
|
30
|
-
- chore(deps): bump @babel/traverse from 7.22.6 to 7.23.2 in /example [`3a8860e`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/3a8860ef63722d74f5c62890348f4a1059873008)
|
|
31
|
-
|
|
32
|
-
#### [v1.1.1](https://github.com/JairajJangle/react-native-tree-multi-select/compare/v1.1.0...v1.1.1)
|
|
33
|
-
|
|
34
|
-
> 20 July 2023
|
|
35
|
-
|
|
36
|
-
- fix: fixed code outside src causing built folder path mismatch [`699159f`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/699159fac93ef2e5505d400e9d1096e052eb690c)
|
|
37
|
-
- chore: release 1.1.1 [`36c9cef`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/36c9cefc7c457a6e287954c0be63cb1bdb9d261f)
|
|
38
|
-
|
|
39
|
-
### [v1.1.0](https://github.com/JairajJangle/react-native-tree-multi-select/compare/v0.8.11...v1.1.0)
|
|
40
|
-
|
|
41
|
-
> 20 July 2023
|
|
42
|
-
|
|
43
|
-
- chore: attempt 2 to fix coverage workflow action [`#9`](https://github.com/JairajJangle/react-native-tree-multi-select/pull/9)
|
|
44
|
-
- Prep/release 1 0 0 [`#8`](https://github.com/JairajJangle/react-native-tree-multi-select/pull/8)
|
|
45
|
-
- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 [`#5`](https://github.com/JairajJangle/react-native-tree-multi-select/pull/5)
|
|
46
|
-
- chore(deps): bump semver from 5.7.1 to 5.7.2 [`#6`](https://github.com/JairajJangle/react-native-tree-multi-select/pull/6)
|
|
47
|
-
- Prep/release 1 0 0 [`#4`](https://github.com/JairajJangle/react-native-tree-multi-select/pull/4)
|
|
48
|
-
- chore(deps): bump semver from 5.7.1 to 5.7.2 in /example [`#7`](https://github.com/JairajJangle/react-native-tree-multi-select/pull/7)
|
|
49
|
-
- chore: replaced hardcoded sample data with dynamically gen data [`a36e177`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/a36e177866f9acaf0f1be1e4c7d605f06fc8c0f4)
|
|
50
|
-
- fix: added missing custom screen files [`1809b5d`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/1809b5d61606db401f809eacbba2e020e324a01c)
|
|
51
|
-
- feat: added app showcase template for example app [`0000eae`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/0000eaedb3cfd42ffc0983a34ea33a7289a50799)
|
|
52
|
-
|
|
53
|
-
#### [v0.8.11](https://github.com/JairajJangle/react-native-tree-multi-select/compare/v0.8.10...v0.8.11)
|
|
54
|
-
|
|
55
|
-
> 15 July 2023
|
|
56
|
-
|
|
57
|
-
- test: added selectAll helpers to test case and made 100% test coverage [`7913f8b`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/7913f8b02ea1a8669628c67585961ed8a29c89a8)
|
|
58
|
-
- chore: release 0.8.11 [`163df1b`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/163df1bafe5b605264d1dc6b5076140295e29bcc)
|
|
59
|
-
|
|
60
|
-
#### [v0.8.10](https://github.com/JairajJangle/react-native-tree-multi-select/compare/v0.8.9...v0.8.10)
|
|
61
|
-
|
|
62
|
-
> 15 July 2023
|
|
63
|
-
|
|
64
|
-
- test: added test cases for helper functions and zustand store [`20dfaeb`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/20dfaeb684f1abb075d00293c0d3873970c52a26)
|
|
65
|
-
- chore: cleanup: seperated some functions from component file into helper file [`10ef9ec`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/10ef9ec02c597e6ab3a9d67f29ccd1fc287d9d4e)
|
|
66
|
-
- fix: recursive rendering due to useffect dependency issue [`0df57db`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/0df57db623238fd412affe0373bba30a38e7d103)
|
|
67
|
-
|
|
68
|
-
#### [v0.8.9](https://github.com/JairajJangle/react-native-tree-multi-select/compare/v0.8.8...v0.8.9)
|
|
69
|
-
|
|
70
|
-
> 12 July 2023
|
|
71
|
-
|
|
72
|
-
- chore: corrected checkbox view style prop types and updated readme [`101a600`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/101a600765aa97d10d63dd0272e666e1e9ce97cb)
|
|
73
|
-
- chore: release 0.8.9 [`c09d1db`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/c09d1db64ddeb86637b4dbc48a28d98f4d55cca3)
|
|
74
|
-
|
|
75
|
-
#### [v0.8.8](https://github.com/JairajJangle/react-native-tree-multi-select/compare/v0.8.7...v0.8.8)
|
|
76
|
-
|
|
77
|
-
> 12 July 2023
|
|
78
|
-
|
|
79
|
-
- chore: removed unnecessary native files and added indentation multiplier customization prop [`409acc5`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/409acc5acbe6c0d4694e968bcc2f617e6a9cf26a)
|
|
80
|
-
- chore: release 0.8.8 [`76ca8ab`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/76ca8abbdce1d0f51335cc1be42c158614161d80)
|
|
81
|
-
|
|
82
|
-
#### [v0.8.7](https://github.com/JairajJangle/react-native-tree-multi-select/compare/v0.8.6...v0.8.7)
|
|
83
|
-
|
|
84
|
-
> 11 July 2023
|
|
85
|
-
|
|
86
|
-
- fix: fixed special single child condition check [`a2c40ef`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/a2c40efbdcd8007c148a54aa50c24c131efe4d5d)
|
|
87
|
-
- chore: release 0.8.7 [`5f3646f`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/5f3646f8f2ede4463916dc32ca75dfcb4e2ef4e1)
|
|
88
|
-
|
|
89
|
-
#### [v0.8.6](https://github.com/JairajJangle/react-native-tree-multi-select/compare/v0.8.5...v0.8.6)
|
|
90
|
-
|
|
91
|
-
> 11 July 2023
|
|
92
|
-
|
|
93
|
-
- chore: cleanup [`5f236fd`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/5f236fd0f62639d60ac3983d68e70a57c664173f)
|
|
94
|
-
- chore: types cleanup [`79e1b7b`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/79e1b7bd4b5ff0afa3bf421cf88a036f180dd7d2)
|
|
95
|
-
- chore: updated readme [`f6006b7`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/f6006b725b3feffc795b64a7305ccdb5292cf3e9)
|
|
96
|
-
|
|
97
|
-
#### [v0.8.5](https://github.com/JairajJangle/react-native-tree-multi-select/compare/v0.8.3...v0.8.5)
|
|
98
|
-
|
|
99
|
-
> 10 July 2023
|
|
100
|
-
|
|
101
|
-
- chore: release 0.8.5 [`42c89fe`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/42c89feeabe22a3ddd40302e988502cbc92cd09f)
|
|
102
|
-
- chore: version bump [`ad1bd43`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/ad1bd43e1345f016dbcb0226e0918d3eca22d722)
|
|
103
|
-
- chore: readme updated [`6275d89`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/6275d895f6722ea0fc574deb113b00a47950e044)
|
|
104
|
-
|
|
105
|
-
#### [v0.8.3](https://github.com/JairajJangle/react-native-tree-multi-select/compare/v0.5.4...v0.8.3)
|
|
106
|
-
|
|
107
|
-
> 10 July 2023
|
|
108
|
-
|
|
109
|
-
- fix: transitioned from preact signal to zustand state [`#3`](https://github.com/JairajJangle/react-native-tree-multi-select/pull/3)
|
|
110
|
-
- fix: transitioned from preact signal to zustand state due to experimental nature of signals in RN [`a1bf158`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/a1bf15836d1aa916bd62b1015967890775163f56)
|
|
111
|
-
- chore: updated readme and version bump [`af493c3`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/af493c31574192f522fff43bb573e4d530b4b363)
|
|
112
|
-
- chore: ci ios build failure fixes [`892f621`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/892f621875f44d88fdf18d4d30c9026e0e5620bf)
|
|
113
|
-
|
|
114
|
-
#### [v0.5.4](https://github.com/JairajJangle/react-native-tree-multi-select/compare/v0.5.3...v0.5.4)
|
|
115
|
-
|
|
116
|
-
> 10 July 2023
|
|
117
|
-
|
|
118
|
-
- chore: updated readme [`0308abc`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/0308abca793bbd2b054503cbe6cea63fa5571396)
|
|
119
|
-
- chore: updated readme [`3ee4ec7`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/3ee4ec7fde1b0b584aaa4f5acc340f691ade3a3c)
|
|
120
|
-
- chore: release 0.5.4 [`3cc3fd2`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/3cc3fd240e3739875123d2a3fa68fc437909a540)
|
|
121
|
-
|
|
122
|
-
#### [v0.5.3](https://github.com/JairajJangle/react-native-tree-multi-select/compare/v0.5.2...v0.5.3)
|
|
123
|
-
|
|
124
|
-
> 10 July 2023
|
|
125
|
-
|
|
126
|
-
- chore: updated readme [`7beb85f`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/7beb85f86d64ddc911fa66cc08d26403dbc616b4)
|
|
127
|
-
- chore: release 0.5.3 [`d9147ef`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/d9147ef53ced5115d0dda582f96f3d7f59b7f877)
|
|
128
|
-
|
|
129
|
-
#### [v0.5.2](https://github.com/JairajJangle/react-native-tree-multi-select/compare/v0.5.0...v0.5.2)
|
|
130
|
-
|
|
131
|
-
> 10 July 2023
|
|
132
|
-
|
|
133
|
-
- chore: updated keywords to package json [`fce3d13`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/fce3d13014ea14b749aac2cbb6be5857714c9ce6)
|
|
134
|
-
- chore: release 0.5.2 [`8a37d68`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/8a37d68faae70a71ec6b147511eab64a916f4ed6)
|
|
135
|
-
- chore: version bump [`e5d80f0`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/e5d80f0ffb808fda3bf99485f7ed13147a0f4d2a)
|
|
136
|
-
|
|
137
|
-
#### v0.5.0
|
|
138
|
-
|
|
139
|
-
> 10 July 2023
|
|
140
|
-
|
|
141
|
-
- Significant performance optimizations in tree filtering and selection and some more feature [`#2`](https://github.com/JairajJangle/react-native-tree-multi-select/pull/2)
|
|
142
|
-
- Performance improvements and added many features [`#1`](https://github.com/JairajJangle/react-native-tree-multi-select/pull/1)
|
|
143
|
-
- chore: updated readme file [`dc183f6`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/dc183f661bf5cd96c4bb67e0af2eac004de97cd0)
|
|
144
|
-
- perf: major optimizations and added expand/collapse functionality [`341c982`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/341c982c1f5479f453f6e2b70e66da0f9c52cfca)
|
|
145
|
-
- feat: initial commit [`7186ca0`](https://github.com/JairajJangle/react-native-tree-multi-select/commit/7186ca0f677e19672ff0b70ed1616526ae8edd82)
|