@enjoys/context-engine 1.6.0 → 1.7.1

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 (546) hide show
  1. package/README.md +8 -8
  2. package/data/color/abap.json +8 -8
  3. package/data/color/angular.json +11 -36
  4. package/data/color/apex.json +8 -8
  5. package/data/color/awk.json +40 -80
  6. package/data/color/azcli.json +8 -8
  7. package/data/color/bicep.json +8 -8
  8. package/data/color/c.json +4 -4
  9. package/data/color/caddy.json +8 -8
  10. package/data/color/cameligo.json +8 -8
  11. package/data/color/clojure.json +8 -8
  12. package/data/color/coffee.json +10 -17
  13. package/data/color/cpp.json +4 -4
  14. package/data/color/crontab.json +8 -8
  15. package/data/color/csharp.json +49 -109
  16. package/data/color/css.json +8 -32
  17. package/data/color/cypher.json +8 -8
  18. package/data/color/docker-compose.json +8 -8
  19. package/data/color/dockerfile.json +8 -8
  20. package/data/color/doctest.json +8 -8
  21. package/data/color/dotenv.json +8 -8
  22. package/data/color/ecl.json +8 -8
  23. package/data/color/elixir.json +49 -109
  24. package/data/color/flow9.json +8 -8
  25. package/data/color/freemarker2.json +61 -121
  26. package/data/color/go.json +4 -4
  27. package/data/color/graphql.json +8 -8
  28. package/data/color/hcl.json +8 -8
  29. package/data/color/html.json +13 -43
  30. package/data/color/ini.json +8 -8
  31. package/data/color/java.json +49 -109
  32. package/data/color/javascript.json +13 -43
  33. package/data/color/json.json +8 -8
  34. package/data/color/julia.json +49 -109
  35. package/data/color/less.json +10 -17
  36. package/data/color/lexon.json +8 -8
  37. package/data/color/liquid.json +61 -121
  38. package/data/color/lua.json +4 -4
  39. package/data/color/m3.json +8 -8
  40. package/data/color/makefile.json +8 -8
  41. package/data/color/markdown.json +61 -121
  42. package/data/color/mdx.json +61 -121
  43. package/data/color/mips.json +8 -8
  44. package/data/color/msdax.json +8 -8
  45. package/data/color/mysql.json +8 -8
  46. package/data/color/nestjs.json +52 -18
  47. package/data/color/nextjs.json +60 -22
  48. package/data/color/nginx.json +8 -8
  49. package/data/color/objective-c.json +4 -4
  50. package/data/color/pascal.json +8 -8
  51. package/data/color/pascaligo.json +8 -8
  52. package/data/color/perl.json +4 -4
  53. package/data/color/pgsql.json +8 -8
  54. package/data/color/php.json +13 -43
  55. package/data/color/pla.json +8 -8
  56. package/data/color/postiats.json +8 -8
  57. package/data/color/powerquery.json +8 -8
  58. package/data/color/powershell.json +40 -80
  59. package/data/color/protobuf.json +8 -8
  60. package/data/color/python.json +49 -109
  61. package/data/color/qsharp.json +8 -8
  62. package/data/color/r.json +49 -109
  63. package/data/color/razor.json +61 -121
  64. package/data/color/react.json +65 -93
  65. package/data/color/redis-cli.json +8 -8
  66. package/data/color/redis.json +8 -8
  67. package/data/color/redshift.json +8 -8
  68. package/data/color/restructuredtext.json +8 -8
  69. package/data/color/ruby.json +49 -109
  70. package/data/color/rust.json +4 -4
  71. package/data/color/sb.json +8 -8
  72. package/data/color/scala.json +2 -12
  73. package/data/color/scheme.json +8 -8
  74. package/data/color/scss.json +10 -17
  75. package/data/color/shadcn.json +11 -36
  76. package/data/color/shell.json +8 -48
  77. package/data/color/sol.json +8 -8
  78. package/data/color/sparql.json +8 -8
  79. package/data/color/sql.json +8 -8
  80. package/data/color/ssh_config.json +8 -8
  81. package/data/color/st.json +8 -8
  82. package/data/color/swift.json +56 -37
  83. package/data/color/systemd.json +8 -8
  84. package/data/color/systemverilog.json +8 -8
  85. package/data/color/tailwindcss.json +6 -24
  86. package/data/color/tcl.json +40 -80
  87. package/data/color/toml.json +8 -8
  88. package/data/color/twig.json +61 -121
  89. package/data/color/typescript.json +13 -43
  90. package/data/color/vb.json +49 -109
  91. package/data/color/wgsl.json +8 -8
  92. package/data/color/xml.json +61 -121
  93. package/data/color/yaml.json +8 -8
  94. package/data/commands/air.json +117 -59
  95. package/data/commands/alembic.json +487 -301
  96. package/data/commands/aliyun.json +158 -0
  97. package/data/commands/amplify.json +174 -0
  98. package/data/commands/ansible.json +236 -24
  99. package/data/commands/apt-get.json +244 -81
  100. package/data/commands/apt.json +294 -91
  101. package/data/commands/argo.json +212 -0
  102. package/data/commands/argocd.json +144 -35
  103. package/data/commands/atlas.json +956 -426
  104. package/data/commands/aws-copilot.json +161 -0
  105. package/data/commands/aws-vault.json +266 -140
  106. package/data/commands/az-devops.json +155 -0
  107. package/data/commands/bazel.json +328 -103
  108. package/data/commands/bq.json +177 -0
  109. package/data/commands/brew.json +444 -140
  110. package/data/commands/btop.json +132 -59
  111. package/data/commands/cabal.json +1 -1
  112. package/data/commands/calicoctl.json +154 -0
  113. package/data/commands/cd.json +90 -48
  114. package/data/commands/chamber.json +128 -0
  115. package/data/commands/choco.json +430 -134
  116. package/data/commands/chown.json +139 -59
  117. package/data/commands/cilium.json +154 -0
  118. package/data/commands/civo.json +147 -0
  119. package/data/commands/clickhouse-client.json +183 -74
  120. package/data/commands/cloudflared.json +133 -0
  121. package/data/commands/cmake.json +301 -110
  122. package/data/commands/cmctl.json +143 -0
  123. package/data/commands/cockroach.json +269 -92
  124. package/data/commands/conda.json +435 -94
  125. package/data/commands/consul.json +377 -125
  126. package/data/commands/crossplane.json +119 -0
  127. package/data/commands/crystal.json +1 -1
  128. package/data/commands/dbmate.json +498 -257
  129. package/data/commands/devspace.json +198 -0
  130. package/data/commands/django-admin.json +489 -86
  131. package/data/commands/dnf.json +428 -137
  132. package/data/commands/dockerfile.json +1 -1
  133. package/data/commands/doctl.json +510 -156
  134. package/data/commands/doppler.json +161 -0
  135. package/data/commands/dotnet.json +1 -1
  136. package/data/commands/drizzle-kit.json +435 -217
  137. package/data/commands/eb.json +201 -0
  138. package/data/commands/ecs-cli.json +132 -0
  139. package/data/commands/erlang.json +1 -1
  140. package/data/commands/eslint.json +193 -69
  141. package/data/commands/expo.json +65 -65
  142. package/data/commands/firebase.json +406 -97
  143. package/data/commands/flask.json +254 -79
  144. package/data/commands/flux.json +190 -0
  145. package/data/commands/flyctl.json +657 -148
  146. package/data/commands/flyway.json +580 -261
  147. package/data/commands/garden.json +180 -0
  148. package/data/commands/ghc.json +1 -1
  149. package/data/commands/glab.json +577 -116
  150. package/data/commands/gofmt.json +101 -51
  151. package/data/commands/golangci-lint.json +243 -89
  152. package/data/commands/gradle.json +182 -44
  153. package/data/commands/gsutil.json +197 -0
  154. package/data/commands/gunicorn.json +243 -83
  155. package/data/commands/hcloud.json +169 -0
  156. package/data/commands/helmfile.json +178 -0
  157. package/data/commands/heroku.json +239 -0
  158. package/data/commands/hg.json +502 -92
  159. package/data/commands/htop.json +151 -56
  160. package/data/commands/ibmcloud.json +184 -0
  161. package/data/commands/infisical.json +127 -0
  162. package/data/commands/influx.json +363 -119
  163. package/data/commands/iptables.json +251 -86
  164. package/data/commands/istioctl.json +129 -23
  165. package/data/commands/javac.json +1 -1
  166. package/data/commands/just.json +262 -93
  167. package/data/commands/k3d.json +156 -0
  168. package/data/commands/k3s.json +134 -0
  169. package/data/commands/k9s.json +169 -62
  170. package/data/commands/kamel.json +155 -0
  171. package/data/commands/kn.json +160 -0
  172. package/data/commands/kube-score.json +86 -0
  173. package/data/commands/kubeconform.json +98 -0
  174. package/data/commands/kubectx.json +58 -0
  175. package/data/commands/kubens.json +45 -0
  176. package/data/commands/kustomize.json +82 -17
  177. package/data/commands/lightsail.json +168 -0
  178. package/data/commands/linkerd.json +174 -0
  179. package/data/commands/linode-cli.json +360 -117
  180. package/data/commands/linux.json +1 -1
  181. package/data/commands/liquibase.json +739 -399
  182. package/data/commands/manifest.json +1 -1
  183. package/data/commands/mc.json +236 -0
  184. package/data/commands/minikube.json +264 -60
  185. package/data/commands/mix.json +1 -1
  186. package/data/commands/mongosh.json +174 -73
  187. package/data/commands/mvn.json +179 -45
  188. package/data/commands/mysql.json +1 -1
  189. package/data/commands/nest.json +270 -69
  190. package/data/commands/netlify.json +384 -92
  191. package/data/commands/next.json +221 -71
  192. package/data/commands/nft.json +299 -105
  193. package/data/commands/nim.json +1 -1
  194. package/data/commands/nomad.json +398 -139
  195. package/data/commands/npx.json +141 -58
  196. package/data/commands/nx.json +348 -82
  197. package/data/commands/ocaml.json +1 -1
  198. package/data/commands/oci.json +184 -0
  199. package/data/commands/okteto.json +164 -0
  200. package/data/commands/opam.json +1 -1
  201. package/data/commands/openstack.json +212 -0
  202. package/data/commands/packer.json +273 -92
  203. package/data/commands/pacman.json +228 -82
  204. package/data/commands/pg_dump.json +233 -83
  205. package/data/commands/pg_restore.json +224 -74
  206. package/data/commands/pipenv.json +300 -79
  207. package/data/commands/pipx.json +241 -53
  208. package/data/commands/poetry.json +521 -96
  209. package/data/commands/popeye.json +109 -0
  210. package/data/commands/prettier.json +201 -71
  211. package/data/commands/pulumi.json +409 -130
  212. package/data/commands/pytest.json +240 -92
  213. package/data/commands/railway.json +343 -91
  214. package/data/commands/rancher.json +141 -0
  215. package/data/commands/rclone.json +275 -0
  216. package/data/commands/react-native.json +57 -57
  217. package/data/commands/rebar3.json +1 -1
  218. package/data/commands/render.json +235 -72
  219. package/data/commands/rustc.json +1 -1
  220. package/data/commands/rustup.json +339 -103
  221. package/data/commands/s3cmd.json +201 -0
  222. package/data/commands/scala.json +1 -1
  223. package/data/commands/scp.json +146 -60
  224. package/data/commands/scw.json +169 -0
  225. package/data/commands/sequelize.json +629 -342
  226. package/data/commands/skaffold.json +189 -0
  227. package/data/commands/skopeo.json +100 -19
  228. package/data/commands/sops.json +112 -24
  229. package/data/commands/sqlite3.json +167 -68
  230. package/data/commands/stack.json +1 -1
  231. package/data/commands/stern.json +124 -0
  232. package/data/commands/supabase.json +433 -108
  233. package/data/commands/svn.json +509 -75
  234. package/data/commands/swiftc.json +1 -1
  235. package/data/commands/telepresence.json +122 -0
  236. package/data/commands/terraform.json +1505 -824
  237. package/data/commands/terragrunt.json +217 -83
  238. package/data/commands/tilt.json +160 -0
  239. package/data/commands/tkn.json +150 -0
  240. package/data/commands/top.json +167 -61
  241. package/data/commands/tsc.json +234 -85
  242. package/data/commands/turbo.json +263 -72
  243. package/data/commands/typeorm.json +427 -262
  244. package/data/commands/ufw.json +254 -76
  245. package/data/commands/unzip.json +154 -59
  246. package/data/commands/upcloud.json +129 -0
  247. package/data/commands/uvicorn.json +215 -73
  248. package/data/commands/vault.json +462 -144
  249. package/data/commands/velero.json +141 -0
  250. package/data/commands/vercel.json +410 -98
  251. package/data/commands/vite.json +239 -63
  252. package/data/commands/vultr.json +157 -0
  253. package/data/commands/wasm-pack.json +254 -90
  254. package/data/commands/winget.json +466 -131
  255. package/data/commands/wrangler.json +129 -29
  256. package/data/commands/yum.json +323 -98
  257. package/data/commands/zig.json +1 -1
  258. package/data/commands/zip.json +159 -59
  259. package/data/completion/abap.json +423 -341
  260. package/data/completion/apex.json +423 -43
  261. package/data/completion/awk.json +1 -45
  262. package/data/completion/azcli.json +58 -115
  263. package/data/completion/bicep.json +90 -90
  264. package/data/completion/cameligo.json +533 -487
  265. package/data/completion/clojure.json +533 -488
  266. package/data/completion/coffee.json +522 -479
  267. package/data/completion/crontab.json +1 -34
  268. package/data/completion/cypher.json +687 -628
  269. package/data/completion/docker-compose.json +962 -959
  270. package/data/completion/dockerfile.json +1270 -1285
  271. package/data/completion/doctest.json +489 -526
  272. package/data/completion/ecl.json +588 -598
  273. package/data/completion/elixir.json +709 -649
  274. package/data/completion/flow9.json +401 -376
  275. package/data/completion/freemarker2.json +632 -579
  276. package/data/completion/go.json +10037 -10037
  277. package/data/completion/julia.json +698 -638
  278. package/data/completion/less.json +412 -378
  279. package/data/completion/lexon.json +80 -52
  280. package/data/completion/liquid.json +544 -499
  281. package/data/completion/lua.json +2535 -2634
  282. package/data/completion/m3.json +643 -587
  283. package/data/completion/makefile.json +1 -56
  284. package/data/completion/markdown.json +1 -56
  285. package/data/completion/mips.json +83 -49
  286. package/data/completion/msdax.json +511 -467
  287. package/data/completion/mysql.json +676 -638
  288. package/data/completion/objective-c.json +687 -629
  289. package/data/completion/pascal.json +709 -649
  290. package/data/completion/pascaligo.json +544 -517
  291. package/data/completion/perl.json +1 -89
  292. package/data/completion/pgsql.json +698 -638
  293. package/data/completion/postiats.json +445 -417
  294. package/data/completion/powerquery.json +621 -587
  295. package/data/completion/powershell.json +1 -166
  296. package/data/completion/protobuf.json +7 -117
  297. package/data/completion/qsharp.json +643 -587
  298. package/data/completion/r.json +2469 -1985
  299. package/data/completion/razor.json +533 -488
  300. package/data/completion/redis-cli.json +120 -60
  301. package/data/completion/redis.json +423 -389
  302. package/data/completion/redshift.json +698 -638
  303. package/data/completion/restructuredtext.json +544 -499
  304. package/data/completion/ruby.json +1930 -1531
  305. package/data/completion/sb.json +434 -398
  306. package/data/completion/scheme.json +555 -510
  307. package/data/completion/scss.json +544 -500
  308. package/data/completion/shell.json +115 -70
  309. package/data/completion/sol.json +720 -660
  310. package/data/completion/sparql.json +643 -587
  311. package/data/completion/st.json +698 -638
  312. package/data/completion/systemverilog.json +698 -638
  313. package/data/completion/tailwindcss.json +2821 -284
  314. package/data/completion/tcl.json +544 -499
  315. package/data/completion/twig.json +555 -510
  316. package/data/completion/vb.json +720 -660
  317. package/data/completion/wgsl.json +709 -649
  318. package/data/foldingRange/abap.json +0 -24
  319. package/data/foldingRange/angular.json +0 -18
  320. package/data/foldingRange/apex.json +0 -24
  321. package/data/foldingRange/awk.json +0 -18
  322. package/data/foldingRange/azcli.json +0 -18
  323. package/data/foldingRange/bicep.json +0 -18
  324. package/data/foldingRange/c.json +0 -24
  325. package/data/foldingRange/caddy.json +0 -18
  326. package/data/foldingRange/cameligo.json +0 -18
  327. package/data/foldingRange/clojure.json +0 -18
  328. package/data/foldingRange/coffee.json +0 -18
  329. package/data/foldingRange/cpp.json +0 -24
  330. package/data/foldingRange/crontab.json +0 -18
  331. package/data/foldingRange/csharp.json +0 -24
  332. package/data/foldingRange/css.json +5 -19
  333. package/data/foldingRange/cypher.json +0 -18
  334. package/data/foldingRange/dart.json +0 -24
  335. package/data/foldingRange/docker-compose.json +0 -18
  336. package/data/foldingRange/dockerfile.json +0 -18
  337. package/data/foldingRange/doctest.json +0 -18
  338. package/data/foldingRange/dotenv.json +0 -18
  339. package/data/foldingRange/ecl.json +0 -30
  340. package/data/foldingRange/elixir.json +0 -24
  341. package/data/foldingRange/flow9.json +0 -12
  342. package/data/foldingRange/freemarker2.json +0 -12
  343. package/data/foldingRange/go.json +0 -24
  344. package/data/foldingRange/graphql.json +0 -12
  345. package/data/foldingRange/hcl.json +0 -12
  346. package/data/foldingRange/html.json +0 -18
  347. package/data/foldingRange/ini.json +0 -18
  348. package/data/foldingRange/java.json +0 -24
  349. package/data/foldingRange/javascript.json +0 -24
  350. package/data/foldingRange/json.json +0 -12
  351. package/data/foldingRange/julia.json +0 -12
  352. package/data/foldingRange/kotlin.json +0 -18
  353. package/data/foldingRange/less.json +0 -18
  354. package/data/foldingRange/lexon.json +0 -12
  355. package/data/foldingRange/liquid.json +0 -18
  356. package/data/foldingRange/lua.json +0 -24
  357. package/data/foldingRange/m3.json +0 -18
  358. package/data/foldingRange/makefile.json +0 -12
  359. package/data/foldingRange/markdown.json +0 -12
  360. package/data/foldingRange/mdx.json +0 -18
  361. package/data/foldingRange/mips.json +0 -18
  362. package/data/foldingRange/msdax.json +0 -12
  363. package/data/foldingRange/mysql.json +0 -18
  364. package/data/foldingRange/nestjs.json +0 -24
  365. package/data/foldingRange/nextjs.json +0 -24
  366. package/data/foldingRange/nginx.json +0 -12
  367. package/data/foldingRange/objective-c.json +0 -18
  368. package/data/foldingRange/pascal.json +0 -18
  369. package/data/foldingRange/pascaligo.json +0 -12
  370. package/data/foldingRange/perl.json +0 -18
  371. package/data/foldingRange/pgsql.json +0 -18
  372. package/data/foldingRange/php.json +0 -18
  373. package/data/foldingRange/pla.json +0 -12
  374. package/data/foldingRange/postiats.json +0 -18
  375. package/data/foldingRange/powerquery.json +0 -12
  376. package/data/foldingRange/powershell.json +0 -18
  377. package/data/foldingRange/protobuf.json +0 -12
  378. package/data/foldingRange/python.json +0 -18
  379. package/data/foldingRange/qsharp.json +0 -12
  380. package/data/foldingRange/r.json +0 -12
  381. package/data/foldingRange/razor.json +0 -18
  382. package/data/foldingRange/react.json +0 -24
  383. package/data/foldingRange/redis-cli.json +0 -12
  384. package/data/foldingRange/redis.json +0 -18
  385. package/data/foldingRange/redshift.json +0 -18
  386. package/data/foldingRange/restructuredtext.json +0 -12
  387. package/data/foldingRange/ruby.json +0 -24
  388. package/data/foldingRange/rust.json +0 -18
  389. package/data/foldingRange/sb.json +0 -18
  390. package/data/foldingRange/scala.json +0 -18
  391. package/data/foldingRange/scheme.json +0 -12
  392. package/data/foldingRange/scss.json +0 -18
  393. package/data/foldingRange/shadcn.json +0 -24
  394. package/data/foldingRange/shell.json +0 -18
  395. package/data/foldingRange/sol.json +0 -18
  396. package/data/foldingRange/sparql.json +0 -12
  397. package/data/foldingRange/sql.json +0 -18
  398. package/data/foldingRange/ssh_config.json +0 -12
  399. package/data/foldingRange/st.json +0 -18
  400. package/data/foldingRange/swift.json +0 -18
  401. package/data/foldingRange/systemd.json +0 -12
  402. package/data/foldingRange/systemverilog.json +0 -12
  403. package/data/foldingRange/tailwindcss.json +0 -12
  404. package/data/foldingRange/tcl.json +0 -18
  405. package/data/foldingRange/toml.json +0 -12
  406. package/data/foldingRange/twig.json +0 -12
  407. package/data/foldingRange/typescript.json +0 -24
  408. package/data/foldingRange/vb.json +0 -18
  409. package/data/foldingRange/wgsl.json +0 -12
  410. package/data/foldingRange/xml.json +0 -18
  411. package/data/foldingRange/yaml.json +0 -12
  412. package/data/formatting/awk.json +5 -5
  413. package/data/formatting/azcli.json +1 -1
  414. package/data/formatting/c.json +5 -5
  415. package/data/formatting/caddy.json +4 -4
  416. package/data/formatting/cpp.json +5 -5
  417. package/data/formatting/crontab.json +2 -2
  418. package/data/formatting/csharp.json +5 -5
  419. package/data/formatting/dockerfile.json +4 -3
  420. package/data/formatting/dotenv.json +2 -2
  421. package/data/formatting/elixir.json +3 -3
  422. package/data/formatting/go.json +5 -5
  423. package/data/formatting/graphql.json +4 -4
  424. package/data/formatting/hcl.json +8 -8
  425. package/data/formatting/html.json +8 -8
  426. package/data/formatting/ini.json +4 -3
  427. package/data/formatting/java.json +5 -5
  428. package/data/formatting/javascript.json +5 -5
  429. package/data/formatting/json.json +4 -4
  430. package/data/formatting/less.json +8 -4
  431. package/data/formatting/lua.json +5 -5
  432. package/data/formatting/makefile.json +8 -4
  433. package/data/formatting/markdown.json +4 -4
  434. package/data/formatting/mips.json +2 -1
  435. package/data/formatting/mysql.json +1 -1
  436. package/data/formatting/nginx.json +5 -5
  437. package/data/formatting/perl.json +5 -5
  438. package/data/formatting/pgsql.json +1 -1
  439. package/data/formatting/php.json +5 -5
  440. package/data/formatting/powershell.json +5 -5
  441. package/data/formatting/protobuf.json +4 -4
  442. package/data/formatting/python.json +5 -5
  443. package/data/formatting/r.json +6 -6
  444. package/data/formatting/redis-cli.json +2 -2
  445. package/data/formatting/redshift.json +1 -1
  446. package/data/formatting/restructuredtext.json +2 -1
  447. package/data/formatting/ruby.json +5 -5
  448. package/data/formatting/rust.json +5 -5
  449. package/data/formatting/scala.json +6 -2
  450. package/data/formatting/scss.json +8 -4
  451. package/data/formatting/shell.json +1 -16
  452. package/data/formatting/sql.json +5 -5
  453. package/data/formatting/ssh_config.json +4 -3
  454. package/data/formatting/swift.json +6 -2
  455. package/data/formatting/systemd.json +2 -2
  456. package/data/formatting/toml.json +4 -3
  457. package/data/formatting/typescript.json +5 -5
  458. package/data/formatting/xml.json +8 -8
  459. package/data/formatting/yaml.json +4 -3
  460. package/data/links/abap.json +14 -14
  461. package/data/links/apex.json +18 -18
  462. package/data/links/awk.json +20 -20
  463. package/data/links/azcli.json +20 -20
  464. package/data/links/bicep.json +12 -12
  465. package/data/links/c.json +22 -22
  466. package/data/links/caddy.json +22 -22
  467. package/data/links/cameligo.json +20 -20
  468. package/data/links/clojure.json +12 -12
  469. package/data/links/coffee.json +14 -14
  470. package/data/links/cpp.json +22 -22
  471. package/data/links/crontab.json +22 -22
  472. package/data/links/csharp.json +22 -22
  473. package/data/links/cypher.json +18 -18
  474. package/data/links/dart.json +2 -2
  475. package/data/links/docker-compose.json +8 -8
  476. package/data/links/dockerfile.json +22 -22
  477. package/data/links/doctest.json +20 -20
  478. package/data/links/dotenv.json +20 -20
  479. package/data/links/ecl.json +18 -18
  480. package/data/links/elixir.json +12 -12
  481. package/data/links/flow9.json +22 -22
  482. package/data/links/freemarker2.json +10 -10
  483. package/data/links/go.json +23 -23
  484. package/data/links/graphql.json +18 -18
  485. package/data/links/hcl.json +22 -22
  486. package/data/links/html.json +19 -19
  487. package/data/links/ini.json +20 -20
  488. package/data/links/java.json +22 -22
  489. package/data/links/javascript.json +20 -20
  490. package/data/links/json.json +16 -16
  491. package/data/links/julia.json +16 -16
  492. package/data/links/kotlin.json +14 -14
  493. package/data/links/less.json +10 -10
  494. package/data/links/lexon.json +24 -24
  495. package/data/links/liquid.json +8 -8
  496. package/data/links/lua.json +22 -22
  497. package/data/links/m3.json +20 -20
  498. package/data/links/makefile.json +22 -22
  499. package/data/links/markdown.json +25 -25
  500. package/data/links/mdx.json +12 -12
  501. package/data/links/mips.json +22 -22
  502. package/data/links/msdax.json +22 -22
  503. package/data/links/mysql.json +17 -17
  504. package/data/links/nginx.json +22 -22
  505. package/data/links/objective-c.json +14 -14
  506. package/data/links/pascal.json +16 -16
  507. package/data/links/pascaligo.json +20 -20
  508. package/data/links/perl.json +22 -22
  509. package/data/links/pgsql.json +14 -14
  510. package/data/links/php.json +22 -22
  511. package/data/links/pla.json +24 -24
  512. package/data/links/postiats.json +18 -18
  513. package/data/links/powerquery.json +20 -20
  514. package/data/links/powershell.json +24 -24
  515. package/data/links/protobuf.json +22 -22
  516. package/data/links/python.json +27 -22
  517. package/data/links/qsharp.json +20 -20
  518. package/data/links/r.json +21 -21
  519. package/data/links/razor.json +8 -8
  520. package/data/links/redis-cli.json +22 -22
  521. package/data/links/redis.json +22 -22
  522. package/data/links/redshift.json +16 -16
  523. package/data/links/restructuredtext.json +10 -10
  524. package/data/links/ruby.json +22 -22
  525. package/data/links/rust.json +22 -22
  526. package/data/links/sb.json +24 -24
  527. package/data/links/scheme.json +12 -12
  528. package/data/links/scss.json +2 -2
  529. package/data/links/shell.json +1 -6
  530. package/data/links/sol.json +16 -16
  531. package/data/links/sparql.json +18 -18
  532. package/data/links/sql.json +18 -18
  533. package/data/links/ssh_config.json +22 -22
  534. package/data/links/st.json +20 -20
  535. package/data/links/swift.json +8 -8
  536. package/data/links/systemd.json +18 -18
  537. package/data/links/systemverilog.json +20 -20
  538. package/data/links/tcl.json +16 -16
  539. package/data/links/toml.json +16 -16
  540. package/data/links/typescript.json +20 -20
  541. package/data/links/vb.json +16 -16
  542. package/data/links/wgsl.json +24 -24
  543. package/data/links/xml.json +22 -22
  544. package/data/links/yaml.json +12 -12
  545. package/data/manifest.json +2 -2
  546. package/package.json +2 -2
@@ -1,262 +1,427 @@
1
- {
2
- "name": "typeorm",
3
- "description": "TypeORM CLI for managing database entities, migrations, subscribers, and schema operations across multiple database drivers",
4
- "category": "database-orm",
5
- "platforms": ["linux", "macos", "windows"],
6
- "shells": ["bash", "zsh", "fish", "powershell"],
7
- "subcommands": [
8
- {
9
- "name": "init",
10
- "description": "Initialize a new TypeORM project with a predefined directory structure, sample entity, migration, and ormconfig file",
11
- "args": [],
12
- "options": [
13
- {"name": "--name", "short": "-n", "description": "Name of the project directory to create", "type": "string"},
14
- {"name": "--database", "short": "-db", "description": "Database type (postgres, mysql, mariadb, sqlite, mssql, oracle, cockroachdb, mongodb)", "type": "string"},
15
- {"name": "--express", "description": "Generate an Express application with TypeORM integration"},
16
- {"name": "--docker", "description": "Generate docker-compose.yml for the selected database"},
17
- {"name": "--pm", "description": "Package manager to use: npm, yarn, or pnpm", "type": "string"}
18
- ],
19
- "examples": [
20
- "typeorm init --name my-project --database postgres",
21
- "typeorm init --name api-server --database mysql --express --docker",
22
- "typeorm init --name app --database sqlite --pm yarn"
23
- ]
24
- },
25
- {
26
- "name": "migration:create",
27
- "description": "Create a new empty migration file with up() and down() methods. The file is timestamped and placed in the configured migrations directory.",
28
- "args": [
29
- {"name": "path", "type": "string", "required": true, "description": "Path and name for the migration file (e.g., src/migrations/CreateUsersTable)"}
30
- ],
31
- "options": [
32
- {"name": "--outputJs", "short": "-o", "description": "Generate migration file in JavaScript instead of TypeScript"},
33
- {"name": "--timestamp", "short": "-t", "description": "Custom timestamp for the migration file", "type": "string"}
34
- ],
35
- "examples": [
36
- "typeorm migration:create src/migrations/CreateUsersTable",
37
- "typeorm migration:create src/migrations/AddEmailIndex --outputJs",
38
- "typeorm-ts-node-commonjs migration:create src/migrations/AddProfileColumn"
39
- ]
40
- },
41
- {
42
- "name": "migration:generate",
43
- "description": "Automatically generate a migration by comparing the current entity definitions to the current database schema. Detects added/removed columns, tables, and relations.",
44
- "args": [
45
- {"name": "path", "type": "string", "required": true, "description": "Path and name for the generated migration file"}
46
- ],
47
- "options": [
48
- {"name": "--dataSource", "short": "-d", "description": "Path to the data source configuration file", "type": "string"},
49
- {"name": "--pretty", "short": "-p", "description": "Pretty-print the generated SQL queries"},
50
- {"name": "--outputJs", "short": "-o", "description": "Generate migration file in JavaScript instead of TypeScript"},
51
- {"name": "--dryrun", "description": "Print the generated migration SQL without writing files"},
52
- {"name": "--check", "description": "Exit with error code if there are pending schema changes"}
53
- ],
54
- "examples": [
55
- "typeorm migration:generate src/migrations/SyncSchema -d src/data-source.ts",
56
- "typeorm-ts-node-commonjs migration:generate src/migrations/AddOrders -d src/data-source.ts --pretty",
57
- "typeorm migration:generate src/migrations/Changes -d src/data-source.ts --dryrun",
58
- "typeorm migration:generate src/migrations/Check -d src/data-source.ts --check"
59
- ]
60
- },
61
- {
62
- "name": "migration:run",
63
- "description": "Run all pending migrations that have not yet been applied to the database. Executes migrations in chronological order.",
64
- "args": [],
65
- "options": [
66
- {"name": "--dataSource", "short": "-d", "description": "Path to the data source configuration file", "type": "string"},
67
- {"name": "--transaction", "short": "-t", "description": "Transaction mode: all, each, or none", "type": "string"},
68
- {"name": "--fake", "description": "Mark migrations as run without actually executing them"}
69
- ],
70
- "examples": [
71
- "typeorm migration:run -d src/data-source.ts",
72
- "typeorm-ts-node-commonjs migration:run -d src/data-source.ts",
73
- "typeorm migration:run -d src/data-source.ts --transaction each",
74
- "typeorm migration:run -d src/data-source.ts --fake"
75
- ]
76
- },
77
- {
78
- "name": "migration:revert",
79
- "description": "Revert the most recently executed migration. Run multiple times to revert multiple migrations in reverse order.",
80
- "args": [],
81
- "options": [
82
- {"name": "--dataSource", "short": "-d", "description": "Path to the data source configuration file", "type": "string"},
83
- {"name": "--transaction", "short": "-t", "description": "Transaction mode: all, each, or none", "type": "string"},
84
- {"name": "--fake", "description": "Mark migration as reverted without actually executing the down method"}
85
- ],
86
- "examples": [
87
- "typeorm migration:revert -d src/data-source.ts",
88
- "typeorm-ts-node-commonjs migration:revert -d src/data-source.ts",
89
- "typeorm migration:revert -d src/data-source.ts --transaction all"
90
- ]
91
- },
92
- {
93
- "name": "migration:show",
94
- "description": "Show all migrations and their status (pending or applied) for the configured database connection.",
95
- "args": [],
96
- "options": [
97
- {"name": "--dataSource", "short": "-d", "description": "Path to the data source configuration file", "type": "string"}
98
- ],
99
- "examples": [
100
- "typeorm migration:show -d src/data-source.ts",
101
- "typeorm-ts-node-commonjs migration:show -d src/data-source.ts"
102
- ]
103
- },
104
- {
105
- "name": "entity:create",
106
- "description": "Create a new empty entity class file with the @Entity() decorator and a primary generated column.",
107
- "args": [
108
- {"name": "path", "type": "string", "required": true, "description": "Path and name for the entity file (e.g., src/entities/User)"}
109
- ],
110
- "options": [
111
- {"name": "--outputJs", "short": "-o", "description": "Generate entity file in JavaScript instead of TypeScript"}
112
- ],
113
- "examples": [
114
- "typeorm entity:create src/entities/User",
115
- "typeorm entity:create src/entities/Product --outputJs"
116
- ]
117
- },
118
- {
119
- "name": "subscriber:create",
120
- "description": "Create a new subscriber class file that listens to entity events like insert, update, and remove.",
121
- "args": [
122
- {"name": "path", "type": "string", "required": true, "description": "Path and name for the subscriber file"}
123
- ],
124
- "options": [
125
- {"name": "--outputJs", "short": "-o", "description": "Generate subscriber file in JavaScript instead of TypeScript"}
126
- ],
127
- "examples": [
128
- "typeorm subscriber:create src/subscribers/UserSubscriber",
129
- "typeorm subscriber:create src/subscribers/AuditLog --outputJs"
130
- ]
131
- },
132
- {
133
- "name": "schema:drop",
134
- "description": "Drop all tables and their data from the database. WARNING: This is a destructive operation.",
135
- "args": [],
136
- "options": [
137
- {"name": "--dataSource", "short": "-d", "description": "Path to the data source configuration file", "type": "string"}
138
- ],
139
- "examples": [
140
- "typeorm schema:drop -d src/data-source.ts",
141
- "typeorm-ts-node-commonjs schema:drop -d src/data-source.ts"
142
- ]
143
- },
144
- {
145
- "name": "schema:log",
146
- "description": "Show the SQL statements that would be executed to synchronize the database schema with the current entity definitions, without applying them.",
147
- "args": [],
148
- "options": [
149
- {"name": "--dataSource", "short": "-d", "description": "Path to the data source configuration file", "type": "string"}
150
- ],
151
- "examples": [
152
- "typeorm schema:log -d src/data-source.ts",
153
- "typeorm-ts-node-commonjs schema:log -d src/data-source.ts"
154
- ]
155
- },
156
- {
157
- "name": "schema:sync",
158
- "description": "Synchronize the database schema based on current entity definitions. Creates and alters tables to match entities. Not recommended for production.",
159
- "args": [],
160
- "options": [
161
- {"name": "--dataSource", "short": "-d", "description": "Path to the data source configuration file", "type": "string"}
162
- ],
163
- "examples": [
164
- "typeorm schema:sync -d src/data-source.ts",
165
- "typeorm-ts-node-commonjs schema:sync -d src/data-source.ts"
166
- ]
167
- },
168
- {
169
- "name": "cache:clear",
170
- "description": "Clear all data stored in the query result cache configured for the connection.",
171
- "args": [],
172
- "options": [
173
- {"name": "--dataSource", "short": "-d", "description": "Path to the data source configuration file", "type": "string"}
174
- ],
175
- "examples": [
176
- "typeorm cache:clear -d src/data-source.ts",
177
- "typeorm-ts-node-commonjs cache:clear -d src/data-source.ts"
178
- ]
179
- },
180
- {
181
- "name": "query",
182
- "description": "Execute a raw SQL query against the configured database and display the results.",
183
- "args": [
184
- {"name": "query", "type": "string", "required": true, "description": "The SQL query to execute"}
185
- ],
186
- "options": [
187
- {"name": "--dataSource", "short": "-d", "description": "Path to the data source configuration file", "type": "string"}
188
- ],
189
- "examples": [
190
- "typeorm query \"SELECT * FROM users LIMIT 10\" -d src/data-source.ts",
191
- "typeorm query \"SHOW TABLES\" -d src/data-source.ts",
192
- "typeorm-ts-node-commonjs query \"SELECT COUNT(*) FROM orders\" -d src/data-source.ts"
193
- ]
194
- },
195
- {
196
- "name": "version",
197
- "description": "Display installed versions of TypeORM, database drivers, and related packages.",
198
- "args": [],
199
- "options": [],
200
- "examples": [
201
- "typeorm version"
202
- ]
203
- }
204
- ],
205
- "globalOptions": [
206
- {"name": "--help", "short": "-h", "description": "Show help information"},
207
- {"name": "--version", "short": "-v", "description": "Show TypeORM CLI version"},
208
- {"name": "--dataSource", "short": "-d", "description": "Path to the TypeORM DataSource file", "type": "string"}
209
- ],
210
- "examples": [
211
- "npx typeorm init --name my-project --database postgres",
212
- "npx typeorm-ts-node-commonjs migration:generate src/migrations/Init -d src/data-source.ts",
213
- "npx typeorm-ts-node-commonjs migration:run -d src/data-source.ts",
214
- "npx typeorm-ts-node-commonjs migration:revert -d src/data-source.ts",
215
- "npx typeorm migration:create src/migrations/AddUsersTable",
216
- "npx typeorm entity:create src/entities/User",
217
- "npx typeorm schema:sync -d src/data-source.ts",
218
- "npx typeorm schema:log -d src/data-source.ts",
219
- "npx typeorm query \"SELECT * FROM users\" -d src/data-source.ts",
220
- "npx typeorm cache:clear -d src/data-source.ts"
221
- ],
222
- "relatedCommands": ["prisma", "sequelize", "node", "npm", "npx"],
223
- "contextEngine": {
224
- "detectors": [
225
- {
226
- "name": "typeorm_datasource_detect",
227
- "description": "Detect TypeORM data source configuration files",
228
- "command": "find . -maxdepth 3 -name 'data-source*' -o -name 'ormconfig*' 2>/dev/null | head -5",
229
- "parser": "lines",
230
- "cacheFor": 60
231
- },
232
- {
233
- "name": "typeorm_entity_detect",
234
- "description": "Detect TypeORM entity files in the project",
235
- "command": "find . -path '*/entities/*.ts' -o -path '*/entity/*.ts' 2>/dev/null | head -10",
236
- "parser": "lines",
237
- "cacheFor": 60
238
- },
239
- {
240
- "name": "typeorm_migration_detect",
241
- "description": "Detect TypeORM migration files",
242
- "command": "find . -path '*/migrations/*.ts' -type f 2>/dev/null | head -10",
243
- "parser": "lines",
244
- "cacheFor": 30
245
- },
246
- {
247
- "name": "typeorm_package_detect",
248
- "description": "Detect typeorm in package.json dependencies",
249
- "command": "cat package.json 2>/dev/null | grep -E '\"typeorm\"' | head -3",
250
- "parser": "lines",
251
- "cacheFor": 60
252
- },
253
- {
254
- "name": "typeorm_version",
255
- "description": "Get installed TypeORM version",
256
- "command": "npx typeorm version 2>/dev/null | head -5 || echo 'not installed'",
257
- "parser": "lines",
258
- "cacheFor": 120
259
- }
260
- ]
261
- }
262
- }
1
+ {
2
+ "name": "typeorm",
3
+ "description": "TypeORM CLI for managing database entities, migrations, subscribers, and schema operations across multiple database drivers",
4
+ "category": "database",
5
+ "platforms": [
6
+ "linux",
7
+ "macos",
8
+ "windows"
9
+ ],
10
+ "shells": [
11
+ "bash",
12
+ "zsh",
13
+ "fish",
14
+ "powershell"
15
+ ],
16
+ "subcommands": [
17
+ {
18
+ "name": "init",
19
+ "description": "Initialize a new TypeORM project with a predefined directory structure, sample entity, migration, and ormconfig file",
20
+ "args": [],
21
+ "options": [
22
+ {
23
+ "name": "--name",
24
+ "short": "-n",
25
+ "description": "Name of the project directory to create",
26
+ "type": "string"
27
+ },
28
+ {
29
+ "name": "--database",
30
+ "short": "-db",
31
+ "description": "Database type (postgres, mysql, mariadb, sqlite, mssql, oracle, cockroachdb, mongodb)",
32
+ "type": "string"
33
+ },
34
+ {
35
+ "name": "--express",
36
+ "description": "Generate an Express application with TypeORM integration"
37
+ },
38
+ {
39
+ "name": "--docker",
40
+ "description": "Generate docker-compose.yml for the selected database"
41
+ },
42
+ {
43
+ "name": "--pm",
44
+ "description": "Package manager to use: npm, yarn, or pnpm",
45
+ "type": "string"
46
+ }
47
+ ],
48
+ "examples": [
49
+ "typeorm init --name my-project --database postgres",
50
+ "typeorm init --name api-server --database mysql --express --docker",
51
+ "typeorm init --name app --database sqlite --pm yarn"
52
+ ]
53
+ },
54
+ {
55
+ "name": "migration:create",
56
+ "description": "Create a new empty migration file with up() and down() methods. The file is timestamped and placed in the configured migrations directory.",
57
+ "args": [
58
+ {
59
+ "name": "path",
60
+ "type": "string",
61
+ "required": true,
62
+ "description": "Path and name for the migration file (e.g., src/migrations/CreateUsersTable)"
63
+ }
64
+ ],
65
+ "options": [
66
+ {
67
+ "name": "--outputJs",
68
+ "short": "-o",
69
+ "description": "Generate migration file in JavaScript instead of TypeScript"
70
+ },
71
+ {
72
+ "name": "--timestamp",
73
+ "short": "-t",
74
+ "description": "Custom timestamp for the migration file",
75
+ "type": "string"
76
+ }
77
+ ],
78
+ "examples": [
79
+ "typeorm migration:create src/migrations/CreateUsersTable",
80
+ "typeorm migration:create src/migrations/AddEmailIndex --outputJs",
81
+ "typeorm-ts-node-commonjs migration:create src/migrations/AddProfileColumn"
82
+ ]
83
+ },
84
+ {
85
+ "name": "migration:generate",
86
+ "description": "Automatically generate a migration by comparing the current entity definitions to the current database schema. Detects added/removed columns, tables, and relations.",
87
+ "args": [
88
+ {
89
+ "name": "path",
90
+ "type": "string",
91
+ "required": true,
92
+ "description": "Path and name for the generated migration file"
93
+ }
94
+ ],
95
+ "options": [
96
+ {
97
+ "name": "--dataSource",
98
+ "short": "-d",
99
+ "description": "Path to the data source configuration file",
100
+ "type": "string"
101
+ },
102
+ {
103
+ "name": "--pretty",
104
+ "short": "-p",
105
+ "description": "Pretty-print the generated SQL queries"
106
+ },
107
+ {
108
+ "name": "--outputJs",
109
+ "short": "-o",
110
+ "description": "Generate migration file in JavaScript instead of TypeScript"
111
+ },
112
+ {
113
+ "name": "--dryrun",
114
+ "description": "Print the generated migration SQL without writing files"
115
+ },
116
+ {
117
+ "name": "--check",
118
+ "description": "Exit with error code if there are pending schema changes"
119
+ }
120
+ ],
121
+ "examples": [
122
+ "typeorm migration:generate src/migrations/SyncSchema -d src/data-source.ts",
123
+ "typeorm-ts-node-commonjs migration:generate src/migrations/AddOrders -d src/data-source.ts --pretty",
124
+ "typeorm migration:generate src/migrations/Changes -d src/data-source.ts --dryrun",
125
+ "typeorm migration:generate src/migrations/Check -d src/data-source.ts --check"
126
+ ]
127
+ },
128
+ {
129
+ "name": "migration:run",
130
+ "description": "Run all pending migrations that have not yet been applied to the database. Executes migrations in chronological order.",
131
+ "args": [],
132
+ "options": [
133
+ {
134
+ "name": "--dataSource",
135
+ "short": "-d",
136
+ "description": "Path to the data source configuration file",
137
+ "type": "string"
138
+ },
139
+ {
140
+ "name": "--transaction",
141
+ "short": "-t",
142
+ "description": "Transaction mode: all, each, or none",
143
+ "type": "string"
144
+ },
145
+ {
146
+ "name": "--fake",
147
+ "description": "Mark migrations as run without actually executing them"
148
+ }
149
+ ],
150
+ "examples": [
151
+ "typeorm migration:run -d src/data-source.ts",
152
+ "typeorm-ts-node-commonjs migration:run -d src/data-source.ts",
153
+ "typeorm migration:run -d src/data-source.ts --transaction each",
154
+ "typeorm migration:run -d src/data-source.ts --fake"
155
+ ]
156
+ },
157
+ {
158
+ "name": "migration:revert",
159
+ "description": "Revert the most recently executed migration. Run multiple times to revert multiple migrations in reverse order.",
160
+ "args": [],
161
+ "options": [
162
+ {
163
+ "name": "--dataSource",
164
+ "short": "-d",
165
+ "description": "Path to the data source configuration file",
166
+ "type": "string"
167
+ },
168
+ {
169
+ "name": "--transaction",
170
+ "short": "-t",
171
+ "description": "Transaction mode: all, each, or none",
172
+ "type": "string"
173
+ },
174
+ {
175
+ "name": "--fake",
176
+ "description": "Mark migration as reverted without actually executing the down method"
177
+ }
178
+ ],
179
+ "examples": [
180
+ "typeorm migration:revert -d src/data-source.ts",
181
+ "typeorm-ts-node-commonjs migration:revert -d src/data-source.ts",
182
+ "typeorm migration:revert -d src/data-source.ts --transaction all"
183
+ ]
184
+ },
185
+ {
186
+ "name": "migration:show",
187
+ "description": "Show all migrations and their status (pending or applied) for the configured database connection.",
188
+ "args": [],
189
+ "options": [
190
+ {
191
+ "name": "--dataSource",
192
+ "short": "-d",
193
+ "description": "Path to the data source configuration file",
194
+ "type": "string"
195
+ }
196
+ ],
197
+ "examples": [
198
+ "typeorm migration:show -d src/data-source.ts",
199
+ "typeorm-ts-node-commonjs migration:show -d src/data-source.ts"
200
+ ]
201
+ },
202
+ {
203
+ "name": "entity:create",
204
+ "description": "Create a new empty entity class file with the @Entity() decorator and a primary generated column.",
205
+ "args": [
206
+ {
207
+ "name": "path",
208
+ "type": "string",
209
+ "required": true,
210
+ "description": "Path and name for the entity file (e.g., src/entities/User)"
211
+ }
212
+ ],
213
+ "options": [
214
+ {
215
+ "name": "--outputJs",
216
+ "short": "-o",
217
+ "description": "Generate entity file in JavaScript instead of TypeScript"
218
+ }
219
+ ],
220
+ "examples": [
221
+ "typeorm entity:create src/entities/User",
222
+ "typeorm entity:create src/entities/Product --outputJs"
223
+ ]
224
+ },
225
+ {
226
+ "name": "subscriber:create",
227
+ "description": "Create a new subscriber class file that listens to entity events like insert, update, and remove.",
228
+ "args": [
229
+ {
230
+ "name": "path",
231
+ "type": "string",
232
+ "required": true,
233
+ "description": "Path and name for the subscriber file"
234
+ }
235
+ ],
236
+ "options": [
237
+ {
238
+ "name": "--outputJs",
239
+ "short": "-o",
240
+ "description": "Generate subscriber file in JavaScript instead of TypeScript"
241
+ }
242
+ ],
243
+ "examples": [
244
+ "typeorm subscriber:create src/subscribers/UserSubscriber",
245
+ "typeorm subscriber:create src/subscribers/AuditLog --outputJs"
246
+ ]
247
+ },
248
+ {
249
+ "name": "schema:drop",
250
+ "description": "Drop all tables and their data from the database. WARNING: This is a destructive operation.",
251
+ "args": [],
252
+ "options": [
253
+ {
254
+ "name": "--dataSource",
255
+ "short": "-d",
256
+ "description": "Path to the data source configuration file",
257
+ "type": "string"
258
+ }
259
+ ],
260
+ "examples": [
261
+ "typeorm schema:drop -d src/data-source.ts",
262
+ "typeorm-ts-node-commonjs schema:drop -d src/data-source.ts"
263
+ ]
264
+ },
265
+ {
266
+ "name": "schema:log",
267
+ "description": "Show the SQL statements that would be executed to synchronize the database schema with the current entity definitions, without applying them.",
268
+ "args": [],
269
+ "options": [
270
+ {
271
+ "name": "--dataSource",
272
+ "short": "-d",
273
+ "description": "Path to the data source configuration file",
274
+ "type": "string"
275
+ }
276
+ ],
277
+ "examples": [
278
+ "typeorm schema:log -d src/data-source.ts",
279
+ "typeorm-ts-node-commonjs schema:log -d src/data-source.ts"
280
+ ]
281
+ },
282
+ {
283
+ "name": "schema:sync",
284
+ "description": "Synchronize the database schema based on current entity definitions. Creates and alters tables to match entities. Not recommended for production.",
285
+ "args": [],
286
+ "options": [
287
+ {
288
+ "name": "--dataSource",
289
+ "short": "-d",
290
+ "description": "Path to the data source configuration file",
291
+ "type": "string"
292
+ }
293
+ ],
294
+ "examples": [
295
+ "typeorm schema:sync -d src/data-source.ts",
296
+ "typeorm-ts-node-commonjs schema:sync -d src/data-source.ts"
297
+ ]
298
+ },
299
+ {
300
+ "name": "cache:clear",
301
+ "description": "Clear all data stored in the query result cache configured for the connection.",
302
+ "args": [],
303
+ "options": [
304
+ {
305
+ "name": "--dataSource",
306
+ "short": "-d",
307
+ "description": "Path to the data source configuration file",
308
+ "type": "string"
309
+ }
310
+ ],
311
+ "examples": [
312
+ "typeorm cache:clear -d src/data-source.ts",
313
+ "typeorm-ts-node-commonjs cache:clear -d src/data-source.ts"
314
+ ]
315
+ },
316
+ {
317
+ "name": "query",
318
+ "description": "Execute a raw SQL query against the configured database and display the results.",
319
+ "args": [
320
+ {
321
+ "name": "query",
322
+ "type": "string",
323
+ "required": true,
324
+ "description": "The SQL query to execute"
325
+ }
326
+ ],
327
+ "options": [
328
+ {
329
+ "name": "--dataSource",
330
+ "short": "-d",
331
+ "description": "Path to the data source configuration file",
332
+ "type": "string"
333
+ }
334
+ ],
335
+ "examples": [
336
+ "typeorm query \"SELECT * FROM users LIMIT 10\" -d src/data-source.ts",
337
+ "typeorm query \"SHOW TABLES\" -d src/data-source.ts",
338
+ "typeorm-ts-node-commonjs query \"SELECT COUNT(*) FROM orders\" -d src/data-source.ts"
339
+ ]
340
+ },
341
+ {
342
+ "name": "version",
343
+ "description": "Display installed versions of TypeORM, database drivers, and related packages.",
344
+ "args": [],
345
+ "options": [],
346
+ "examples": [
347
+ "typeorm version"
348
+ ]
349
+ }
350
+ ],
351
+ "globalOptions": [
352
+ {
353
+ "name": "--help",
354
+ "short": "-h",
355
+ "description": "Show help information"
356
+ },
357
+ {
358
+ "name": "--version",
359
+ "short": "-v",
360
+ "description": "Show TypeORM CLI version"
361
+ },
362
+ {
363
+ "name": "--dataSource",
364
+ "short": "-d",
365
+ "description": "Path to the TypeORM DataSource file",
366
+ "type": "string"
367
+ }
368
+ ],
369
+ "examples": [
370
+ "npx typeorm init --name my-project --database postgres",
371
+ "npx typeorm-ts-node-commonjs migration:generate src/migrations/Init -d src/data-source.ts",
372
+ "npx typeorm-ts-node-commonjs migration:run -d src/data-source.ts",
373
+ "npx typeorm-ts-node-commonjs migration:revert -d src/data-source.ts",
374
+ "npx typeorm migration:create src/migrations/AddUsersTable",
375
+ "npx typeorm entity:create src/entities/User",
376
+ "npx typeorm schema:sync -d src/data-source.ts",
377
+ "npx typeorm schema:log -d src/data-source.ts",
378
+ "npx typeorm query \"SELECT * FROM users\" -d src/data-source.ts",
379
+ "npx typeorm cache:clear -d src/data-source.ts"
380
+ ],
381
+ "relatedCommands": [
382
+ "prisma",
383
+ "sequelize",
384
+ "node",
385
+ "npm",
386
+ "npx"
387
+ ],
388
+ "contextEngine": {
389
+ "detectors": [
390
+ {
391
+ "name": "typeorm_datasource_detect",
392
+ "description": "Detect TypeORM data source configuration files",
393
+ "command": "find . -maxdepth 3 -name 'data-source*' -o -name 'ormconfig*' 2>/dev/null | head -5",
394
+ "parser": "lines",
395
+ "cacheFor": 60
396
+ },
397
+ {
398
+ "name": "typeorm_entity_detect",
399
+ "description": "Detect TypeORM entity files in the project",
400
+ "command": "find . -path '*/entities/*.ts' -o -path '*/entity/*.ts' 2>/dev/null | head -10",
401
+ "parser": "lines",
402
+ "cacheFor": 60
403
+ },
404
+ {
405
+ "name": "typeorm_migration_detect",
406
+ "description": "Detect TypeORM migration files",
407
+ "command": "find . -path '*/migrations/*.ts' -type f 2>/dev/null | head -10",
408
+ "parser": "lines",
409
+ "cacheFor": 30
410
+ },
411
+ {
412
+ "name": "typeorm_package_detect",
413
+ "description": "Detect typeorm in package.json dependencies",
414
+ "command": "cat package.json 2>/dev/null | grep -E '\"typeorm\"' | head -3",
415
+ "parser": "lines",
416
+ "cacheFor": 60
417
+ },
418
+ {
419
+ "name": "typeorm_version",
420
+ "description": "Get installed TypeORM version",
421
+ "command": "npx typeorm version 2>/dev/null | head -5 || echo 'not installed'",
422
+ "parser": "lines",
423
+ "cacheFor": 120
424
+ }
425
+ ]
426
+ }
427
+ }