diff --git a/.dumirc.ts b/.dumirc.ts index 3983dd72..f9137735 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -8,7 +8,7 @@ export default defineConfig({ name: 'InputNumber', logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4' }, - outputPath: '.doc', + outputPath: 'docs-dist', exportStatic: {}, styles: [`body .dumi-default-header-left { width: 230px; } body .dumi-default-hero-title { font-size: 100px; }`], }); diff --git a/.gitignore b/.gitignore index 3a0da955..a057a838 100755 --- a/.gitignore +++ b/.gitignore @@ -28,7 +28,7 @@ coverage yarn.lock pnpm-lock.yaml package-lock.json -.doc/ +docs-dist/ # umi .umi diff --git a/README.md b/README.md index b8085838..d51cdb04 100644 --- a/README.md +++ b/README.md @@ -112,12 +112,6 @@ online example: https://input-number.vercel.app/
- - -
-
-## simple-use-touch
-
-
-
## small-step
diff --git a/now.json b/now.json
index b73988b5..46a63876 100644
--- a/now.json
+++ b/now.json
@@ -5,10 +5,7 @@
{
"src": "package.json",
"use": "@now/static-build",
- "config": { "distDir": ".doc" }
+ "config": { "distDir": "docs-dist" }
}
- ],
- "routes": [
- { "src": "/(.*)", "dest": "/dist/$1" }
]
}
diff --git a/package.json b/package.json
index ce7d6363..aad44961 100644
--- a/package.json
+++ b/package.json
@@ -79,7 +79,7 @@
"rc-tooltip": "^6.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
- "regenerator-runtime": "^0.13.7",
+ "regenerator-runtime": "^0.14.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
diff --git a/src/InputNumber.tsx b/src/InputNumber.tsx
index b8c0b2ac..4a94dad7 100644
--- a/src/InputNumber.tsx
+++ b/src/InputNumber.tsx
@@ -93,9 +93,6 @@ export interface InputNumberProps