Query and lifecycle commands
pinset migrate
Validate and rewrite schema 1–3 project configuration as schema 4 while retaining schema 3 runtime locks, without re-resolving versions.
View source on GitHub ↗| Field | Description |
|---|---|
| Purpose | Validate and rewrite schema 1–3 project configuration as schema 4 while retaining schema 3 runtime locks, without re-resolving versions. |
| Syntax and arguments | `pinset migrate [--global |
| Modifies state | Yes, unless --dry-run; normalizes the config and lock with atomic per-file replacement only. |
| Example | pinset migrate --cwd ./app --dry-run |
| JSON | Yes; command name migrate, including source and target schemas. |
| Exit | 0 after validation/migration; 2 when config and lock cannot be proven consistent. |
| Key errors | Missing config/lock, unsupported schema, config-lock mismatch, or write failure. |
/en/docs/commands/migratePinset 2.1