Skip to content

Migrate @dfinity/* packages to @icp-sdk/*#3

Merged
JoshDFN merged 1 commit intomainfrom
fix/migrate-icp-sdk
Feb 26, 2026
Merged

Migrate @dfinity/* packages to @icp-sdk/*#3
JoshDFN merged 1 commit intomainfrom
fix/migrate-icp-sdk

Conversation

@JoshDFN
Copy link
Copy Markdown
Collaborator

@JoshDFN JoshDFN commented Feb 26, 2026

Summary

Migrates all deprecated @dfinity/* npm package references to the new @icp-sdk/* packages (released Dec 2025, now at v5.0.0).

Changes:

  • internet-identity: @dfinity/auth-client@icp-sdk/auth/client, @dfinity/agent@icp-sdk/core/agent
  • asset-canister: @dfinity/assets@icp-sdk/canisters/assets, @dfinity/agent@icp-sdk/core/agent
  • certified-variables: @dfinity/agent@icp-sdk/core/agent, @dfinity/certificate-verification@icp-sdk/core/agent
  • vetkd: No change — @dfinity/vetkeys is domain-specific and hasn't migrated yet

Addresses issue #1 item 5 (deprecated packages).

Test plan

  • Build passes (npm run build)
  • Verify no @dfinity/agent, @dfinity/auth-client, @dfinity/assets references remain
  • Only @dfinity/vetkeys (domain-specific) should remain

- internet-identity: @dfinity/auth-client → @icp-sdk/auth, @dfinity/agent → @icp-sdk/core
- asset-canister: @dfinity/assets → @icp-sdk/canisters, @dfinity/agent → @icp-sdk/core
- certified-variables: @dfinity/agent → @icp-sdk/core/agent
- vetkd: no change (@dfinity/vetkeys is domain-specific, not yet migrated)
@JoshDFN JoshDFN merged commit cfa90f8 into main Feb 26, 2026
4 checks passed
@marc0olo marc0olo deleted the fix/migrate-icp-sdk branch February 27, 2026 14:47
marc0olo added a commit that referenced this pull request Mar 3, 2026
- Merge pitfall #3 (dfx.json vs icp.yaml) into pitfall #1 (dfx vs icp)
- Remove multi-canister example (composition of individual examples)
- Add candid recipe configuration to Rust and Motoko examples
- Add candid to dfx→icp configuration mapping table
raymondk added a commit that referenced this pull request Mar 3, 2026
- Merge pitfall #3 (dfx.json vs icp.yaml) into pitfall #1 (dfx vs icp)
- Remove multi-canister example (composition of individual examples)
- Add candid recipe configuration to Rust and Motoko examples
- Add candid to dfx→icp configuration mapping table

Co-authored-by: raymondk <raymond.khalife@dfinity.org>
marc0olo added a commit that referenced this pull request Mar 9, 2026
…vals

- Serve reference files (references/*.md) at /.well-known/skills/{name}/{path}
  via a new Astro catch-all route, completing the Skills Discovery RFC chain
- Include files array in /.well-known/skills/index.json for each skill
- Expand icp-cli evaluations from 3 to 12 output evals covering all pitfalls
- Fix eval harness shell expansion bug (execFileSync instead of execSync)
- Add --list flag and numeric --eval index to eval harness
- Correct icp-cli pitfall #3: unpinned recipes are rejected, not just risky
- Document reference file endpoint on Access page and in README
raymondk added a commit that referenced this pull request Mar 9, 2026
…vals (#81)

- Serve reference files (references/*.md) at /.well-known/skills/{name}/{path}
  via a new Astro catch-all route, completing the Skills Discovery RFC chain
- Include files array in /.well-known/skills/index.json for each skill
- Expand icp-cli evaluations from 3 to 12 output evals covering all pitfalls
- Fix eval harness shell expansion bug (execFileSync instead of execSync)
- Add --list flag and numeric --eval index to eval harness
- Correct icp-cli pitfall #3: unpinned recipes are rejected, not just risky
- Document reference file endpoint on Access page and in README

Co-authored-by: raymondk <raymond.khalife@dfinity.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant