prjct-cli 0.28.3 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) hide show
  1. package/CHANGELOG.md +26 -118
  2. package/CLAUDE.md +170 -0
  3. package/README.md +14 -1
  4. package/core/agentic/agent-router.ts +0 -15
  5. package/core/agentic/command-executor.ts +5 -53
  6. package/core/agentic/index.ts +1 -11
  7. package/core/agentic/prompt-builder.ts +2 -83
  8. package/core/agentic/template-loader.ts +32 -107
  9. package/core/commands/command-data.ts +33 -0
  10. package/core/commands/commands.ts +12 -4
  11. package/core/commands/registry.ts +37 -0
  12. package/core/domain/agent-loader.ts +9 -7
  13. package/core/domain/context-estimator.ts +15 -15
  14. package/core/index.ts +2 -0
  15. package/core/infrastructure/config-manager.ts +4 -25
  16. package/core/infrastructure/setup.ts +182 -86
  17. package/core/integrations/issue-tracker/enricher.ts +281 -0
  18. package/core/integrations/issue-tracker/index.ts +8 -0
  19. package/core/integrations/issue-tracker/manager.ts +284 -0
  20. package/core/integrations/issue-tracker/types.ts +321 -0
  21. package/core/integrations/linear/client.ts +375 -0
  22. package/core/integrations/linear/index.ts +6 -0
  23. package/core/integrations/notion/client.ts +413 -0
  24. package/core/integrations/notion/index.ts +46 -0
  25. package/core/integrations/notion/setup.ts +235 -0
  26. package/core/integrations/notion/sync.ts +818 -0
  27. package/core/integrations/notion/templates.ts +246 -0
  28. package/core/plugin/builtin/notion.ts +178 -0
  29. package/core/schemas/enriched-task.ts +278 -0
  30. package/core/schemas/outcomes.ts +471 -14
  31. package/core/schemas/prd.ts +437 -0
  32. package/core/schemas/roadmap.ts +188 -4
  33. package/core/server/index.ts +1 -0
  34. package/core/server/routes-extended.ts +544 -0
  35. package/core/server/server.ts +10 -0
  36. package/core/session/session-log-manager.ts +0 -17
  37. package/core/types/config.ts +1 -1
  38. package/core/types/index.ts +2 -0
  39. package/core/types/integrations.ts +56 -20
  40. package/core/types/storage.ts +8 -0
  41. package/core/types/task.ts +4 -0
  42. package/dist/bin/prjct.mjs +1457 -765
  43. package/package.json +2 -1
  44. package/packages/shared/node_modules/@types/bun/LICENSE +21 -0
  45. package/packages/shared/node_modules/@types/bun/README.md +20 -0
  46. package/packages/shared/node_modules/@types/bun/index.d.ts +1 -0
  47. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/CLAUDE.md +105 -0
  48. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/README.md +33 -0
  49. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/bun.d.ts +7032 -0
  50. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/bun.ns.d.ts +5 -0
  51. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/bundle.d.ts +74 -0
  52. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/deprecated.d.ts +184 -0
  53. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/devserver.d.ts +187 -0
  54. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/README.md +28 -0
  55. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/bytecode.mdx +465 -0
  56. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/css.mdx +1024 -0
  57. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/esbuild.mdx +298 -0
  58. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/executables.mdx +1277 -0
  59. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/fullstack.mdx +1086 -0
  60. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/hot-reloading.mdx +229 -0
  61. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/html-static.mdx +488 -0
  62. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/index.mdx +1604 -0
  63. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/loaders.mdx +451 -0
  64. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/macros.mdx +328 -0
  65. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/minifier.mdx +1286 -0
  66. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/bundler/plugins.mdx +425 -0
  67. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/feedback.mdx +75 -0
  68. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-array.mdx +29 -0
  69. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-blob.mdx +26 -0
  70. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-buffer.mdx +27 -0
  71. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-string.mdx +17 -0
  72. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/arraybuffer-to-typedarray.mdx +41 -0
  73. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-arraybuffer.mdx +16 -0
  74. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-dataview.mdx +16 -0
  75. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-stream.mdx +16 -0
  76. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-string.mdx +17 -0
  77. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/blob-to-typedarray.mdx +16 -0
  78. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-arraybuffer.mdx +16 -0
  79. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-blob.mdx +16 -0
  80. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-readablestream.mdx +43 -0
  81. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-string.mdx +27 -0
  82. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/buffer-to-typedarray.mdx +16 -0
  83. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/dataview-to-string.mdx +17 -0
  84. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-arraybuffer.mdx +27 -0
  85. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-blob.mdx +18 -0
  86. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-buffer.mdx +16 -0
  87. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-dataview.mdx +16 -0
  88. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-readablestream.mdx +43 -0
  89. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/binary/typedarray-to-string.mdx +18 -0
  90. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/aws-lambda.mdx +204 -0
  91. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/digital-ocean.mdx +161 -0
  92. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/google-cloud-run.mdx +194 -0
  93. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/railway.mdx +145 -0
  94. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/render.mdx +82 -0
  95. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/deployment/vercel.mdx +97 -0
  96. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/astro.mdx +82 -0
  97. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/discordjs.mdx +80 -0
  98. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/docker.mdx +151 -0
  99. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/drizzle.mdx +195 -0
  100. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/elysia.mdx +31 -0
  101. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/express.mdx +43 -0
  102. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/gel.mdx +261 -0
  103. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/hono.mdx +47 -0
  104. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/mongoose.mdx +92 -0
  105. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/neon-drizzle.mdx +234 -0
  106. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/neon-serverless-postgres.mdx +60 -0
  107. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/nextjs.mdx +103 -0
  108. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/nuxt.mdx +96 -0
  109. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/pm2.mdx +55 -0
  110. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/prisma-postgres.mdx +169 -0
  111. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/prisma.mdx +164 -0
  112. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/qwik.mdx +114 -0
  113. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/react.mdx +52 -0
  114. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/remix.mdx +97 -0
  115. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/sentry.mdx +54 -0
  116. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/solidstart.mdx +62 -0
  117. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/ssr-react.mdx +49 -0
  118. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/stric.mdx +54 -0
  119. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/sveltekit.mdx +138 -0
  120. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/systemd.mdx +114 -0
  121. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/tanstack-start.mdx +791 -0
  122. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/upstash.mdx +87 -0
  123. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/ecosystem/vite.mdx +77 -0
  124. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/html-rewriter/extract-links.mdx +71 -0
  125. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/html-rewriter/extract-social-meta.mdx +97 -0
  126. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/cluster.mdx +69 -0
  127. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/fetch-unix.mdx +35 -0
  128. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/fetch.mdx +26 -0
  129. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/file-uploads.mdx +97 -0
  130. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/hot.mdx +28 -0
  131. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/proxy.mdx +50 -0
  132. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/server.mdx +48 -0
  133. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/simple.mdx +20 -0
  134. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/stream-file.mdx +50 -0
  135. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/stream-iterator.mdx +49 -0
  136. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/stream-node-streams-in-bun.mdx +22 -0
  137. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/http/tls.mdx +32 -0
  138. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/index.mdx +10 -0
  139. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-dev.mdx +28 -0
  140. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-git.mdx +40 -0
  141. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-optional.mdx +27 -0
  142. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-peer.mdx +45 -0
  143. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add-tarball.mdx +35 -0
  144. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/add.mdx +44 -0
  145. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/azure-artifacts.mdx +76 -0
  146. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/cicd.mdx +43 -0
  147. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/custom-registry.mdx +32 -0
  148. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/from-npm-install-to-bun-install.mdx +230 -0
  149. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/git-diff-bun-lockfile.mdx +48 -0
  150. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/jfrog-artifactory.mdx +28 -0
  151. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/npm-alias.mdx +25 -0
  152. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/registry-scope.mdx +40 -0
  153. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/trusted.mdx +52 -0
  154. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/workspaces.mdx +70 -0
  155. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/install/yarnlock.mdx +51 -0
  156. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/argv.mdx +66 -0
  157. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/ctrl-c.mdx +18 -0
  158. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/ipc.mdx +69 -0
  159. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/nanoseconds.mdx +15 -0
  160. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/os-signals.mdx +31 -0
  161. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/spawn-stderr.mdx +34 -0
  162. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/spawn-stdout.mdx +28 -0
  163. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/spawn.mdx +43 -0
  164. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/process/stdin.mdx +62 -0
  165. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/arraybuffer.mdx +30 -0
  166. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/buffer.mdx +21 -0
  167. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/exists.mdx +18 -0
  168. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/json.mdx +19 -0
  169. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/mime.mdx +22 -0
  170. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/stream.mdx +28 -0
  171. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/string.mdx +24 -0
  172. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/uint8array.mdx +23 -0
  173. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/read-file/watch.mdx +66 -0
  174. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/build-time-constants.mdx +295 -0
  175. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/cicd.mdx +45 -0
  176. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/codesign-macos-executable.mdx +61 -0
  177. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/define-constant.mdx +149 -0
  178. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/delete-directory.mdx +39 -0
  179. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/delete-file.mdx +21 -0
  180. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/heap-snapshot.mdx +28 -0
  181. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-html.mdx +15 -0
  182. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-json.mdx +46 -0
  183. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-toml.mdx +32 -0
  184. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/import-yaml.mdx +104 -0
  185. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/read-env.mdx +37 -0
  186. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/set-env.mdx +51 -0
  187. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/shell.mdx +42 -0
  188. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/timezone.mdx +38 -0
  189. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/tsconfig-paths.mdx +31 -0
  190. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/typescript.mdx +51 -0
  191. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/vscode-debugger.mdx +47 -0
  192. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/runtime/web-debugger.mdx +103 -0
  193. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-arraybuffer.mdx +13 -0
  194. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-blob.mdx +13 -0
  195. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-json.mdx +14 -0
  196. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-string.mdx +14 -0
  197. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/node-readable-to-uint8array.mdx +13 -0
  198. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-array.mdx +16 -0
  199. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-arraybuffer.mdx +16 -0
  200. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-blob.mdx +16 -0
  201. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-buffer.mdx +17 -0
  202. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-json.mdx +16 -0
  203. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-string.mdx +16 -0
  204. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/streams/to-typedarray.mdx +24 -0
  205. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/bail.mdx +24 -0
  206. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/concurrent-test-glob.mdx +146 -0
  207. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/coverage-threshold.mdx +67 -0
  208. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/coverage.mdx +49 -0
  209. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/happy-dom.mdx +73 -0
  210. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/migrate-from-jest.mdx +125 -0
  211. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/mock-clock.mdx +50 -0
  212. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/mock-functions.mdx +70 -0
  213. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/rerun-each.mdx +16 -0
  214. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/run-tests.mdx +116 -0
  215. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/skip-tests.mdx +43 -0
  216. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/snapshot.mdx +102 -0
  217. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/spy-on.mdx +49 -0
  218. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/svelte-test.mdx +113 -0
  219. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/testing-library.mdx +93 -0
  220. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/timeout.mdx +17 -0
  221. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/todo-tests.mdx +74 -0
  222. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/update-snapshots.mdx +49 -0
  223. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/test/watch-mode.mdx +24 -0
  224. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/base64.mdx +17 -0
  225. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/deep-equals.mdx +41 -0
  226. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/deflate.mdx +20 -0
  227. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/detect-bun.mdx +28 -0
  228. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/entrypoint.mdx +19 -0
  229. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/escape-html.mdx +24 -0
  230. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/file-url-to-path.mdx +16 -0
  231. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/gzip.mdx +20 -0
  232. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/hash-a-password.mdx +56 -0
  233. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/import-meta-dir.mdx +15 -0
  234. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/import-meta-file.mdx +15 -0
  235. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/import-meta-path.mdx +15 -0
  236. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/javascript-uuid.mdx +25 -0
  237. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/main.mdx +43 -0
  238. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/path-to-file-url.mdx +16 -0
  239. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/sleep.mdx +24 -0
  240. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/upgrade.mdx +93 -0
  241. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/version.mdx +23 -0
  242. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/util/which-path-to-executable-bin.mdx +17 -0
  243. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/compression.mdx +33 -0
  244. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/context.mdx +79 -0
  245. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/pubsub.mdx +43 -0
  246. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/websocket/simple.mdx +38 -0
  247. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/append.mdx +54 -0
  248. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/basic.mdx +46 -0
  249. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/blob.mdx +30 -0
  250. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/cat.mdx +19 -0
  251. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/file-cp.mdx +18 -0
  252. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/filesink.mdx +54 -0
  253. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/response.mdx +19 -0
  254. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/stdout.mdx +23 -0
  255. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/stream.mdx +19 -0
  256. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/guides/write-file/unlink.mdx +18 -0
  257. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/index.mdx +133 -0
  258. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/installation.mdx +365 -0
  259. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/bunx.mdx +91 -0
  260. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/catalogs.mdx +292 -0
  261. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/add.mdx +179 -0
  262. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/audit.mdx +60 -0
  263. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/info.mdx +70 -0
  264. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/install.mdx +606 -0
  265. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/link.mdx +61 -0
  266. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/outdated.mdx +197 -0
  267. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/patch.mdx +69 -0
  268. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/pm.mdx +323 -0
  269. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/publish.mdx +131 -0
  270. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/remove.mdx +16 -0
  271. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/update.mdx +140 -0
  272. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/cli/why.mdx +84 -0
  273. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/filter.mdx +102 -0
  274. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/global-cache.mdx +72 -0
  275. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/isolated-installs.mdx +220 -0
  276. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/lifecycle.mdx +64 -0
  277. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/lockfile.mdx +64 -0
  278. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/npmrc.mdx +111 -0
  279. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/overrides.mdx +83 -0
  280. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/scopes-registries.mdx +35 -0
  281. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/security-scanner-api.mdx +95 -0
  282. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/pm/workspaces.mdx +115 -0
  283. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/benchmarking.mdx +241 -0
  284. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/bindgen.mdx +223 -0
  285. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/building-windows.mdx +133 -0
  286. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/contributing.mdx +388 -0
  287. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/feedback.mdx +20 -0
  288. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/license.mdx +78 -0
  289. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/project/roadmap.mdx +8 -0
  290. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/quickstart.mdx +251 -0
  291. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/auto-install.mdx +97 -0
  292. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/binary-data.mdx +846 -0
  293. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/bun-apis.mdx +59 -0
  294. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/bunfig.mdx +723 -0
  295. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/c-compiler.mdx +204 -0
  296. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/child-process.mdx +659 -0
  297. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/color.mdx +267 -0
  298. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/console.mdx +67 -0
  299. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/cookies.mdx +454 -0
  300. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/debugger.mdx +335 -0
  301. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/environment-variables.mdx +231 -0
  302. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/ffi.mdx +565 -0
  303. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/file-io.mdx +306 -0
  304. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/file-system-router.mdx +118 -0
  305. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/file-types.mdx +435 -0
  306. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/glob.mdx +181 -0
  307. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/globals.mdx +72 -0
  308. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/hashing.mdx +315 -0
  309. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/html-rewriter.mdx +333 -0
  310. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/cookies.mdx +79 -0
  311. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/error-handling.mdx +40 -0
  312. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/metrics.mdx +36 -0
  313. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/routing.mdx +289 -0
  314. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/server.mdx +645 -0
  315. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/tls.mdx +101 -0
  316. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/http/websockets.mdx +414 -0
  317. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/index.mdx +223 -0
  318. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/jsx.mdx +115 -0
  319. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/module-resolution.mdx +374 -0
  320. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/dns.mdx +111 -0
  321. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/fetch.mdx +484 -0
  322. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/tcp.mdx +239 -0
  323. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/networking/udp.mdx +129 -0
  324. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/node-api.mdx +19 -0
  325. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/nodejs-compat.mdx +468 -0
  326. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/plugins.mdx +419 -0
  327. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/redis.mdx +583 -0
  328. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/s3.mdx +863 -0
  329. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/secrets.mdx +340 -0
  330. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/semver.mdx +57 -0
  331. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/shell.mdx +637 -0
  332. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/sql.mdx +1404 -0
  333. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/sqlite.mdx +721 -0
  334. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/streams.mdx +232 -0
  335. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/templating/create.mdx +269 -0
  336. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/templating/init.mdx +58 -0
  337. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/transpiler.mdx +288 -0
  338. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/typescript.mdx +58 -0
  339. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/utils.mdx +922 -0
  340. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/watch-mode.mdx +161 -0
  341. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/web-apis.mdx +29 -0
  342. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/workers.mdx +314 -0
  343. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/runtime/yaml.mdx +469 -0
  344. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/add.mdx +166 -0
  345. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/build.mdx +196 -0
  346. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/bunx.mdx +49 -0
  347. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/feedback.mdx +17 -0
  348. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/init.mdx +84 -0
  349. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/install.mdx +173 -0
  350. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/link.mdx +163 -0
  351. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/outdated.mdx +140 -0
  352. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/patch.mdx +171 -0
  353. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/publish.mdx +198 -0
  354. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/remove.mdx +146 -0
  355. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/run.mdx +293 -0
  356. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/test.mdx +100 -0
  357. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/snippets/cli/update.mdx +144 -0
  358. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/code-coverage.mdx +409 -0
  359. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/configuration.mdx +514 -0
  360. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/dates-times.mdx +129 -0
  361. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/discovery.mdx +90 -0
  362. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/dom.mdx +226 -0
  363. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/index.mdx +380 -0
  364. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/lifecycle.mdx +366 -0
  365. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/mocks.mdx +637 -0
  366. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/reporters.mdx +126 -0
  367. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/runtime-behavior.mdx +342 -0
  368. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/snapshots.mdx +434 -0
  369. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/test/writing-tests.mdx +672 -0
  370. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/docs/typescript.mdx +54 -0
  371. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/extensions.d.ts +35 -0
  372. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/fetch.d.ts +79 -0
  373. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/ffi.d.ts +1154 -0
  374. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/globals.d.ts +2067 -0
  375. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/html-rewriter.d.ts +186 -0
  376. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/index.d.ts +32 -0
  377. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/jsc.d.ts +233 -0
  378. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/overrides.d.ts +376 -0
  379. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/package.json +37 -0
  380. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/redis.d.ts +3352 -0
  381. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/s3.d.ts +1299 -0
  382. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/security.d.ts +101 -0
  383. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/serve.d.ts +1296 -0
  384. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/shell.d.ts +380 -0
  385. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/sql.d.ts +887 -0
  386. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/sqlite.d.ts +1321 -0
  387. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/test-globals.d.ts +22 -0
  388. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/test.d.ts +2391 -0
  389. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/branding.d.ts +283 -0
  390. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/index.d.ts +1207 -0
  391. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/messages.d.ts +395 -0
  392. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/overloads.d.ts +669 -0
  393. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/vendor/expect-type/utils.d.ts +431 -0
  394. package/packages/shared/node_modules/@types/bun/node_modules/bun-types/wasm.d.ts +193 -0
  395. package/packages/shared/node_modules/@types/bun/package.json +53 -0
  396. package/scripts/postinstall.js +69 -0
  397. package/templates/agentic/agents/uxui.md +218 -0
  398. package/templates/agentic/subagent-generation.md +81 -241
  399. package/templates/commands/cleanup.md +0 -5
  400. package/templates/commands/dashboard.md +686 -0
  401. package/templates/commands/enrich.md +345 -0
  402. package/templates/commands/feature.md +46 -0
  403. package/templates/commands/impact.md +864 -0
  404. package/templates/commands/init.md +44 -1
  405. package/templates/commands/linear.md +287 -0
  406. package/templates/commands/now.md +53 -0
  407. package/templates/commands/plan.md +696 -0
  408. package/templates/commands/prd.md +356 -0
  409. package/templates/commands/ship.md +81 -111
  410. package/templates/commands/sync.md +640 -154
  411. package/templates/commands/task.md +128 -55
  412. package/templates/context/dashboard.md +256 -0
  413. package/templates/context/roadmap.md +221 -0
  414. package/templates/global/CLAUDE.md +35 -166
  415. package/templates/mcp-config.json +46 -23
  416. package/templates/skills/notion-push.md +116 -0
  417. package/templates/skills/notion-setup.md +199 -0
  418. package/templates/skills/notion-sync.md +290 -0
  419. package/templates/subagents/domain/backend.md +106 -0
  420. package/templates/subagents/domain/database.md +118 -0
  421. package/templates/subagents/domain/devops.md +149 -0
  422. package/templates/subagents/domain/frontend.md +100 -0
  423. package/templates/subagents/domain/testing.md +166 -0
  424. package/templates/subagents/pm-expert.md +366 -0
  425. package/templates/subagents/workflow/chief-architect.md +657 -0
  426. package/core/agentic/token-estimator.ts +0 -264
  427. package/core/infrastructure/slash-command-registry.ts +0 -176
  428. package/templates/guides/agent-generation.md +0 -164
  429. package/templates/guides/integrations.md +0 -149
  430. package/templates/shared/validation.md +0 -75
@@ -0,0 +1,606 @@
1
+ ---
2
+ title: "bun install"
3
+ description: "Install packages with Bun's fast package manager"
4
+ ---
5
+
6
+ import Install from "/snippets/cli/install.mdx";
7
+
8
+ ## Basic Usage
9
+
10
+ ```bash terminal icon="terminal"
11
+ bun install react
12
+ bun install react@19.1.1 # specific version
13
+ bun install react@latest # specific tag
14
+ ```
15
+
16
+ The `bun` CLI contains a Node.js-compatible package manager designed to be a dramatically faster replacement for `npm`, `yarn`, and `pnpm`. It's a standalone tool that will work in pre-existing Node.js projects; if your project has a `package.json`, `bun install` can help you speed up your workflow.
17
+
18
+ <Note>
19
+
20
+ **⚡️ 25x faster** — Switch from `npm install` to `bun install` in any Node.js project to make your installations up to 25x faster.
21
+
22
+ <Frame>
23
+ ![Bun installation speed
24
+ comparison](https://user-images.githubusercontent.com/709451/147004342-571b6123-17a9-49a2-8bfd-dcfc5204047e.png)
25
+ </Frame>
26
+
27
+ </Note>
28
+
29
+ <Accordion title="For Linux users">
30
+ The recommended minimum Linux Kernel version is 5.6. If you're on Linux kernel 5.1 - 5.5, `bun install` will work, but HTTP requests will be slow due to a lack of support for io_uring's `connect()` operation.
31
+
32
+ If you're using Ubuntu 20.04, here's how to install a [newer kernel](https://wiki.ubuntu.com/Kernel/LTSEnablementStack):
33
+
34
+ ```bash terminal icon="terminal"
35
+ # If this returns a version >= 5.6, you don't need to do anything
36
+ uname -r
37
+
38
+ # Install the official Ubuntu hardware enablement kernel
39
+ sudo apt install --install-recommends linux-generic-hwe-20.04
40
+ ```
41
+
42
+ </Accordion>
43
+
44
+ To install all dependencies of a project:
45
+
46
+ ```bash terminal icon="terminal"
47
+ bun install
48
+ ```
49
+
50
+ Running `bun install` will:
51
+
52
+ - **Install** all `dependencies`, `devDependencies`, and `optionalDependencies`. Bun will install `peerDependencies` by default.
53
+ - **Run** your project's `{pre|post}install` and `{pre|post}prepare` scripts at the appropriate time. For security reasons Bun _does not execute_ lifecycle scripts of installed dependencies.
54
+ - **Write** a `bun.lock` lockfile to the project root.
55
+
56
+ ---
57
+
58
+ ## Logging
59
+
60
+ To modify logging verbosity:
61
+
62
+ ```bash terminal icon="terminal"
63
+ bun install --verbose # debug logging
64
+ bun install --silent # no logging
65
+ ```
66
+
67
+ ---
68
+
69
+ ## Lifecycle scripts
70
+
71
+ Unlike other npm clients, Bun does not execute arbitrary lifecycle scripts like `postinstall` for installed dependencies. Executing arbitrary scripts represents a potential security risk.
72
+
73
+ To tell Bun to allow lifecycle scripts for a particular package, add the package to `trustedDependencies` in your package.json.
74
+
75
+ ```json package.json icon="file-json"
76
+ {
77
+ "name": "my-app",
78
+ "version": "1.0.0",
79
+ "trustedDependencies": ["my-trusted-package"] // [!code ++]
80
+ }
81
+ ```
82
+
83
+ Then re-install the package. Bun will read this field and run lifecycle scripts for `my-trusted-package`.
84
+
85
+ Lifecycle scripts will run in parallel during installation. To adjust the maximum number of concurrent scripts, use the `--concurrent-scripts` flag. The default is two times the reported cpu count or GOMAXPROCS.
86
+
87
+ ```bash terminal icon="terminal"
88
+ bun install --concurrent-scripts 5
89
+ ```
90
+
91
+ Bun automatically optimizes postinstall scripts for popular packages (like `esbuild`, `sharp`, etc.) by determining which scripts need to run. To disable these optimizations:
92
+
93
+ ```bash terminal icon="terminal"
94
+ BUN_FEATURE_FLAG_DISABLE_NATIVE_DEPENDENCY_LINKER=1 bun install
95
+ BUN_FEATURE_FLAG_DISABLE_IGNORE_SCRIPTS=1 bun install
96
+ ```
97
+
98
+ ---
99
+
100
+ ## Workspaces
101
+
102
+ Bun supports `"workspaces"` in package.json. For complete documentation refer to [Package manager > Workspaces](/docs/pm/workspaces).
103
+
104
+ ```json package.json icon="file-json"
105
+ {
106
+ "name": "my-app",
107
+ "version": "1.0.0",
108
+ "workspaces": ["packages/*"], // [!code ++]
109
+ "dependencies": {
110
+ "preact": "^10.5.13"
111
+ }
112
+ }
113
+ ```
114
+
115
+ ---
116
+
117
+ ## Installing dependencies for specific packages
118
+
119
+ In a monorepo, you can install the dependencies for a subset of packages using the `--filter` flag.
120
+
121
+ ```bash terminal icon="terminal"
122
+ # Install dependencies for all workspaces except `pkg-c`
123
+ bun install --filter '!pkg-c'
124
+
125
+ # Install dependencies for only `pkg-a` in `./packages/pkg-a`
126
+ bun install --filter './packages/pkg-a'
127
+ ```
128
+
129
+ For more information on filtering with `bun install`, refer to [Package Manager > Filtering](/docs/pm/filter#bun-install-and-bun-outdated)
130
+
131
+ ---
132
+
133
+ ## Overrides and resolutions
134
+
135
+ Bun supports npm's `"overrides"` and Yarn's `"resolutions"` in `package.json`. These are mechanisms for specifying a version range for _metadependencies_—the dependencies of your dependencies. Refer to [Package manager > Overrides and resolutions](/docs/pm/overrides) for complete documentation.
136
+
137
+ {/* prettier-ignore */}
138
+ ```json package.json icon="file-json"
139
+ {
140
+ "name": "my-app",
141
+ "dependencies": {
142
+ "foo": "^2.0.0"
143
+ },
144
+ "overrides": { // [!code ++]
145
+ "bar": "~4.4.0" // [!code ++]
146
+ } // [!code ++]
147
+ }
148
+ ```
149
+
150
+ ---
151
+
152
+ ## Global packages
153
+
154
+ To install a package globally, use the `-g`/`--global` flag. Typically this is used for installing command-line tools.
155
+
156
+ ```bash terminal icon="terminal"
157
+ bun install --global cowsay # or `bun install -g cowsay`
158
+ cowsay "Bun!"
159
+ ```
160
+
161
+ ```txt
162
+ ______
163
+ < Bun! >
164
+ ------
165
+ \ ^__^
166
+ \ (oo)\_______
167
+ (__)\ )\/\
168
+ ||----w |
169
+ || ||
170
+ ```
171
+
172
+ ---
173
+
174
+ ## Production mode
175
+
176
+ To install in production mode (i.e. without `devDependencies` or `optionalDependencies`):
177
+
178
+ ```bash terminal icon="terminal"
179
+ bun install --production
180
+ ```
181
+
182
+ For reproducible installs, use `--frozen-lockfile`. This will install the exact versions of each package specified in the lockfile. If your `package.json` disagrees with `bun.lock`, Bun will exit with an error. The lockfile will not be updated.
183
+
184
+ ```bash terminal icon="terminal"
185
+ bun install --frozen-lockfile
186
+ ```
187
+
188
+ For more information on Bun's lockfile `bun.lock`, refer to [Package manager > Lockfile](/docs/pm/lockfile).
189
+
190
+ ---
191
+
192
+ ## Omitting dependencies
193
+
194
+ To omit dev, peer, or optional dependencies use the `--omit` flag.
195
+
196
+ ```bash terminal icon="terminal"
197
+ # Exclude "devDependencies" from the installation. This will apply to the
198
+ # root package and workspaces if they exist. Transitive dependencies will
199
+ # not have "devDependencies".
200
+ bun install --omit dev
201
+
202
+ # Install only dependencies from "dependencies"
203
+ bun install --omit=dev --omit=peer --omit=optional
204
+ ```
205
+
206
+ ---
207
+
208
+ ## Dry run
209
+
210
+ To perform a dry run (i.e. don't actually install anything):
211
+
212
+ ```bash terminal icon="terminal"
213
+ bun install --dry-run
214
+ ```
215
+
216
+ ---
217
+
218
+ ## Non-npm dependencies
219
+
220
+ Bun supports installing dependencies from Git, GitHub, and local or remotely-hosted tarballs. For complete documentation refer to [Package manager > Git, GitHub, and tarball dependencies](/docs/pm/cli/add).
221
+
222
+ ```json package.json icon="file-json"
223
+ {
224
+ "dependencies": {
225
+ "dayjs": "git+https://github.com/iamkun/dayjs.git",
226
+ "lodash": "git+ssh://github.com/lodash/lodash.git#4.17.21",
227
+ "moment": "git@github.com:moment/moment.git",
228
+ "zod": "github:colinhacks/zod",
229
+ "react": "https://registry.npmjs.org/react/-/react-18.2.0.tgz",
230
+ "bun-types": "npm:@types/bun"
231
+ }
232
+ }
233
+ ```
234
+
235
+ ---
236
+
237
+ ## Installation strategies
238
+
239
+ Bun supports two package installation strategies that determine how dependencies are organized in `node_modules`:
240
+
241
+ ### Hoisted installs
242
+
243
+ The traditional npm/Yarn approach that flattens dependencies into a shared `node_modules` directory:
244
+
245
+ ```bash terminal icon="terminal"
246
+ bun install --linker hoisted
247
+ ```
248
+
249
+ ### Isolated installs
250
+
251
+ A pnpm-like approach that creates strict dependency isolation to prevent phantom dependencies:
252
+
253
+ ```bash terminal icon="terminal"
254
+ bun install --linker isolated
255
+ ```
256
+
257
+ Isolated installs create a central package store in `node_modules/.bun/` with symlinks in the top-level `node_modules`. This ensures packages can only access their declared dependencies.
258
+
259
+ ### Default strategy
260
+
261
+ The default linker strategy depends on whether you're starting fresh or have an existing project:
262
+
263
+ - **New workspaces/monorepos**: `isolated` (prevents phantom dependencies)
264
+ - **New single-package projects**: `hoisted` (traditional npm behavior)
265
+ - **Existing projects (made pre-v1.3.2)**: `hoisted` (preserves backward compatibility)
266
+
267
+ The default is controlled by a `configVersion` field in your lockfile. For a detailed explanation, see [Package manager > Isolated installs](/docs/pm/isolated-installs).
268
+
269
+ ---
270
+
271
+ ## Minimum release age
272
+
273
+ To protect against supply chain attacks where malicious packages are quickly published, you can configure a minimum age requirement for npm packages. Package versions published more recently than the specified threshold (in seconds) will be filtered out during installation.
274
+
275
+ ```bash terminal icon="terminal"
276
+ # Only install package versions published at least 3 days ago
277
+ bun add @types/bun --minimum-release-age 259200 # seconds
278
+ ```
279
+
280
+ You can also configure this in `bunfig.toml`:
281
+
282
+ ```toml bunfig.toml icon="settings"
283
+ [install]
284
+ # Only install package versions published at least 3 days ago
285
+ minimumReleaseAge = 259200 # seconds
286
+
287
+ # Exclude trusted packages from the age gate
288
+ minimumReleaseAgeExcludes = ["@types/node", "typescript"]
289
+ ```
290
+
291
+ When the minimum age filter is active:
292
+
293
+ - Only affects new package resolution - existing packages in `bun.lock` remain unchanged
294
+ - All dependencies (direct and transitive) are filtered to meet the age requirement when being resolved
295
+ - When versions are blocked by the age gate, a stability check detects rapid bugfix patterns
296
+ - If multiple versions were published close together just outside your age gate, it extends the filter to skip those potentially unstable versions and selects an older, more mature version
297
+ - Searches up to 7 days after the age gate, however if still finding rapid releases it ignores stability check
298
+ - Exact version requests (like `package@1.1.1`) still respect the age gate but bypass the stability check
299
+ - Versions without a `time` field are treated as passing the age check (npm registry should always provide timestamps)
300
+
301
+ For more advanced security scanning, including integration with services & custom filtering, see [Package manager > Security Scanner API](/docs/pm/security-scanner-api).
302
+
303
+ ---
304
+
305
+ ## Configuration
306
+
307
+ ### Configuring `bun install` with `bunfig.toml`
308
+
309
+ `bunfig.toml` is searched for in the following paths on `bun install`, `bun remove`, and `bun add`:
310
+
311
+ 1. `$XDG_CONFIG_HOME/.bunfig.toml` or `$HOME/.bunfig.toml`
312
+ 2. `./bunfig.toml`
313
+
314
+ If both are found, the results are merged together.
315
+
316
+ Configuring with `bunfig.toml` is optional. Bun tries to be zero configuration in general, but that's not always possible. The default behavior of `bun install` can be configured in `bunfig.toml`. The default values are shown below.
317
+
318
+ ```toml bunfig.toml icon="settings"
319
+ [install]
320
+
321
+ # whether to install optionalDependencies
322
+ optional = true
323
+
324
+ # whether to install devDependencies
325
+ dev = true
326
+
327
+ # whether to install peerDependencies
328
+ peer = true
329
+
330
+ # equivalent to `--production` flag
331
+ production = false
332
+
333
+ # equivalent to `--save-text-lockfile` flag
334
+ saveTextLockfile = false
335
+
336
+ # equivalent to `--frozen-lockfile` flag
337
+ frozenLockfile = false
338
+
339
+ # equivalent to `--dry-run` flag
340
+ dryRun = false
341
+
342
+ # equivalent to `--concurrent-scripts` flag
343
+ concurrentScripts = 16 # (cpu count or GOMAXPROCS) x2
344
+
345
+ # installation strategy: "hoisted" or "isolated"
346
+ # default depends on lockfile configVersion and workspaces:
347
+ # - configVersion = 1: "isolated" if using workspaces, otherwise "hoisted"
348
+ # - configVersion = 0: "hoisted"
349
+ linker = "hoisted"
350
+
351
+
352
+ # minimum age config
353
+ minimumReleaseAge = 259200 # seconds
354
+ minimumReleaseAgeExcludes = ["@types/node", "typescript"]
355
+ ```
356
+
357
+ ### Configuring with environment variables
358
+
359
+ Environment variables have a higher priority than `bunfig.toml`.
360
+
361
+ | Name | Description |
362
+ | ---------------------------------- | ------------------------------------------------------------- |
363
+ | `BUN_CONFIG_REGISTRY` | Set an npm registry (default: https://registry.npmjs.org) |
364
+ | `BUN_CONFIG_TOKEN` | Set an auth token (currently does nothing) |
365
+ | `BUN_CONFIG_YARN_LOCKFILE` | Save a Yarn v1-style yarn.lock |
366
+ | `BUN_CONFIG_LINK_NATIVE_BINS` | Point `bin` in package.json to a platform-specific dependency |
367
+ | `BUN_CONFIG_SKIP_SAVE_LOCKFILE` | Don’t save a lockfile |
368
+ | `BUN_CONFIG_SKIP_LOAD_LOCKFILE` | Don’t load a lockfile |
369
+ | `BUN_CONFIG_SKIP_INSTALL_PACKAGES` | Don’t install any packages |
370
+
371
+ Bun always tries to use the fastest available installation method for the target platform. On macOS, that’s `clonefile` and on Linux, that’s `hardlink`. You can change which installation method is used with the `--backend` flag. When unavailable or on error, `clonefile` and `hardlink` fallsback to a platform-specific implementation of copying files.
372
+
373
+ Bun stores installed packages from npm in `~/.bun/install/cache/${name}@${version}`. Note that if the semver version has a `build` or a `pre` tag, it is replaced with a hash of that value instead. This is to reduce the chances of errors from long file paths, but unfortunately complicates figuring out where a package was installed on disk.
374
+
375
+ When the `node_modules` folder exists, before installing, Bun checks if the `"name"` and `"version"` in `package/package.json` in the expected node_modules folder matches the expected `name` and `version`. This is how it determines whether it should install. It uses a custom JSON parser which stops parsing as soon as it finds `"name"` and `"version"`.
376
+
377
+ When a `bun.lock` doesn’t exist or `package.json` has changed dependencies, tarballs are downloaded & extracted eagerly while resolving.
378
+
379
+ When a `bun.lock` exists and `package.json` hasn’t changed, Bun downloads missing dependencies lazily. If the package with a matching `name` & `version` already exists in the expected location within `node_modules`, Bun won’t attempt to download the tarball.
380
+
381
+ ## CI/CD
382
+
383
+ Use the official [`oven-sh/setup-bun`](https://github.com/oven-sh/setup-bun) action to install `bun` in a GitHub Actions pipeline:
384
+
385
+ ```yaml .github/workflows/release.yml icon="file-code"
386
+ name: bun-types
387
+ jobs:
388
+ build:
389
+ name: build-app
390
+ runs-on: ubuntu-latest
391
+ steps:
392
+ - name: Checkout repo
393
+ uses: actions/checkout@v4
394
+ - name: Install bun
395
+ uses: oven-sh/setup-bun@v2
396
+ - name: Install dependencies
397
+ run: bun install
398
+ - name: Build app
399
+ run: bun run build
400
+ ```
401
+
402
+ For CI/CD environments that want to enforce reproducible builds, use `bun ci` to fail the build if the package.json is out of sync with the lockfile:
403
+
404
+ ```bash terminal icon="terminal"
405
+ bun ci
406
+ ```
407
+
408
+ This is equivalent to `bun install --frozen-lockfile`. It installs exact versions from `bun.lock` and fails if `package.json` doesn't match the lockfile. To use `bun ci` or `bun install --frozen-lockfile`, you must commit `bun.lock` to version control.
409
+
410
+ And instead of running `bun install`, run `bun ci`.
411
+
412
+ ```yaml .github/workflows/release.yml icon="file-code"
413
+ name: bun-types
414
+ jobs:
415
+ build:
416
+ name: build-app
417
+ runs-on: ubuntu-latest
418
+ steps:
419
+ - name: Checkout repo
420
+ uses: actions/checkout@v4
421
+ - name: Install bun
422
+ uses: oven-sh/setup-bun@v2
423
+ - name: Install dependencies
424
+ run: bun ci
425
+ - name: Build app
426
+ run: bun run build
427
+ ```
428
+
429
+ ## Platform-specific dependencies?
430
+
431
+ bun stores normalized `cpu` and `os` values from npm in the lockfile, along with the resolved packages. It skips downloading, extracting, and installing packages disabled for the current target at runtime. This means the lockfile won't change between platforms/architectures even if the packages ultimately installed do change.
432
+
433
+ ### `--cpu` and `--os` flags
434
+
435
+ You can override the target platform for package selection:
436
+
437
+ ```bash
438
+ bun install --cpu=x64 --os=linux
439
+ ```
440
+
441
+ This installs packages for the specified platform instead of the current system. Useful for cross-platform builds or when preparing deployments for different environments.
442
+
443
+ **Accepted values for `--cpu`**: `arm64`, `x64`, `ia32`, `ppc64`, `s390x`
444
+
445
+ **Accepted values for `--os`**: `linux`, `darwin`, `win32`, `freebsd`, `openbsd`, `sunos`, `aix`
446
+
447
+ ## Peer dependencies?
448
+
449
+ Peer dependencies are handled similarly to yarn. `bun install` will automatically install peer dependencies. If the dependency is marked optional in `peerDependenciesMeta`, an existing dependency will be chosen if possible.
450
+
451
+ ## Lockfile
452
+
453
+ `bun.lock` is Bun’s lockfile format. See [our blogpost about the text lockfile](https://bun.com/blog/bun-lock-text-lockfile).
454
+
455
+ Prior to Bun 1.2, the lockfile was binary and called `bun.lockb`. Old lockfiles can be upgraded to the new format by running `bun install --save-text-lockfile --frozen-lockfile --lockfile-only`, and then deleting `bun.lockb`.
456
+
457
+ ## Cache
458
+
459
+ To delete the cache:
460
+
461
+ ```bash
462
+ bun pm cache rm
463
+ # or
464
+ rm -rf ~/.bun/install/cache
465
+ ```
466
+
467
+ ## Platform-specific backends
468
+
469
+ `bun install` uses different system calls to install dependencies depending on the platform. This is a performance optimization. You can force a specific backend with the `--backend` flag.
470
+
471
+ **`hardlink`** is the default backend on Linux. Benchmarking showed it to be the fastest on Linux.
472
+
473
+ ```bash
474
+ rm -rf node_modules
475
+ bun install --backend hardlink
476
+ ```
477
+
478
+ **`clonefile`** is the default backend on macOS. Benchmarking showed it to be the fastest on macOS. It is only available on macOS.
479
+
480
+ ```bash
481
+ rm -rf node_modules
482
+ bun install --backend clonefile
483
+ ```
484
+
485
+ **`clonefile_each_dir`** is similar to `clonefile`, except it clones each file individually per directory. It is only available on macOS and tends to perform slower than `clonefile`. Unlike `clonefile`, this does not recursively clone subdirectories in one system call.
486
+
487
+ ```bash
488
+ rm -rf node_modules
489
+ bun install --backend clonefile_each_dir
490
+ ```
491
+
492
+ **`copyfile`** is the fallback used when any of the above fail, and is the slowest. on macOS, it uses `fcopyfile()` and on linux it uses `copy_file_range()`.
493
+
494
+ ```bash
495
+ rm -rf node_modules
496
+ bun install --backend copyfile
497
+ ```
498
+
499
+ **`symlink`** is typically only used for `file:` dependencies (and eventually `link:`) internally. To prevent infinite loops, it skips symlinking the `node_modules` folder.
500
+
501
+ If you install with `--backend=symlink`, Node.js won't resolve node_modules of dependencies unless each dependency has its own node_modules folder or you pass `--preserve-symlinks` to `node` or `bun`. See [Node.js documentation on `--preserve-symlinks`](https://nodejs.org/api/cli.html#--preserve-symlinks).
502
+
503
+ ```bash
504
+ rm -rf node_modules
505
+ bun install --backend symlink
506
+ bun --preserve-symlinks ./my-file.js
507
+ node --preserve-symlinks ./my-file.js # https://nodejs.org/api/cli.html#--preserve-symlinks
508
+ ```
509
+
510
+ ## npm registry metadata
511
+
512
+ Bun uses a binary format for caching NPM registry responses. This loads much faster than JSON and tends to be smaller on disk.
513
+ You will see these files in `~/.bun/install/cache/*.npm`. The filename pattern is `${hash(packageName)}.npm`. It’s a hash so that extra directories don’t need to be created for scoped packages.
514
+
515
+ Bun's usage of `Cache-Control` ignores `Age`. This improves performance, but means bun may be about 5 minutes out of date to receive the latest package version metadata from npm.
516
+
517
+ ## pnpm migration
518
+
519
+ Bun automatically migrates projects from pnpm to bun. When a `pnpm-lock.yaml` file is detected and no `bun.lock` file exists, Bun will automatically migrate the lockfile to `bun.lock` during installation. The original `pnpm-lock.yaml` file remains unmodified.
520
+
521
+ ```bash terminal icon="terminal"
522
+ bun install
523
+ ```
524
+
525
+ **Note**: Migration only runs when `bun.lock` is absent. There is currently no opt-out flag for pnpm migration.
526
+
527
+ The migration process handles:
528
+
529
+ ### Lockfile Migration
530
+
531
+ - Converts `pnpm-lock.yaml` to `bun.lock` format
532
+ - Preserves package versions and resolution information
533
+ - Maintains dependency relationships and peer dependencies
534
+ - Handles patched dependencies with integrity hashes
535
+
536
+ ### Workspace Configuration
537
+
538
+ When a `pnpm-workspace.yaml` file exists, Bun migrates workspace settings to your root `package.json`:
539
+
540
+ ```yaml pnpm-workspace.yaml icon="file-code"
541
+ packages:
542
+ - "apps/*"
543
+ - "packages/*"
544
+
545
+ catalog:
546
+ react: ^18.0.0
547
+ typescript: ^5.0.0
548
+
549
+ catalogs:
550
+ build:
551
+ webpack: ^5.0.0
552
+ babel: ^7.0.0
553
+ ```
554
+
555
+ The workspace packages list and catalogs are moved to the `workspaces` field in `package.json`:
556
+
557
+ ```json package.json icon="file-json"
558
+ {
559
+ "workspaces": {
560
+ "packages": ["apps/*", "packages/*"],
561
+ "catalog": {
562
+ "react": "^18.0.0",
563
+ "typescript": "^5.0.0"
564
+ },
565
+ "catalogs": {
566
+ "build": {
567
+ "webpack": "^5.0.0",
568
+ "babel": "^7.0.0"
569
+ }
570
+ }
571
+ }
572
+ }
573
+ ```
574
+
575
+ ### Catalog Dependencies
576
+
577
+ Dependencies using pnpm's `catalog:` protocol are preserved:
578
+
579
+ ```json package.json icon="file-json"
580
+ {
581
+ "dependencies": {
582
+ "react": "catalog:",
583
+ "webpack": "catalog:build"
584
+ }
585
+ }
586
+ ```
587
+
588
+ ### Configuration Migration
589
+
590
+ The following pnpm configuration is migrated from both `pnpm-lock.yaml` and `pnpm-workspace.yaml`:
591
+
592
+ - **Overrides**: Moved from `pnpm.overrides` to root-level `overrides` in `package.json`
593
+ - **Patched Dependencies**: Moved from `pnpm.patchedDependencies` to root-level `patchedDependencies` in `package.json`
594
+ - **Workspace Overrides**: Applied from `pnpm-workspace.yaml` to root `package.json`
595
+
596
+ ### Requirements
597
+
598
+ - Requires pnpm lockfile version 7 or higher
599
+ - Workspace packages must have a `name` field in their `package.json`
600
+ - All catalog entries referenced by dependencies must exist in the catalogs definition
601
+
602
+ After migration, you can safely remove `pnpm-lock.yaml` and `pnpm-workspace.yaml` files.
603
+
604
+ ---
605
+
606
+ <Install />
@@ -0,0 +1,61 @@
1
+ ---
2
+ title: "bun link"
3
+ description: "Link local packages for development"
4
+ ---
5
+
6
+ import Link from "/snippets/cli/link.mdx";
7
+
8
+ Use `bun link` in a local directory to register the current package as a "linkable" package.
9
+
10
+ ```bash terminal icon="terminal"
11
+ cd /path/to/cool-pkg
12
+ cat package.json
13
+ bun link
14
+ ```
15
+
16
+ ```txt
17
+ bun link v1.3.3 (7416672e)
18
+ Success! Registered "cool-pkg"
19
+
20
+ To use cool-pkg in a project, run:
21
+ bun link cool-pkg
22
+
23
+ Or add it in dependencies in your package.json file:
24
+ "cool-pkg": "link:cool-pkg"
25
+ ```
26
+
27
+ This package can now be "linked" into other projects using `bun link cool-pkg`. This will create a symlink in the `node_modules` directory of the target project, pointing to the local directory.
28
+
29
+ ```bash terminal icon="terminal"
30
+ cd /path/to/my-app
31
+ bun link cool-pkg
32
+ ```
33
+
34
+ In addition, the `--save` flag can be used to add `cool-pkg` to the `dependencies` field of your app's package.json with a special version specifier that tells Bun to load from the registered local directory instead of installing from `npm`:
35
+
36
+ ```json package.json icon="file-json"
37
+ {
38
+ "name": "my-app",
39
+ "version": "1.0.0",
40
+ "dependencies": {
41
+ "cool-pkg": "link:cool-pkg" // [!code ++]
42
+ }
43
+ }
44
+ ```
45
+
46
+ ## Unlinking
47
+
48
+ Use `bun unlink` in the root directory to unregister a local package.
49
+
50
+ ```bash terminal icon="terminal"
51
+ cd /path/to/cool-pkg
52
+ bun unlink
53
+ ```
54
+
55
+ ```txt
56
+ bun unlink v1.3.3 (7416672e)
57
+ ```
58
+
59
+ ---
60
+
61
+ <Link />