Skip to content

Commit 7db1069

Browse files
authored
Merge pull request #265 from DevinoSolutions/fix/test-review
Fix/test-review
2 parents 6957baa + 1fce100 commit 7db1069

27 files changed

+1456
-1812
lines changed

.github/pull_request_template.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ Fixes # (issue)
2222
- [ ] I have made corresponding changes to the documentation
2323
- [ ] My changes generate no new warnings
2424
- [ ] I have added tests that prove my fix is effective or that my feature works
25-
- [ ] I have updated the CHANGELOG.md file
25+
- [ ] I have updated the `package.json` file with the new version
26+
- [ ] I have updated the `CHANGELOG.md` file for the new version

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
3535
- name: Install dependencies
3636
if: steps.cache-primes.outputs.cache-hit != 'true'
37-
run: pnpm install --frozen-lockfile
37+
run: pnpm install
3838

3939
- name: Prettier Check
4040
run: pnpm run prettier-check
@@ -68,7 +68,7 @@ jobs:
6868
6969
- name: Install dependencies
7070
if: steps.cache-primes.outputs.cache-hit != 'true'
71-
run: pnpm install --frozen-lockfile
71+
run: pnpm install
7272

7373
- name: Run Tests with Coverage
7474
run: pnpm run test:coverage
@@ -146,7 +146,7 @@ jobs:
146146
147147
- name: Install dependencies
148148
if: steps.cache-primes.outputs.cache-hit != 'true'
149-
run: pnpm install --frozen-lockfile
149+
run: pnpm install
150150

151151
- name: Build
152152
run: pnpm run build

CHANGELOG.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,39 @@
1-
# @devino.solutions/upup
1+
# upup-react-file-uploader
22

33
## 1.0.0
44

5-
### Major changes
5+
### 1.0.0 Major changes
66

77
- Initial release
8+
9+
## 1.0.1
10+
11+
### 1.0.1 Major changes
12+
13+
- Bug fixes
14+
15+
## 1.0.2
16+
17+
### 1.0.2 Major changes
18+
19+
- Bug fixes
20+
21+
## 1.1.0
22+
23+
### Features
24+
25+
- Added new `customProps` prop for passing custom provider-specific configurations
26+
- Added `enableAutoCorsConfig` prop to control automatic CORS configuration for S3 providers
27+
28+
### Fixes
29+
30+
- Resolved file preview rendering issues
31+
- Fixed unmet peer dependencies warning
32+
- Replaced problematic install command in CI/CD pipelines
33+
- Improved file preview styling layout
34+
- Enhanced default warning and error message styling
35+
- Minor styling fixes and consistency improvements
36+
37+
### Maintenance
38+
39+
- Updated build scripts and documentation

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,25 @@ Install upup with your favourite package manager
1515
### npm
1616

1717
```bash
18-
npm install @devino.solutions/upup
18+
npm install upup-react-file-uploader
1919
```
2020

2121
### yarn
2222

2323
```bash
24-
yarn add @devino.solutions/upup
24+
yarn add upup-react-file-uploader
2525
```
2626

2727
### pnpm
2828

2929
```bash
30-
pnpm add @devino.solutions/upup
30+
pnpm add upup-react-file-uploader
3131
```
3232

3333
### bun
3434

3535
```bash
36-
bun install @devino.solutions/upup
36+
bun install upup-react-file-uploader
3737
```
3838

3939
## Logic Diagram
@@ -49,7 +49,7 @@ The example below shows a minimal configuration for AWS S3 upload, using the [Up
4949
### Client Side
5050

5151
```tsx
52-
import { UpupUploader, UpupProvider } from '@bassem97/upup'
52+
import { UpupUploader, UpupProvider } from 'upup-react-file-uploader'
5353

5454
export default function Uploader() {
5555
return (
@@ -78,7 +78,7 @@ export default function App() {
7878
### Server Side
7979

8080
```ts
81-
import { s3GeneratePresignedUrl } from '@devino.solutions/upup/server'
81+
import { s3GeneratePresignedUrl } from 'upup-react-file-uploader/server'
8282

8383
app.post('/api/upload-token', async (req, res) => {
8484
try {

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "@devino.solutions/upup",
2+
"name": "upup-react-file-uploader",
33
"author": "Devino Solutions",
44
"license": "MIT",
5-
"version": "1.0.2",
5+
"version": "1.1.0",
66
"publishConfig": {
77
"access": "public"
88
},
@@ -176,7 +176,6 @@
176176
"framer-motion": "^12.0.6",
177177
"load-script": "^2.0.0",
178178
"pako": "^2.1.0",
179-
"react-file-viewer": "^1.2.1",
180179
"react-icons": "^4.12.0",
181180
"react-toastify": "^11.0.3",
182181
"react-webcam": "^7.2.0",

0 commit comments

Comments
 (0)