npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@minar-kotonoha/to-miko

v1.0.0

Published

将 Vue 3 + Vite 项目安全迁移到 Miko v1 的 Agent Skill

Downloads

716

Readme

@minar-kotonoha/to-miko

将 Vue 3 + Vite 项目安全迁移到 Miko v1 的 Agent Skill。

Miko v1 只支持 CLI 入口:零配置项目不需要配置文件;需要覆盖约定时只使用根目录 miko.config.ts,并将配置分为 { miko, vite }。源项目的构建配置用于分析,迁移完成后不再作为 Miko 入口。

安装

bun add -D @minar-kotonoha/to-miko
bunx agents export

支持 Claude Code、Cursor、Codex、Copilot、OpenCode、Windsurf、Goose 和 Amp。

工作流

  1. 读取源项目的构建、路由、入口、HTML、环境变量、依赖和业务测试。
  2. 记录 Git 基线,运行 bunx miko migrate 生成不写文件的计划。
  3. 安全计划使用 bunx miko migrate --write --check;不安全计划人工迁入唯一 miko.config.ts
  4. 将手工路由迁为文件系统路由,保留业务 path、meta、守卫和微前端行为。
  5. 运行 Doctor、构建、全路由 Check、类型检查、单元测试和 Playwright 回归。

硬约束

  • Bun 是唯一包管理器。
  • 分发 CLI 使用 Node.js + jiti,应用运行时不依赖 Bun API。
  • SPA 与构建期 SSG 都支持,不增加生产 SSR Server。
  • 默认现代构建和应用内打包;Legacy 与 CDN 是可选能力。
  • 动态配置、自定义插件顺序和 Miko 所有权 input 不做猜测式自动迁移。
  • miko build 成功不能替代真实路由、API、浏览器和业务规则验证。

完整流程见 SKILL.mdreferences/

许可证

MIT