Skip to content

Commit

Permalink
chore: up deps
Browse files Browse the repository at this point in the history
  • Loading branch information
chizukicn committed Sep 21, 2023
1 parent b13990a commit b92ea06
Show file tree
Hide file tree
Showing 5 changed files with 511 additions and 745 deletions.
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,11 @@
"up": "taze major",
"regit": "git fetch --all && git reset --hard origin/main && git pull && git remote prune origin"
},
"dependencies": {
"tslx": "^0.1.0"
},
"devDependencies": {
"@curev/eslint-config": "^0.2.1",
"@types/node": "^20.5.9",
"@types/node": "^20.6.3",
"bumpp": "^9.2.0",
"eslint": "^8.48.0",
"eslint": "^8.49.0",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"rimraf": "^5.0.1",
Expand Down
16 changes: 9 additions & 7 deletions packages/hoci/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"name": "hoci",
"version": "0.2.0",
"description": "",
"author": "chizuki",
"license": "MIT",
"main": "dist/index.cjs",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
Expand All @@ -10,16 +12,16 @@
],
"scripts": {
"build": "unbuild",
"stub": "unbuild --stub"
},
"author": "chizuki",
"license": "MIT",
"dependencies": {
"@vueuse/core": "^10.2.1",
"maybe-types": "^0.0.3"
"stub": "unbuild --stub",
"prepublish": "pnpm build"
},
"peerDependencies": {
"@vueuse/core": ">=10",
"vue": "^3.2.31"
},
"dependencies": {
"@vueuse/core": "^10.4.1",
"maybe-types": "^0.0.3",
"tslx": "^0.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/hoci/src/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function defineHookComponent<
context: SetupContext<E>
) => {
const p = withDefaults<P, D, Defaults>(
isFunction(props) ? reactiveComputed(() => props()) : props,
isFunction(props) ? (reactiveComputed(() => props()) as Partial<Defaults> & Omit<D, keyof Defaults>) : props,
options.props!
);
return options.setup(p, context);
Expand Down
48 changes: 24 additions & 24 deletions playground/package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
{
"name": "playground",
"private": true,
"version": "0.0.1",
"description": "",
"dependencies": {
"hoci": "workspace:*",
"vue": "^3.2.31"
},
"devDependencies": {
"@types/node": "^18.13.0",
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue-jsx": "^3.0.1",
"sass": "^1.55.0",
"typescript": "^5.1.6",
"unocss": "^0.53.5",
"vite": "^4.4.2"
},
"scripts": {
"dev": "vite",
"preview": "vite preview",
"build": "vite build"
},
"author": "chizuki",
"license": "MIT"
"name": "playground",
"version": "0.0.1",
"private": true,
"description": "",
"author": "chizuki",
"license": "MIT",
"scripts": {
"dev": "vite",
"preview": "vite preview",
"build": "vite build"
},
"dependencies": {
"hoci": "workspace:*",
"vue": "^3.3.4"
},
"devDependencies": {
"@types/node": "^18.17.18",
"@vitejs/plugin-vue": "^4.3.4",
"@vitejs/plugin-vue-jsx": "^3.0.2",
"sass": "^1.68.0",
"typescript": "^5.2.2",
"unocss": "^0.56.0",
"vite": "^4.4.9"
}
}
Loading

0 comments on commit b92ea06

Please sign in to comment.