Skip to content

chore: replace Deno with mise and dprint - #58

Merged
MikuroXina merged 3 commits into
mainfrom
chore/migrate-deno-to-mise
Nov 7, 2026
Merged

MikuroXina merged 3 commits into
mainfrom
chore/migrate-deno-to-mise

Conversation

@m1sk9

@m1sk9 m1sk9 commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

概要

Deno を廃止し,ツールチェーンを mise に一本化します.

  • mise.toml で mdbook / mdbook-mermaid / dprint のバージョンを管理し,タスクも mise task に移行
  • Markdown formatter を deno fmt から dprint に置き換え
  • CI / deploy は jdx/mise-action に統一(mdbook は 0.5.1 / 0.5.3 のずれを 0.5.3 に統一)
  • scripts/generate.ts を削除(参照先の pkg/id, pkg/password, pkg/time は pulsate 本体に存在せず,どこからも呼ばれていないため)
  • Renovate の regex customManager を削除(mise manager が mise.toml を管理)

補足

  • mdbook は github: backend を指定.既定の aqua backend は arm64 macOS で x86_64 バイナリを取得し実行できなかったため
  • src/endpoint/timeline.md の壊れたバッククォートを修正し,src/project.md の iframe に dprint-ignore を付与
  • ローカルで mise run format:check / test / build の通過を確認済み.GitHub Actions 上での動作は本 PR の CI で確認

Generated by Claude Code

Comment thread src/project.md Resolved
Comment thread src/introduction.md Resolved
@m1sk9

m1sk9 commented Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

ほぼ機械で切り替えたのであれでした
直します

m1sk9 and others added 2 commits November 6, 2026 14:39
Deno was only used as a task runner for mdbook, a Markdown formatter
and a stale doc generator. mise now provisions mdbook, mdbook-mermaid
and dprint with pinned versions, so local and CI environments share one
definition instead of three separate install steps.

scripts/generate.ts is removed: it targeted pkg/id, pkg/password and
pkg/time which no longer exist in pulsate-dev/pulsate, and nothing
invoked it.

mdbook uses the github: backend because the default aqua backend
fetched an x86_64 binary on arm64 macOS.

Co-Authored-By: Claude <[email protected]>
dprint does not alter the line below the marker, so the ignore carried
over from deno-fmt-ignore had no effect and only added noise.

Co-Authored-By: Claude <[email protected]>
@m1sk9
m1sk9 force-pushed the chore/migrate-deno-to-mise branch from a2ddf40 to d8a1ba6 Compare November 6, 2026 05:42
@m1sk9
m1sk9 requested a review from a team as a code owner November 6, 2026 05:42
@m1sk9
m1sk9 requested a review from MikuroXina November 6, 2026 11:21
@MikuroXina
MikuroXina merged commit ca6d6f8 into main Nov 7, 2026
1 check passed
@MikuroXina
MikuroXina deleted the chore/migrate-deno-to-mise branch November 7, 2026 15:26
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.

2 participants