Context
skrun push returns a 409 error if the version already exists in the registry. During development, you have to restart the registry (which clears the in-memory DB) to push again.
Proposal
Add a --force flag that overwrites the existing version:
Files to change
packages/cli/src/commands/push.ts — add --force option, pass as query param
packages/api/src/routes/registry.ts — handle ?force=true to allow overwrite
Context
skrun pushreturns a 409 error if the version already exists in the registry. During development, you have to restart the registry (which clears the in-memory DB) to push again.Proposal
Add a
--forceflag that overwrites the existing version:Files to change
packages/cli/src/commands/push.ts— add--forceoption, pass as query parampackages/api/src/routes/registry.ts— handle?force=trueto allow overwrite