Skip to content

chore: migrate motoko/daily_planner to icp-cli#1370

Draft
marc0olo wants to merge 9 commits into
masterfrom
chore/migrate-daily-planner-to-icp-cli
Draft

chore: migrate motoko/daily_planner to icp-cli#1370
marc0olo wants to merge 9 commits into
masterfrom
chore/migrate-daily-planner-to-icp-cli

Conversation

@marc0olo

@marc0olo marc0olo commented Jun 10, 2026

Copy link
Copy Markdown
Member

Summary

Migrates motoko/daily_planner from dfx to icp-cli.

  • Replace dfx.json with icp.yaml (@dfinity/motoko@v5.0.0 + @dfinity/asset-canister@v2.2.1)
  • Source already in backend/app.mo; replace import IC "ic:aaaaa-aa" with import { ic } "mo:ic" + import IC "mo:ic/Types"
  • Fix getMonthData month prefix to zero-pad single-digit months
  • Update mops.toml: moc 1.9.0, core 2.5.0, ic 4.0.0, json, map; apply mops check --fix
  • Add CI workflow (icp-dev-env-motoko:0.3.2), Makefile with 6 tests (null state, add note, read note, month filter, complete note, empty month)
  • Use clearly fake test dates (2000-01-15, month (2000, 1))
  • README: drop ## Overview / GitHub link; fix dapp→app; fix "on the network" / "data from external services"

Test plan

  • motoko-daily_planner CI passes

🤖 Generated with Claude Code

marc0olo and others added 9 commits June 10, 2026 17:21
Replace dfx.json with icp.yaml, update mops.toml to moc 1.9.0 and
core 2.5.0, add ic = 4.0.0 dependency, replace ic:aaaaa-aa with
import { ic } "mo:ic" + IC "mo:ic/Types", add icp-bindgen-based
vite.config.js and actor.js, add Makefile with numbered tests for
all public functions, add CI workflow, and delete BUILD.md,
dfx.json, and .devcontainer/.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ernal services'

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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