fix: test:unit build @valaxyjs/devtools

This commit is contained in:
YunYouJun 2024-02-14 19:25:55 +08:00
parent 1c64107a59
commit 42b490bfe9
4 changed files with 6 additions and 4 deletions

View File

@ -7,6 +7,8 @@ pnpm i
pnpm dev
```
Replace `"valaxy": "workspace:*"` in package.json with `"valaxy": "latest"` to use the latest version of valaxy.
## Custom
## Ref

View File

@ -1,5 +1,5 @@
{
"name": "valaxy-blog",
"name": "custom-valaxy-blog",
"type": "module",
"version": "0.0.0",
"private": true,
@ -12,7 +12,7 @@
"serve": "vite preview"
},
"dependencies": {
"valaxy": "0.18.0-beta.0",
"valaxy": "workspace:*",
"valaxy-theme-custom": "./valaxy-theme-custom"
},
"devDependencies": {

View File

@ -22,7 +22,7 @@
},
"scripts": {
"build:all": "pnpm -r --filter=./packages/** --parallel run build",
"build": "pnpm run build:valaxy",
"build": "pnpm run build:valaxy && pnpm run build:devtools",
"build:create-valaxy": "pnpm -C packages/create-valaxy run build",
"build:valaxy": "pnpm -C packages/valaxy run build",
"build:demo": "pnpm -C demo/yun run build",

View File

@ -142,7 +142,7 @@ importers:
demo/custom:
dependencies:
valaxy:
specifier: 0.18.0-beta.0
specifier: workspace:*
version: link:../../packages/valaxy
valaxy-theme-custom:
specifier: ./valaxy-theme-custom