Skip to content

Commit 1d3d918

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 1d3d918

File tree

9 files changed

+574
-2
lines changed

9 files changed

+574
-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"] }

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)