Skip to content

Commit 39772c7

Browse files
committed
feat: vendor throttle-debounce
1 parent 8a550e1 commit 39772c7

File tree

4 files changed

+18
-1
lines changed

4 files changed

+18
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"prepublishOnly": "npm run build",
2828
"dev": "npm run build -- --watch",
2929
"start": "esno src/index.ts",
30-
"build": "tsup src/index.ts --format cjs,esm --dts",
30+
"build": "tsup src/index.ts --format cjs,esm --dts --dts-resolve",
3131
"release": "bumpp --commit --push --tag && npm publish",
3232
"lint": "eslint \"{src,test}/**/*.ts\"",
3333
"lint:fix": "npm run lint -- --fix",
@@ -38,12 +38,14 @@
3838
"@antfu/ni": "^0.5.5",
3939
"@types/jest": "^26.0.22",
4040
"@types/node": "^14.14.37",
41+
"@types/throttle-debounce": "^2.1.0",
4142
"bumpp": "^6.0.6",
4243
"eslint": "^7.23.0",
4344
"eslint-plugin-jest": "^24.3.2",
4445
"esno": "^0.5.0",
4546
"git-ensure": "^0.1.0",
4647
"jest": "^26.6.3",
48+
"throttle-debounce": "^3.0.1",
4749
"ts-jest": "^26.5.4",
4850
"tsup": "^4.8.21",
4951
"typescript": "^4.2.3"

pnpm-lock.yaml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ export * from './types'
99
export * from './function'
1010
export * from './object'
1111
export * from './promise'
12+
export * from './vendor'

src/vendor.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from 'throttle-debounce'

0 commit comments

Comments
 (0)