mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-24 00:34:09 +00:00
chore(deploy-gh-pages): fix indentation for env variable in GitHub Actions workflow
chore(knip.config.ts): add public directory and vite.config.ts to Knip config for better type management feat(package.json): add build:pages script to automate page building process
This commit is contained in:
4
.github/workflows/deploy-gh-pages.yml
vendored
4
.github/workflows/deploy-gh-pages.yml
vendored
@@ -170,5 +170,5 @@ jobs:
|
||||
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} # Required
|
||||
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} # Required
|
||||
working-directory: ./docs/pages
|
||||
env:
|
||||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} # Required for Vercel Action
|
||||
env:
|
||||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} # Required for Vercel Action
|
||||
|
||||
@@ -39,7 +39,9 @@ const config: KnipConfig = {
|
||||
'src/workbench/extensions/manager/types/generatedManagerTypes.ts',
|
||||
'packages/registry-types/src/comfyRegistryTypes.ts',
|
||||
// Used by a custom node (that should move off of this)
|
||||
'src/scripts/ui/components/splitButton.ts'
|
||||
'src/scripts/ui/components/splitButton.ts',
|
||||
'docs/pages/public/**/*',
|
||||
'docs/pages/public/vite.config.ts'
|
||||
],
|
||||
compilers: {
|
||||
// https://github.com/webpro-nl/knip/issues/1008#issuecomment-3207756199
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
"scripts": {
|
||||
"build:desktop": "nx build @comfyorg/desktop-ui",
|
||||
"build-storybook": "storybook build",
|
||||
"build:pages": "bash scripts/build-pages.sh",
|
||||
"build:types": "nx build --config vite.types.config.mts && node scripts/prepare-types.js",
|
||||
"build": "cross-env NODE_OPTIONS='--max-old-space-size=8192' pnpm typecheck && nx build",
|
||||
"collect-i18n": "pnpm exec playwright test --config=playwright.i18n.config.ts",
|
||||
|
||||
Reference in New Issue
Block a user