Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ coverage
yarn.lock
es
package-lock.json
pnpm-lock.yaml
tmp/
.history
.storybook
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/beforeUpload.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint no-console:0 */

import { Action } from '@/interface';
import type { Action } from '@/interface';
import Upload from 'rc-upload';

const props = {
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/customRequest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import React from 'react';
import axios from 'axios';
import Upload from 'rc-upload';
import { UploadRequestOption } from '@/interface';
import type { UploadRequestOption } from '@/interface';

const uploadProps = {
action: '/upload.do',
Expand Down
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rc-upload",
"version": "4.8.1",
"name": "@rc-component/upload",
"version": "1.0.0",
"description": "upload ui component for react",
"keywords": [
"react",
Expand Down Expand Up @@ -38,16 +38,18 @@
},
"dependencies": {
"@babel/runtime": "^7.18.3",
"classnames": "^2.2.5",
"rc-util": "^5.2.0"
"@rc-component/util": "^1.2.0",
"classnames": "^2.2.5"
},
"devDependencies": {
"@rc-component/father-plugin": "^1.0.0",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
"@types/jest": "^29.5.11",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/node": "^22.12.0",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@types/sinon": "^17.0.3",
"@umijs/fabric": "^4.0.1",
"axios": "^1.7.2",
"co-busboy": "^1.3.0",
Expand All @@ -61,8 +63,8 @@
"np": "^10.0.7",
"raf": "^3.4.0",
"rc-test": "^7.0.13",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"regenerator-runtime": "^0.14.1",
"sinon": "^9.0.2",
"typescript": "^5.3.3",
Expand Down
Loading
Loading