Skip to content

Commit a52e062

Browse files
webfilteredchristian-byrne
authored andcommitted
Adopt catalog references for all matching dependencies (#5889)
## Summary Converts 81 package dependencies to use pnpm catalog references for centralized version management. ## Changes - **What**: All dependencies matching catalog versions now use `catalog:` references - **Dependencies**: axios catalog entry corrected from ^1.11.0 to ^1.8.2 - Also removes a redundant knip config line ### Some things that shouldn't matter - TypeScript was updated from ^5.4.5 to catalog reference (^5.9.2), but the project was already resolving to 5.9.2 so this has no practical impact. - axios catalog version was corrected from ^1.11.0 back to ^1.8.2 to match the main package version. - Autoformatted LGraphNode.ts from another PR by running pnpm lint. Oops.
1 parent 81fbb8d commit a52e062

File tree

7 files changed

+520
-559
lines changed

7 files changed

+520
-559
lines changed

knip.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ const config: KnipConfig = {
2020
project: ['src/**/*.{js,ts}', '*.{js,ts,mts}']
2121
},
2222
'packages/registry-types': {
23-
entry: ['src/comfyRegistryTypes.ts'],
2423
project: ['src/**/*.{js,ts}']
2524
}
2625
},

package.json

Lines changed: 82 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -42,122 +42,122 @@
4242
"devtools:pycheck": "python3 -m compileall -q tools/devtools"
4343
},
4444
"devDependencies": {
45-
"@eslint/js": "^9.35.0",
46-
"@intlify/eslint-plugin-vue-i18n": "^4.1.0",
47-
"@lobehub/i18n-cli": "^1.25.1",
48-
"@nx/eslint": "21.4.1",
49-
"@nx/playwright": "21.4.1",
50-
"@nx/storybook": "21.4.1",
51-
"@nx/vite": "21.4.1",
52-
"@pinia/testing": "^0.1.5",
53-
"@playwright/test": "^1.52.0",
54-
"@storybook/addon-docs": "^9.1.1",
55-
"@storybook/vue3": "^9.1.1",
56-
"@storybook/vue3-vite": "^9.1.1",
57-
"@tailwindcss/vite": "^4.1.12",
58-
"@trivago/prettier-plugin-sort-imports": "^5.2.0",
59-
"@types/fs-extra": "^11.0.4",
60-
"@types/jsdom": "^21.1.7",
61-
"@types/node": "^20.14.8",
62-
"@types/semver": "^7.7.0",
63-
"@types/three": "^0.169.0",
64-
"@vitejs/plugin-vue": "^5.1.4",
65-
"@vitest/coverage-v8": "^3.2.4",
66-
"@vitest/ui": "^3.0.0",
67-
"@vue/test-utils": "^2.4.6",
68-
"eslint": "^9.34.0",
69-
"eslint-config-prettier": "^10.1.8",
70-
"eslint-plugin-prettier": "^5.5.4",
71-
"eslint-plugin-storybook": "^9.1.6",
72-
"eslint-plugin-unused-imports": "^4.2.0",
73-
"eslint-plugin-vue": "^10.4.0",
45+
"@eslint/js": "catalog:",
46+
"@intlify/eslint-plugin-vue-i18n": "catalog:",
47+
"@lobehub/i18n-cli": "catalog:",
48+
"@nx/eslint": "catalog:",
49+
"@nx/playwright": "catalog:",
50+
"@nx/storybook": "catalog:",
51+
"@nx/vite": "catalog:",
52+
"@pinia/testing": "catalog:",
53+
"@playwright/test": "catalog:",
54+
"@storybook/addon-docs": "catalog:",
55+
"@storybook/vue3": "catalog:",
56+
"@storybook/vue3-vite": "catalog:",
57+
"@tailwindcss/vite": "catalog:",
58+
"@trivago/prettier-plugin-sort-imports": "catalog:",
59+
"@types/fs-extra": "catalog:",
60+
"@types/jsdom": "catalog:",
61+
"@types/node": "catalog:",
62+
"@types/semver": "catalog:",
63+
"@types/three": "catalog:",
64+
"@vitejs/plugin-vue": "catalog:",
65+
"@vitest/coverage-v8": "catalog:",
66+
"@vitest/ui": "catalog:",
67+
"@vue/test-utils": "catalog:",
68+
"eslint": "catalog:",
69+
"eslint-config-prettier": "catalog:",
70+
"eslint-plugin-prettier": "catalog:",
71+
"eslint-plugin-storybook": "catalog:",
72+
"eslint-plugin-unused-imports": "catalog:",
73+
"eslint-plugin-vue": "catalog:",
7474
"fs-extra": "^11.2.0",
75-
"globals": "^15.9.0",
76-
"happy-dom": "^15.11.0",
77-
"husky": "^9.0.11",
78-
"jiti": "2.4.2",
79-
"jsdom": "^26.1.0",
80-
"knip": "^5.62.0",
81-
"lint-staged": "^15.2.7",
82-
"nx": "21.4.1",
83-
"prettier": "^3.3.2",
84-
"storybook": "^9.1.6",
85-
"tailwindcss": "^4.1.12",
86-
"tailwindcss-primeui": "^0.6.1",
87-
"tsx": "^4.15.6",
88-
"tw-animate-css": "^1.3.8",
89-
"typescript": "^5.4.5",
90-
"typescript-eslint": "^8.44.0",
91-
"unplugin-icons": "^0.22.0",
92-
"unplugin-vue-components": "^0.28.0",
75+
"globals": "catalog:",
76+
"happy-dom": "catalog:",
77+
"husky": "catalog:",
78+
"jiti": "catalog:",
79+
"jsdom": "catalog:",
80+
"knip": "catalog:",
81+
"lint-staged": "catalog:",
82+
"nx": "catalog:",
83+
"prettier": "catalog:",
84+
"storybook": "catalog:",
85+
"tailwindcss": "catalog:",
86+
"tailwindcss-primeui": "catalog:",
87+
"tsx": "catalog:",
88+
"tw-animate-css": "catalog:",
89+
"typescript": "catalog:",
90+
"typescript-eslint": "catalog:",
91+
"unplugin-icons": "catalog:",
92+
"unplugin-vue-components": "catalog:",
9393
"uuid": "^11.1.0",
94-
"vite": "^5.4.19",
95-
"vite-plugin-dts": "^4.5.4",
96-
"vite-plugin-html": "^3.2.2",
97-
"vite-plugin-vue-devtools": "^7.7.6",
98-
"vitest": "^3.2.4",
99-
"vue-component-type-helpers": "^3.0.7",
100-
"vue-eslint-parser": "^10.2.0",
101-
"vue-tsc": "^3.0.7",
94+
"vite": "catalog:",
95+
"vite-plugin-dts": "catalog:",
96+
"vite-plugin-html": "catalog:",
97+
"vite-plugin-vue-devtools": "catalog:",
98+
"vitest": "catalog:",
99+
"vue-component-type-helpers": "catalog:",
100+
"vue-eslint-parser": "catalog:",
101+
"vue-tsc": "catalog:",
102102
"zip-dir": "^2.0.0",
103-
"zod-to-json-schema": "^3.24.1"
103+
"zod-to-json-schema": "catalog:"
104104
},
105105
"dependencies": {
106-
"@alloc/quick-lru": "^5.2.0",
106+
"@alloc/quick-lru": "catalog:",
107107
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
108108
"@comfyorg/comfyui-electron-types": "0.4.73-0",
109109
"@comfyorg/design-system": "workspace:*",
110110
"@comfyorg/registry-types": "workspace:*",
111111
"@comfyorg/tailwind-utils": "workspace:*",
112-
"@iconify/json": "^2.2.380",
113-
"@primeuix/forms": "0.0.2",
114-
"@primeuix/styled": "0.3.2",
115-
"@primeuix/utils": "^0.3.2",
116-
"@primevue/core": "^4.2.5",
117-
"@primevue/forms": "^4.2.5",
118-
"@primevue/icons": "4.2.5",
119-
"@primevue/themes": "^4.2.5",
120-
"@sentry/vue": "^8.48.0",
112+
"@iconify/json": "catalog:",
113+
"@primeuix/forms": "catalog:",
114+
"@primeuix/styled": "catalog:",
115+
"@primeuix/utils": "catalog:",
116+
"@primevue/core": "catalog:",
117+
"@primevue/forms": "catalog:",
118+
"@primevue/icons": "catalog:",
119+
"@primevue/themes": "catalog:",
120+
"@sentry/vue": "catalog:",
121121
"@tiptap/core": "^2.10.4",
122122
"@tiptap/extension-link": "^2.10.4",
123123
"@tiptap/extension-table": "^2.10.4",
124124
"@tiptap/extension-table-cell": "^2.10.4",
125125
"@tiptap/extension-table-header": "^2.10.4",
126126
"@tiptap/extension-table-row": "^2.10.4",
127127
"@tiptap/starter-kit": "^2.10.4",
128-
"@vueuse/core": "^11.0.0",
129-
"@vueuse/integrations": "^13.9.0",
128+
"@vueuse/core": "catalog:",
129+
"@vueuse/integrations": "catalog:",
130130
"@xterm/addon-fit": "^0.10.0",
131131
"@xterm/addon-serialize": "^0.13.0",
132132
"@xterm/xterm": "^5.5.0",
133-
"algoliasearch": "^5.21.0",
134-
"axios": "^1.8.2",
133+
"algoliasearch": "catalog:",
134+
"axios": "catalog:",
135135
"chart.js": "^4.5.0",
136136
"dompurify": "^3.2.5",
137-
"dotenv": "^16.4.5",
137+
"dotenv": "catalog:",
138138
"es-toolkit": "^1.39.9",
139139
"extendable-media-recorder": "^9.2.27",
140140
"extendable-media-recorder-wav-encoder": "^7.0.129",
141141
"fast-glob": "^3.3.3",
142-
"firebase": "^11.6.0",
142+
"firebase": "catalog:",
143143
"fuse.js": "^7.0.0",
144144
"glob": "^11.0.3",
145145
"jsondiffpatch": "^0.6.0",
146146
"loglevel": "^1.9.2",
147147
"marked": "^15.0.11",
148-
"pinia": "^2.1.7",
149-
"primeicons": "^7.0.0",
150-
"primevue": "^4.2.5",
148+
"pinia": "catalog:",
149+
"primeicons": "catalog:",
150+
"primevue": "catalog:",
151151
"reka-ui": "^2.5.0",
152152
"semver": "^7.7.2",
153153
"three": "^0.170.0",
154154
"tiptap-markdown": "^0.8.10",
155-
"vue": "^3.5.13",
156-
"vue-i18n": "^9.14.3",
157-
"vue-router": "^4.4.3",
158-
"vuefire": "^3.2.1",
159-
"yjs": "^13.6.27",
160-
"zod": "^3.23.8",
161-
"zod-validation-error": "^3.3.0"
155+
"vue": "catalog:",
156+
"vue-i18n": "catalog:",
157+
"vue-router": "catalog:",
158+
"vuefire": "catalog:",
159+
"yjs": "catalog:",
160+
"zod": "catalog:",
161+
"zod-validation-error": "catalog:"
162162
}
163163
}

packages/design-system/package.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44
"description": "Shared design system for ComfyUI Frontend",
55
"type": "module",
66
"exports": {
7-
"./tailwind-config": {
8-
"import": "./tailwind.config.ts",
9-
"types": "./tailwind.config.ts"
10-
},
7+
"./tailwind-config": "./tailwind.config.ts",
118
"./css/*": "./src/css/*"
129
},
1310
"scripts": {
@@ -20,12 +17,12 @@
2017
]
2118
},
2219
"dependencies": {
23-
"@iconify-json/lucide": "^1.1.178",
24-
"@iconify/tailwind": "^1.1.3"
20+
"@iconify-json/lucide": "catalog:",
21+
"@iconify/tailwind": "catalog:"
2522
},
2623
"devDependencies": {
27-
"tailwindcss": "^3.4.17",
28-
"typescript": "^5.4.5"
24+
"tailwindcss": "catalog:",
25+
"typescript": "catalog:"
2926
},
3027
"packageManager": "[email protected]"
3128
}

packages/shared-frontend-utils/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"./networkUtil": "./src/networkUtil.ts"
1515
},
1616
"dependencies": {
17-
"axios": "^1.11.0"
17+
"axios": "catalog:"
1818
},
1919
"devDependencies": {
20-
"typescript": "^5.9.2"
20+
"typescript": "catalog:"
2121
}
2222
}

packages/tailwind-utils/package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
"main": "./src/index.ts",
77
"types": "./src/index.ts",
88
"exports": {
9-
".": {
10-
"import": "./src/index.ts",
11-
"types": "./src/index.ts"
12-
}
9+
".": "./src/index.ts"
1310
},
1411
"scripts": {
1512
"typecheck": "tsc --noEmit"
@@ -25,6 +22,6 @@
2522
"tailwind-merge": "^2.2.0"
2623
},
2724
"devDependencies": {
28-
"typescript": "^5.4.5"
25+
"typescript": "catalog:"
2926
}
30-
}
27+
}

0 commit comments

Comments
 (0)