Skip to content

Commit 45ebc59

Browse files
authored
chore(package.json): increase memory available for build command (#5968)
## Summary Increased default node memory allocation to 8GB for building the app. I was running out of memory on default settings and at 4GB manually allocated. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-5968-chore-package-json-increase-memory-available-for-build-command-2866d73d365081e78ab2e387113aaced) by [Unito](https://www.unito.io)
1 parent fc1d040 commit 45ebc59

File tree

3 files changed

+94
-89
lines changed

3 files changed

+94
-89
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"build:desktop": "nx build @comfyorg/desktop-ui",
1212
"build-storybook": "storybook build",
1313
"build:types": "nx build --config vite.types.config.mts && node scripts/prepare-types.js",
14-
"build": "pnpm typecheck && nx build",
14+
"build": "cross-env NODE_OPTIONS='--max-old-space-size=8192' pnpm typecheck && nx build",
1515
"collect-i18n": "pnpm exec playwright test --config=playwright.i18n.config.ts",
1616
"dev:desktop": "nx dev @comfyorg/desktop-ui",
1717
"dev:electron": "nx serve --config vite.electron.config.mts",
@@ -66,6 +66,7 @@
6666
"@vitest/coverage-v8": "catalog:",
6767
"@vitest/ui": "catalog:",
6868
"@vue/test-utils": "catalog:",
69+
"cross-env": "catalog:",
6970
"eslint": "catalog:",
7071
"eslint-config-prettier": "catalog:",
7172
"eslint-plugin-prettier": "catalog:",

pnpm-lock.yaml

Lines changed: 27 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 65 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -3,115 +3,93 @@ packages:
33
- packages/**
44

55
catalog:
6-
# Core frameworks
7-
typescript: ^5.9.2
8-
vue: ^3.5.13
9-
10-
# Build tools
6+
'@alloc/quick-lru': ^5.2.0
7+
'@eslint/js': ^9.35.0
8+
'@iconify-json/lucide': ^1.1.178
9+
'@iconify/json': ^2.2.380
10+
'@iconify/tailwind': ^1.1.3
11+
'@intlify/eslint-plugin-vue-i18n': ^4.1.0
12+
'@lobehub/i18n-cli': ^1.25.1
1113
'@nx/eslint': 21.4.1
1214
'@nx/playwright': 21.4.1
1315
'@nx/storybook': 21.4.1
1416
'@nx/vite': 21.4.1
15-
nx: 21.4.1
16-
tsx: ^4.15.6
17-
vite: ^5.4.19
18-
'@vitejs/plugin-vue': ^5.1.4
19-
'vite-plugin-dts': ^4.5.4
20-
vue-tsc: ^3.0.7
21-
22-
# Testing
23-
'happy-dom': ^15.11.0
24-
jsdom: ^26.1.0
2517
'@pinia/testing': ^0.1.5
2618
'@playwright/test': ^1.52.0
27-
'@vitest/coverage-v8': ^3.2.4
28-
'@vitest/ui': ^3.0.0
29-
vitest: ^3.2.4
30-
'@vue/test-utils': ^2.4.6
31-
32-
# Linting & Formatting
33-
'@eslint/js': ^9.35.0
34-
eslint: ^9.34.0
35-
'eslint-config-prettier': ^10.1.8
36-
'eslint-plugin-prettier': ^5.5.4
37-
'eslint-plugin-storybook': ^9.1.6
38-
'eslint-plugin-unused-imports': ^4.2.0
39-
'eslint-plugin-vue': ^10.4.0
40-
globals: ^15.9.0
41-
'@intlify/eslint-plugin-vue-i18n': ^4.1.0
42-
postcss-html: ^1.8.0
43-
prettier: ^3.3.2
44-
stylelint: ^16.24.0
45-
'typescript-eslint': ^8.44.0
46-
'vue-eslint-parser': ^10.2.0
47-
48-
# Vue ecosystem
49-
'@sentry/vue': ^8.48.0
50-
'@vueuse/core': ^11.0.0
51-
'@vueuse/integrations': ^13.9.0
52-
'vite-plugin-html': ^3.2.2
53-
'vite-plugin-vue-devtools': ^7.7.6
54-
pinia: ^2.1.7
55-
'vue-i18n': ^9.14.3
56-
'vue-router': ^4.4.3
57-
vuefire: ^3.2.1
58-
59-
# PrimeVue UI framework
6019
'@primeuix/forms': 0.0.2
6120
'@primeuix/styled': 0.3.2
6221
'@primeuix/utils': ^0.3.2
6322
'@primevue/core': ^4.2.5
6423
'@primevue/forms': ^4.2.5
6524
'@primevue/icons': 4.2.5
6625
'@primevue/themes': ^4.2.5
67-
primeicons: ^7.0.0
68-
primevue: ^4.2.5
69-
70-
# Tailwind CSS and design
71-
'@iconify/json': ^2.2.380
72-
'@iconify-json/lucide': ^1.1.178
73-
'@iconify/tailwind': ^1.1.3
74-
'@tailwindcss/vite': ^4.1.12
75-
tailwindcss: ^4.1.12
76-
'tailwindcss-primeui': ^0.6.1
77-
'tw-animate-css': ^1.3.8
78-
'unplugin-icons': ^0.22.0
79-
'unplugin-vue-components': ^0.28.0
80-
81-
# Storybook
26+
'@sentry/vue': ^8.48.0
8227
'@storybook/addon-docs': ^9.1.1
83-
storybook: ^9.1.6
8428
'@storybook/vue3': ^9.1.1
8529
'@storybook/vue3-vite': ^9.1.1
86-
87-
# Data and validation
30+
'@tailwindcss/vite': ^4.1.12
31+
'@trivago/prettier-plugin-sort-imports': ^5.2.0
32+
'@types/fs-extra': ^11.0.4
33+
'@types/jsdom': ^21.1.7
34+
'@types/node': ^20.14.8
35+
'@types/semver': ^7.7.0
36+
'@types/three': ^0.169.0
37+
'@vitejs/plugin-vue': ^5.1.4
38+
'@vitest/coverage-v8': ^3.2.4
39+
'@vitest/ui': ^3.0.0
40+
'@vue/test-utils': ^2.4.6
41+
'@vueuse/core': ^11.0.0
42+
'@vueuse/integrations': ^13.9.0
8843
algoliasearch: ^5.21.0
8944
axios: ^1.8.2
90-
firebase: ^11.6.0
91-
yjs: ^13.6.27
92-
zod: ^3.23.8
93-
'zod-validation-error': ^3.3.0
94-
95-
# Dev tools
45+
cross-env: ^10.1.0
9646
dotenv: ^16.4.5
47+
eslint: ^9.34.0
48+
eslint-config-prettier: ^10.1.8
49+
eslint-plugin-prettier: ^5.5.4
50+
eslint-plugin-storybook: ^9.1.6
51+
eslint-plugin-unused-imports: ^4.2.0
52+
eslint-plugin-vue: ^10.4.0
53+
firebase: ^11.6.0
54+
globals: ^15.9.0
55+
happy-dom: ^15.11.0
9756
husky: ^9.0.11
9857
jiti: 2.4.2
58+
jsdom: ^26.1.0
9959
knip: ^5.62.0
100-
'lint-staged': ^15.2.7
101-
102-
# Type definitions
103-
'@types/fs-extra': ^11.0.4
104-
'@types/jsdom': ^21.1.7
105-
'@types/node': ^20.14.8
106-
'@types/semver': ^7.7.0
107-
'@types/three': ^0.169.0
108-
'vue-component-type-helpers': ^3.0.7
109-
'zod-to-json-schema': ^3.24.1
110-
111-
# i18n
112-
'@alloc/quick-lru': ^5.2.0
113-
'@lobehub/i18n-cli': ^1.25.1
114-
'@trivago/prettier-plugin-sort-imports': ^5.2.0
60+
lint-staged: ^15.2.7
61+
nx: 21.4.1
62+
pinia: ^2.1.7
63+
postcss-html: ^1.8.0
64+
prettier: ^3.3.2
65+
primeicons: ^7.0.0
66+
primevue: ^4.2.5
67+
storybook: ^9.1.6
68+
stylelint: ^16.24.0
69+
tailwindcss: ^4.1.12
70+
tailwindcss-primeui: ^0.6.1
71+
tsx: ^4.15.6
72+
tw-animate-css: ^1.3.8
73+
typescript: ^5.9.2
74+
typescript-eslint: ^8.44.0
75+
unplugin-icons: ^0.22.0
76+
unplugin-vue-components: ^0.28.0
77+
vite: ^5.4.19
78+
vite-plugin-dts: ^4.5.4
79+
vite-plugin-html: ^3.2.2
80+
vite-plugin-vue-devtools: ^7.7.6
81+
vitest: ^3.2.4
82+
vue: ^3.5.13
83+
vue-component-type-helpers: ^3.0.7
84+
vue-eslint-parser: ^10.2.0
85+
vue-i18n: ^9.14.3
86+
vue-router: ^4.4.3
87+
vue-tsc: ^3.0.7
88+
vuefire: ^3.2.1
89+
yjs: ^13.6.27
90+
zod: ^3.23.8
91+
zod-to-json-schema: ^3.24.1
92+
zod-validation-error: ^3.3.0
11593

11694
ignoredBuiltDependencies:
11795
- '@firebase/util'

0 commit comments

Comments
 (0)