forked from opentiny/tiny-vue
chore(ci): add pr preview through vercel deploy (#1388)
This commit is contained in:
parent
e97eb93323
commit
355b4460a1
|
@ -28,7 +28,7 @@
|
|||
"main": "packages/index.js",
|
||||
"engines": {
|
||||
"node": ">=16",
|
||||
"pnpm": ">=7"
|
||||
"pnpm": ">=6.35"
|
||||
},
|
||||
"scripts": {
|
||||
"preinstall": "npx only-allow pnpm",
|
||||
|
@ -65,7 +65,9 @@
|
|||
"build:themeMobile": "pnpm -C packages/theme-mobile build:fast",
|
||||
"build:themejson": "gulp themeJson",
|
||||
"build:internals": "pnpm \"--filter=./internals/*\" build",
|
||||
"build:site": "gulp themeConcat && pnpm -C examples/sites build",
|
||||
"build:vite-import": "pnpm --filter @opentiny/vue-vite-import build",
|
||||
"build:virtual-template": "pnpm --filter @opentiny-internal/unplugin-virtual-template build",
|
||||
"build:site": "gulp themeConcat && pnpm i -g pnpm && pnpm build:vite-import && pnpm build:virtual-template && pnpm -C examples/sites build",
|
||||
"release:aurora": "pnpm -C internals/cli release:aurora",
|
||||
"// ---------- 使用pnpm批量发布npm包 ----------": "",
|
||||
"pub2": "pnpm --filter=\"./packages/dist2/**\" publish --tag v2-latest --no-git-checks --access=public",
|
||||
|
|
|
@ -13,9 +13,7 @@
|
|||
"dependencies": {
|
||||
"@opentiny/vue-renderless": "workspace:~",
|
||||
"@opentiny/vue-common": "workspace:~",
|
||||
"shepherd.js": "11.0.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"shepherd.js": "11.0.1",
|
||||
"@floating-ui/dom": "^1.0.10"
|
||||
},
|
||||
"license": "MIT"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"rewrites": [{ "source": "/:path*", "destination": "/index.html" }]
|
||||
}
|
Loading…
Reference in New Issue