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",
|
"main": "packages/index.js",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16",
|
"node": ">=16",
|
||||||
"pnpm": ">=7"
|
"pnpm": ">=6.35"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"preinstall": "npx only-allow pnpm",
|
"preinstall": "npx only-allow pnpm",
|
||||||
|
@ -65,7 +65,9 @@
|
||||||
"build:themeMobile": "pnpm -C packages/theme-mobile build:fast",
|
"build:themeMobile": "pnpm -C packages/theme-mobile build:fast",
|
||||||
"build:themejson": "gulp themeJson",
|
"build:themejson": "gulp themeJson",
|
||||||
"build:internals": "pnpm \"--filter=./internals/*\" build",
|
"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",
|
"release:aurora": "pnpm -C internals/cli release:aurora",
|
||||||
"// ---------- 使用pnpm批量发布npm包 ----------": "",
|
"// ---------- 使用pnpm批量发布npm包 ----------": "",
|
||||||
"pub2": "pnpm --filter=\"./packages/dist2/**\" publish --tag v2-latest --no-git-checks --access=public",
|
"pub2": "pnpm --filter=\"./packages/dist2/**\" publish --tag v2-latest --no-git-checks --access=public",
|
||||||
|
|
|
@ -13,9 +13,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@opentiny/vue-renderless": "workspace:~",
|
"@opentiny/vue-renderless": "workspace:~",
|
||||||
"@opentiny/vue-common": "workspace:~",
|
"@opentiny/vue-common": "workspace:~",
|
||||||
"shepherd.js": "11.0.1"
|
"shepherd.js": "11.0.1",
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"@floating-ui/dom": "^1.0.10"
|
"@floating-ui/dom": "^1.0.10"
|
||||||
},
|
},
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"rewrites": [{ "source": "/:path*", "destination": "/index.html" }]
|
||||||
|
}
|
Loading…
Reference in New Issue