Skip to content

Commit 98f8fe1

Browse files
committed
upgrade peer deps
1 parent ca1d3e3 commit 98f8fe1

6 files changed

Lines changed: 89 additions & 88 deletions

File tree

.changeset/bumpy-cougars-worry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@fuzdev/fuz_gitops': minor
3+
---
4+
5+
upgrade `fuz_util` and `gro`

package-lock.json

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

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,21 @@
2929
"node": ">=22.15"
3030
},
3131
"peerDependencies": {
32-
"@fuzdev/fuz_css": ">=0.44.1",
33-
"@fuzdev/fuz_ui": ">=0.179.0",
34-
"@fuzdev/fuz_util": ">=0.45.3",
35-
"@fuzdev/gro": ">=0.194.0",
32+
"@fuzdev/fuz_css": ">=0.53.0",
33+
"@fuzdev/fuz_ui": ">=0.184.0",
34+
"@fuzdev/fuz_util": ">=0.52.0",
35+
"@fuzdev/gro": ">=0.195.0",
3636
"@sveltejs/kit": "^2",
3737
"svelte": "^5",
3838
"zod": "^4.1.13"
3939
},
4040
"devDependencies": {
4141
"@changesets/changelog-git": "^0.2.1",
4242
"@fuzdev/fuz_code": "^0.45.1",
43-
"@fuzdev/fuz_css": "^0.52.0",
44-
"@fuzdev/fuz_ui": "^0.184.0",
45-
"@fuzdev/fuz_util": "^0.50.1",
46-
"@fuzdev/gro": "^0.194.0",
43+
"@fuzdev/fuz_css": "^0.53.0",
44+
"@fuzdev/fuz_ui": "^0.185.0",
45+
"@fuzdev/fuz_util": "^0.52.0",
46+
"@fuzdev/gro": "^0.195.0",
4747
"@jridgewell/trace-mapping": "^0.3.31",
4848
"@ryanatkn/eslint-config": "^0.9.0",
4949
"@sveltejs/adapter-static": "^3.0.10",

src/lib/gitops_run.task.ts

Lines changed: 40 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -56,50 +56,46 @@ export const task: Task<Args> = {
5656
const start_time = performance.now();
5757

5858
// Run command in parallel across all repos
59-
const results = await map_concurrent_settled(
60-
repos,
61-
async (repo) => {
62-
const repo_start = performance.now();
63-
const repo_name = repo.name;
64-
const repo_dir = repo.path;
65-
66-
try {
67-
// Parse command into cmd + args for spawn
68-
// For now, we use shell mode to support pipes/redirects/etc
69-
const spawned = await spawn_out('sh', ['-c', command], {
70-
cwd: repo_dir,
71-
});
72-
73-
const duration_ms = performance.now() - repo_start;
74-
const success = spawned.result.ok;
75-
76-
const result: RunResult = {
77-
repo_name,
78-
repo_dir,
79-
status: success ? 'success' : 'failure',
80-
exit_code: spawned.result.code ?? 0,
81-
stdout: spawned.stdout || '',
82-
stderr: spawned.stderr || '',
83-
duration_ms,
84-
};
85-
86-
return result;
87-
} catch (error) {
88-
const duration_ms = performance.now() - repo_start;
89-
return {
90-
repo_name,
91-
repo_dir,
92-
status: 'failure' as const,
93-
exit_code: -1,
94-
stdout: '',
95-
stderr: '',
96-
duration_ms,
97-
error: String(error),
98-
};
99-
}
100-
},
101-
concurrency,
102-
);
59+
const results = await map_concurrent_settled(repos, concurrency, async (repo) => {
60+
const repo_start = performance.now();
61+
const repo_name = repo.name;
62+
const repo_dir = repo.path;
63+
64+
try {
65+
// Parse command into cmd + args for spawn
66+
// For now, we use shell mode to support pipes/redirects/etc
67+
const spawned = await spawn_out('sh', ['-c', command], {
68+
cwd: repo_dir,
69+
});
70+
71+
const duration_ms = performance.now() - repo_start;
72+
const success = spawned.result.ok;
73+
74+
const result: RunResult = {
75+
repo_name,
76+
repo_dir,
77+
status: success ? 'success' : 'failure',
78+
exit_code: spawned.result.code ?? 0,
79+
stdout: spawned.stdout || '',
80+
stderr: spawned.stderr || '',
81+
duration_ms,
82+
};
83+
84+
return result;
85+
} catch (error) {
86+
const duration_ms = performance.now() - repo_start;
87+
return {
88+
repo_name,
89+
repo_dir,
90+
status: 'failure' as const,
91+
exit_code: -1,
92+
stdout: '',
93+
stderr: '',
94+
duration_ms,
95+
error: String(error),
96+
};
97+
}
98+
});
10399

104100
const total_duration_ms = performance.now() - start_time;
105101

src/lib/local_repo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,10 @@ export const local_repos_load = async ({
304304
// Parallel loading with concurrency limit
305305
const results = await map_concurrent_settled(
306306
local_repo_paths,
307+
concurrency,
307308
async (local_repo_path) => {
308309
return local_repo_load({local_repo_path, log, git_ops, npm_ops});
309310
},
310-
concurrency,
311311
);
312312

313313
// Check for failures and collect successes

src/routes/library.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,21 @@
4040
"node": ">=22.15"
4141
},
4242
"peerDependencies": {
43-
"@fuzdev/fuz_css": ">=0.44.1",
44-
"@fuzdev/fuz_ui": ">=0.179.0",
45-
"@fuzdev/fuz_util": ">=0.45.3",
46-
"@fuzdev/gro": ">=0.194.0",
43+
"@fuzdev/fuz_css": ">=0.53.0",
44+
"@fuzdev/fuz_ui": ">=0.184.0",
45+
"@fuzdev/fuz_util": ">=0.52.0",
46+
"@fuzdev/gro": ">=0.195.0",
4747
"@sveltejs/kit": "^2",
4848
"svelte": "^5",
4949
"zod": "^4.1.13"
5050
},
5151
"devDependencies": {
5252
"@changesets/changelog-git": "^0.2.1",
5353
"@fuzdev/fuz_code": "^0.45.1",
54-
"@fuzdev/fuz_css": "^0.52.0",
55-
"@fuzdev/fuz_ui": "^0.184.0",
56-
"@fuzdev/fuz_util": "^0.50.1",
57-
"@fuzdev/gro": "^0.194.0",
54+
"@fuzdev/fuz_css": "^0.53.0",
55+
"@fuzdev/fuz_ui": "^0.185.0",
56+
"@fuzdev/fuz_util": "^0.52.0",
57+
"@fuzdev/gro": "^0.195.0",
5858
"@jridgewell/trace-mapping": "^0.3.31",
5959
"@ryanatkn/eslint-config": "^0.9.0",
6060
"@sveltejs/adapter-static": "^3.0.10",

0 commit comments

Comments
 (0)