|
8 | 8 | "description": "Official front-end implementation of ComfyUI", |
9 | 9 | "license": "GPL-3.0-only", |
10 | 10 | "scripts": { |
11 | | - "dev": "vite", |
12 | | - "dev:electron": "vite --config vite.electron.config.mts", |
13 | | - "build": "pnpm typecheck && vite build", |
14 | | - "build:types": "vite build --config vite.types.config.mts && node scripts/prepare-types.js", |
| 11 | + "dev": "nx serve", |
| 12 | + "dev:electron": "nx serve --config vite.electron.config.mts", |
| 13 | + "build": "pnpm typecheck && nx build", |
| 14 | + "build:types": "nx build --config vite.types.config.mts && node scripts/prepare-types.js", |
15 | 15 | "zipdist": "node scripts/zipdist.js", |
16 | 16 | "typecheck": "vue-tsc --noEmit", |
17 | 17 | "format": "prettier --write './**/*.{js,ts,tsx,vue,mts}' --cache", |
18 | 18 | "format:check": "prettier --check './**/*.{js,ts,tsx,vue,mts}' --cache", |
19 | 19 | "format:no-cache": "prettier --write './**/*.{js,ts,tsx,vue,mts}'", |
20 | 20 | "format:check:no-cache": "prettier --check './**/*.{js,ts,tsx,vue,mts}'", |
21 | | - "test:browser": "npx playwright test", |
22 | | - "test:unit": "vitest run tests-ui/tests", |
23 | | - "test:component": "vitest run src/components/", |
| 21 | + "test:browser": "npx nx e2e", |
| 22 | + "test:unit": "nx run test tests-ui/tests", |
| 23 | + "test:component": "nx run test src/components/", |
24 | 24 | "preinstall": "npx only-allow pnpm", |
25 | 25 | "prepare": "husky || true && git config blame.ignoreRevsFile .git-blame-ignore-revs || true", |
26 | | - "preview": "vite preview", |
| 26 | + "preview": "nx preview", |
27 | 27 | "lint": "eslint src --cache", |
28 | 28 | "lint:fix": "eslint src --cache --fix", |
29 | 29 | "lint:no-cache": "eslint src", |
30 | 30 | "lint:fix:no-cache": "eslint src --fix", |
31 | 31 | "knip": "knip --cache", |
32 | 32 | "knip:no-cache": "knip", |
33 | 33 | "locale": "lobe-i18n locale", |
34 | | - "collect-i18n": "playwright test --config=playwright.i18n.config.ts", |
| 34 | + "collect-i18n": "nx e2e --config=playwright.i18n.config.ts", |
35 | 35 | "json-schema": "tsx scripts/generate-json-schema.ts", |
36 | | - "storybook": "storybook dev -p 6006", |
37 | | - "build-storybook": "storybook build" |
| 36 | + "storybook": "nx storybook -p 6006", |
| 37 | + "build-storybook": "nx build-storybook" |
38 | 38 | }, |
39 | 39 | "devDependencies": { |
40 | 40 | "@eslint/js": "^9.8.0", |
41 | | - "@executeautomation/playwright-mcp-server": "^1.0.5", |
| 41 | + "@executeautomation/playwright-mcp-server": "^1.0.6", |
42 | 42 | "@iconify/json": "^2.2.245", |
43 | 43 | "@iconify/tailwind": "^1.2.0", |
44 | 44 | "@intlify/eslint-plugin-vue-i18n": "^3.2.0", |
45 | | - "@lobehub/i18n-cli": "^1.20.0", |
| 45 | + "@lobehub/i18n-cli": "^1.25.1", |
| 46 | + "@nx/eslint": "21.4.1", |
| 47 | + "@nx/playwright": "21.4.1", |
| 48 | + "@nx/storybook": "21.4.1", |
| 49 | + "@nx/vite": "21.4.1", |
| 50 | + "@nx/web": "21.4.1", |
46 | 51 | "@pinia/testing": "^0.1.5", |
47 | 52 | "@playwright/test": "^1.52.0", |
48 | 53 | "@storybook/addon-docs": "^9.1.1", |
|
55 | 60 | "@types/semver": "^7.7.0", |
56 | 61 | "@types/three": "^0.169.0", |
57 | 62 | "@vitejs/plugin-vue": "^5.1.4", |
| 63 | + "@vitest/ui": "^3.0.0", |
58 | 64 | "@vue/test-utils": "^2.4.6", |
59 | 65 | "autoprefixer": "^10.4.19", |
60 | 66 | "chalk": "^5.3.0", |
|
70 | 76 | "happy-dom": "^15.11.0", |
71 | 77 | "husky": "^9.0.11", |
72 | 78 | "identity-obj-proxy": "^3.0.0", |
73 | | - "ink": "^4.2.0", |
| 79 | + "ink": "^6.2.2", |
| 80 | + "jiti": "2.4.2", |
74 | 81 | "knip": "^5.62.0", |
75 | 82 | "lint-staged": "^15.2.7", |
76 | 83 | "lucide-vue-next": "^0.540.0", |
| 84 | + "nx": "21.4.1", |
77 | 85 | "postcss": "^8.4.39", |
78 | 86 | "prettier": "^3.3.2", |
79 | | - "react": "^18.3.1", |
80 | | - "react-reconciler": "^0.29.2", |
| 87 | + "react": "^19.1.1", |
| 88 | + "react-reconciler": "^0.32.0", |
81 | 89 | "storybook": "^9.1.1", |
82 | 90 | "tailwindcss": "^3.4.4", |
83 | 91 | "tsx": "^4.15.6", |
|
90 | 98 | "vite-plugin-dts": "^4.3.0", |
91 | 99 | "vite-plugin-html": "^3.2.2", |
92 | 100 | "vite-plugin-vue-devtools": "^7.7.6", |
93 | | - "vitest": "^2.0.0", |
| 101 | + "vitest": "^3.2.4", |
94 | 102 | "vue-tsc": "^2.1.10", |
95 | 103 | "zip-dir": "^2.0.0", |
96 | 104 | "zod-to-json-schema": "^3.24.1" |
|
0 commit comments