mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-12 12:40:29 +08:00
parent
c0baeb4d1c
commit
f082dd6e63
1
.github/workflows/publish-npm.yml
vendored
1
.github/workflows/publish-npm.yml
vendored
@ -26,6 +26,7 @@ jobs:
|
||||
run: |
|
||||
. venv/bin/activate
|
||||
pip install build
|
||||
pnpm css
|
||||
pnpm --filter @gradio/client --filter @gradio/lite build
|
||||
- name: create and publish versions
|
||||
id: changesets
|
||||
|
@ -12,7 +12,7 @@
|
||||
"pybuild:gradio": "cd ../../ && rm -rf gradio/templates/frontend && python -m build",
|
||||
"pybuild:gradio-client": "cd ../../client/python && python -m build",
|
||||
"pybuild": "run-p pybuild:*",
|
||||
"build:lite": "pnpm pybuild && vite build --mode production:lite --emptyOutDir",
|
||||
"build:lite": "pnpm pybuild && pnpm --filter @gradio/wasm build && vite build --mode production:lite --emptyOutDir",
|
||||
"preview": "vite preview",
|
||||
"test:snapshot": "pnpm exec playwright test snapshots/ --config=../../.config/playwright.config.js",
|
||||
"test:browser": "pnpm exec playwright test test/ --config=../../.config/playwright.config.js",
|
||||
@ -57,4 +57,4 @@
|
||||
"msw": {
|
||||
"workerDirectory": "public"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -93,4 +93,4 @@
|
||||
".."
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user