我用 better-t-stack@lates 。初始化一个项目,居然花了 14 分钟左右
◆ You can reproduce this setup with the following command: │ bun create better-t-stack@latest xscan --frontend next --backend hono --runtime bun --database sqlite --orm prisma --api trpc --auth --addons turborepo --examples none --db-setup none --web-deploy workers --git --package-manager bun --install │ └ Project created successfully in 861.51 seconds!
然后我切换到 pnpm 花了 1 分多接近 2 分钟
◆ You can reproduce this setup with the following command: │ pnpm create better-t-stack@latest pnpm-test --frontend next --backend hono --runtime bun --database sqlite --orm prisma --api trpc --auth --addons turborepo --examples none --db-setup none --web-deploy workers --git --package-manager pnpm --install │ └ Project created successfully in 110.92 seconds!
虽然 pnpm 我觉得也比较慢,但是相比 bun 好太多了。
我记得 bun 刚发布 1.0 的时候 超级快的,现在不知道怎么了 慢得离谱
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.