mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 08:03:46 +00:00
fix: don't exclude cli-shared from library publishing
The startsWith("sdks/cli") filter was also matching sdks/cli-shared,
preventing it from being published. Use "sdks/cli/" (with trailing
slash) to only match the CLI directory itself.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1fcc009156
commit
e24b7cb140
1 changed files with 1 additions and 1 deletions
|
|
@ -278,7 +278,7 @@ export async function publishNpmLibraries(opts: ReleaseOpts) {
|
|||
// Exclude CLI and gigacode directories (handled by publishNpmCli)
|
||||
const libraries = all.filter(p => {
|
||||
const rel = relative(opts.root, p.dir);
|
||||
return !rel.startsWith("sdks/cli") && !rel.startsWith("sdks/gigacode");
|
||||
return !rel.startsWith("sdks/cli/") && !rel.startsWith("sdks/gigacode/");
|
||||
});
|
||||
|
||||
const sorted = topoSort(libraries);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue