Skip to content

Commit 57751fa

Browse files
committed
chore: update chore way at root
1 parent 4548275 commit 57751fa

File tree

6 files changed

+21
-3
lines changed

6 files changed

+21
-3
lines changed

DEV_DOCUMENT.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,16 @@ pnpm docs:dev
3333

3434
```
3535

36+
or
37+
38+
at `root` dir run
39+
40+
```bash
41+
42+
pnpm docs:dev
43+
44+
```
45+
46+
will implement script to finished `scripts/docs.ts`
47+
3648
If the page startup is blank, you need to refresh the page.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"eslint-config-prettier": "^8.5.0",
4545
"eslint-plugin-prettier": "^4.2.1",
4646
"eslint-plugin-vue": "^9.6.0",
47+
"execa":"^6.1.0",
4748
"husky": "^8.0.1",
4849
"lint-staged": "^13.0.3",
4950
"vue-eslint-parser": "^9.0.3",

packages/hooks/scripts/plugin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
import { cyan } from 'kolorist'
12
import { Logger, Plugin } from 'vite'
2-
import { cyan, move } from './utils'
3+
import { move } from './utils'
34

45
export function movePlugin({ from, to }: { from: string; to: string }): Plugin {
56
let logger: Logger

packages/hooks/scripts/utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ export function move(originalUrl: string, targetUrl: string, log: Logger) {
1010
log.info(`\n${cyan(logPrefix)} File successfully moved!!`)
1111
})
1212
}
13-
export { cyan }

packages/resolvers/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue-hooks-plus/resolvers",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "",
55
"type": "module",
66
"main": "dist/index.cjs",
@@ -36,6 +36,9 @@
3636
"dependencies": {
3737
"local-pkg": "^0.4.2"
3838
},
39+
"peerDependencies": {
40+
"vue-hooks-plus": "^1.5.2"
41+
},
3942
"pnpm": {
4043
"peerDependencyRules": {
4144
"ignoreMissing": [

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)