From d7f0339bed0ac345b137bfcaec628998beca5e6b Mon Sep 17 00:00:00 2001 From: datavisyn-bot <> Date: Fri, 31 Oct 2025 23:16:18 +0000 Subject: [PATCH 1/3] chore: prepare next dev release --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9b77f75..c25b7d2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "visyn_scripts", "description": "", - "version": "15.1.1", + "version": "15.1.2-SNAPSHOT", "author": { "name": "datavisyn GmbH", "email": "contact@datavisyn.io", From 15a72183bf373a8c9e93a27eea804e42cf3a5df5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20P=C3=BChringer?= <51900829+puehringer@users.noreply.github.com> Date: Sat, 1 Nov 2025 10:25:11 +0100 Subject: [PATCH 2/3] feat: set max space size for all node scripts (#171) --- bin/commands/bundle.js | 6 +----- bin/commands/utils.js | 2 ++ tests/visyn_scripts.test.js | 8 ++------ 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/bin/commands/bundle.js b/bin/commands/bundle.js index 379d741..e6c0f91 100644 --- a/bin/commands/bundle.js +++ b/bin/commands/bundle.js @@ -6,10 +6,6 @@ module.exports = { describe: 'Bundles a repository', handler: (args) => { const configPath = resolve(__dirname, '../../config/rspack.config.js'); - call('rspack', `build --c "${configPath}" ${(args.strings || []).join(' ')}`, { - env: { - NODE_OPTIONS: '--max-old-space-size=8192', - }, - }); + call('rspack', `build --c "${configPath}" ${(args.strings || []).join(' ')}`); }, }; diff --git a/bin/commands/utils.js b/bin/commands/utils.js index 7a38c11..5ba9521 100644 --- a/bin/commands/utils.js +++ b/bin/commands/utils.js @@ -31,6 +31,8 @@ const call = (command, args, options = {}) => { stdio: 'inherit', env: { NODE_PATH: nodePath, + // Increase memory limits for node all processes + NODE_OPTIONS: '--max-old-space-size=8192 --max-semi-space-size=512', ...(options.env || {}), ...process.env, }, diff --git a/tests/visyn_scripts.test.js b/tests/visyn_scripts.test.js index 1896d79..7e9aa74 100644 --- a/tests/visyn_scripts.test.js +++ b/tests/visyn_scripts.test.js @@ -50,16 +50,12 @@ describe('cli', () => { it('runs the bundle script in production mode', async () => { // const callSpy = jest.spyOn(utils, "call"); await runCommand('bundle'); - expect(call).toHaveBeenCalledWith(expect.stringMatching(/(?=.*rspack)/), expect.stringMatching(/(?=.*rspack\.config\.js)/), expect.anything()); + expect(call).toHaveBeenCalledWith(expect.stringMatching(/(?=.*rspack)/), expect.stringMatching(/(?=.*rspack\.config\.js)/)); }); it('runs the bundle script in development mode', async () => { // const callSpy = jest.spyOn(utils, "call"); await runCommand('bundle', '--mode', 'development'); - expect(call).toHaveBeenCalledWith( - expect.stringMatching(/(?=.*rspack)/), - expect.stringMatching(/(?=.*--mode development)(?=.*rspack\.config\.js)/), - expect.anything(), - ); + expect(call).toHaveBeenCalledWith(expect.stringMatching(/(?=.*rspack)/), expect.stringMatching(/(?=.*--mode development)(?=.*rspack\.config\.js)/)); }); }); From 0777a5508ade80d1a77b36b42e6a479a09751b14 Mon Sep 17 00:00:00 2001 From: puehringer <> Date: Sat, 1 Nov 2025 09:25:30 +0000 Subject: [PATCH 3/3] Prepare release version 15.1.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c25b7d2..ee8a4b0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "visyn_scripts", "description": "", - "version": "15.1.2-SNAPSHOT", + "version": "15.1.2", "author": { "name": "datavisyn GmbH", "email": "contact@datavisyn.io",