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:
snomiao
2025-10-14 05:10:45 +00:00
parent 4b50a3991a
commit e4de597460
3 changed files with 6 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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",