Skip to content

Commit 15a1a08

Browse files
elrrrrrrrclaude
andcommitted
feat(pm): add --from pnpm migration for install command
Reads pnpm-workspace.yaml and converts to utoo config: - workspaces/overrides → package.json - catalog/catalogs → .utoo.toml (merged with existing config via PNPM_MIGRATE_KEYS whitelist) Migration runs before init_registry so MERGED_CONFIG picks up the generated .utoo.toml for catalog: protocol resolution. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c252d7a commit 15a1a08

File tree

10 files changed

+575
-2
lines changed

10 files changed

+575
-2
lines changed

.github/workflows/pm-ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ jobs:
109109

110110
- name: Install dependencies
111111
run: utoo install
112-
continue-on-error: true
113112

114113
- name: Setup node x86
115114
uses: actions/setup-node@v4

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ tempfile = "3"
5959
thiserror = "1.0"
6060
tokio = { version = "1.47.1" }
6161
tokio-fs-ext = "0.7.8"
62+
serde_yaml = "0.9"
6263
toml = "0.8"
6364
tracing = "0.1.41"
6465
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "fmt"] }

agents/rust-code-guard.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,3 +367,4 @@ Scan through this list during every review for high-frequency Rust anti-patterns
367367
| A16 | Broad Re-export Leak | `pub use module::*` leaking internal helpers | Export precise types explicitly |
368368
| A17 | Large Enum Variant Size | A single large variant inflating the enum footprint | Heap-allocate the large variant via `Box<T>` |
369369
| A18 | Trivial Wrapper Function | One-line fn that just forwards to another fn with identical signature | Call the underlying function directly |
370+
| A19 | Repetitive Conditional Push | Repeated `if x > 0 { vec.push(format!(...)) }` blocks with same structure | Data-drive with `[(value, label)].filter().map().collect()` |

crates/pm/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ reqwest = { version = "0.12", default-features = false, features = [
4747
] }
4848
serde = { workspace = true }
4949
serde_json = { version = "1.0", features = ["preserve_order"] }
50+
serde_yaml = { workspace = true }
5051
sha1 = { workspace = true }
5152
sha2 = { workspace = true }
5253
tar = "0.4"

0 commit comments

Comments
 (0)