react-dropzone 14.2.7 → 14.2.8
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/CONTRIBUTING.md +9 -7
- package/package.json +2 -2
package/CONTRIBUTING.md
CHANGED
|
@@ -88,29 +88,31 @@ Enhancement suggestions are tracked as [GitHub issues](/issues). If you have a s
|
|
|
88
88
|
|
|
89
89
|
### Your First Code Contribution
|
|
90
90
|
|
|
91
|
+
Make sure your node version is at least 18, then:
|
|
92
|
+
|
|
91
93
|
1. Fork this repo
|
|
92
|
-
|
|
94
|
+
2. Clone your fork:
|
|
93
95
|
```bash
|
|
94
96
|
git clone https://github.com/myusername/react-dropzone.git
|
|
95
97
|
```
|
|
96
|
-
|
|
98
|
+
3. Install system dependencies (needed for local development):
|
|
97
99
|
```bash
|
|
98
100
|
# macOS
|
|
99
101
|
brew install libpng libimagequant
|
|
100
102
|
# Linux
|
|
101
103
|
sudo apt-get install -y libpng-dev libimagequant-dev
|
|
102
104
|
```
|
|
103
|
-
|
|
105
|
+
4. Install project dependencies:
|
|
104
106
|
```bash
|
|
105
107
|
yarn install
|
|
106
108
|
```
|
|
107
|
-
|
|
109
|
+
5. Create a new branch:
|
|
108
110
|
```bash
|
|
109
111
|
git checkout -b fix/fix-some-bug
|
|
110
112
|
```
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
113
|
+
6. Start hacking
|
|
114
|
+
7. Commit and push your code
|
|
115
|
+
8. Make a PR
|
|
114
116
|
|
|
115
117
|
**NOTE** If you're using Apple silicon, you'll need to install Rosetta 2 (see [imagemin/pngquant-bin#121](https://github.com/imagemin/pngquant-bin/issues/121) and [SO](https://stackoverflow.com/a/66662497/1092007)):
|
|
116
118
|
```bash
|
package/package.json
CHANGED