@enjoys/context-engine 1.7.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 (484) hide show
  1. package/data/color/abap.json +8 -8
  2. package/data/color/angular.json +11 -36
  3. package/data/color/apex.json +8 -8
  4. package/data/color/awk.json +40 -80
  5. package/data/color/azcli.json +8 -8
  6. package/data/color/bicep.json +8 -8
  7. package/data/color/c.json +4 -4
  8. package/data/color/caddy.json +8 -8
  9. package/data/color/cameligo.json +8 -8
  10. package/data/color/clojure.json +8 -8
  11. package/data/color/coffee.json +10 -17
  12. package/data/color/cpp.json +4 -4
  13. package/data/color/crontab.json +8 -8
  14. package/data/color/csharp.json +49 -109
  15. package/data/color/css.json +8 -32
  16. package/data/color/cypher.json +8 -8
  17. package/data/color/docker-compose.json +8 -8
  18. package/data/color/dockerfile.json +8 -8
  19. package/data/color/doctest.json +8 -8
  20. package/data/color/dotenv.json +8 -8
  21. package/data/color/ecl.json +8 -8
  22. package/data/color/elixir.json +49 -109
  23. package/data/color/flow9.json +8 -8
  24. package/data/color/freemarker2.json +61 -121
  25. package/data/color/go.json +4 -4
  26. package/data/color/graphql.json +8 -8
  27. package/data/color/hcl.json +8 -8
  28. package/data/color/html.json +13 -43
  29. package/data/color/ini.json +8 -8
  30. package/data/color/java.json +49 -109
  31. package/data/color/javascript.json +13 -43
  32. package/data/color/json.json +8 -8
  33. package/data/color/julia.json +49 -109
  34. package/data/color/less.json +10 -17
  35. package/data/color/lexon.json +8 -8
  36. package/data/color/liquid.json +61 -121
  37. package/data/color/lua.json +4 -4
  38. package/data/color/m3.json +8 -8
  39. package/data/color/makefile.json +8 -8
  40. package/data/color/markdown.json +61 -121
  41. package/data/color/mdx.json +61 -121
  42. package/data/color/mips.json +8 -8
  43. package/data/color/msdax.json +8 -8
  44. package/data/color/mysql.json +8 -8
  45. package/data/color/nestjs.json +52 -18
  46. package/data/color/nextjs.json +60 -22
  47. package/data/color/nginx.json +8 -8
  48. package/data/color/objective-c.json +4 -4
  49. package/data/color/pascal.json +8 -8
  50. package/data/color/pascaligo.json +8 -8
  51. package/data/color/perl.json +4 -4
  52. package/data/color/pgsql.json +8 -8
  53. package/data/color/php.json +13 -43
  54. package/data/color/pla.json +8 -8
  55. package/data/color/postiats.json +8 -8
  56. package/data/color/powerquery.json +8 -8
  57. package/data/color/powershell.json +40 -80
  58. package/data/color/protobuf.json +8 -8
  59. package/data/color/python.json +49 -109
  60. package/data/color/qsharp.json +8 -8
  61. package/data/color/r.json +49 -109
  62. package/data/color/razor.json +61 -121
  63. package/data/color/react.json +65 -93
  64. package/data/color/redis-cli.json +8 -8
  65. package/data/color/redis.json +8 -8
  66. package/data/color/redshift.json +8 -8
  67. package/data/color/restructuredtext.json +8 -8
  68. package/data/color/ruby.json +49 -109
  69. package/data/color/rust.json +4 -4
  70. package/data/color/sb.json +8 -8
  71. package/data/color/scala.json +2 -12
  72. package/data/color/scheme.json +8 -8
  73. package/data/color/scss.json +10 -17
  74. package/data/color/shadcn.json +11 -36
  75. package/data/color/shell.json +8 -48
  76. package/data/color/sol.json +8 -8
  77. package/data/color/sparql.json +8 -8
  78. package/data/color/sql.json +8 -8
  79. package/data/color/ssh_config.json +8 -8
  80. package/data/color/st.json +8 -8
  81. package/data/color/swift.json +56 -37
  82. package/data/color/systemd.json +8 -8
  83. package/data/color/systemverilog.json +8 -8
  84. package/data/color/tailwindcss.json +6 -24
  85. package/data/color/tcl.json +40 -80
  86. package/data/color/toml.json +8 -8
  87. package/data/color/twig.json +61 -121
  88. package/data/color/typescript.json +13 -43
  89. package/data/color/vb.json +49 -109
  90. package/data/color/wgsl.json +8 -8
  91. package/data/color/xml.json +61 -121
  92. package/data/color/yaml.json +8 -8
  93. package/data/commands/air.json +117 -59
  94. package/data/commands/alembic.json +487 -301
  95. package/data/commands/ansible.json +236 -24
  96. package/data/commands/apt-get.json +244 -81
  97. package/data/commands/apt.json +294 -91
  98. package/data/commands/atlas.json +956 -426
  99. package/data/commands/aws-vault.json +266 -140
  100. package/data/commands/bazel.json +328 -103
  101. package/data/commands/brew.json +444 -140
  102. package/data/commands/btop.json +132 -59
  103. package/data/commands/cabal.json +1 -1
  104. package/data/commands/cd.json +90 -48
  105. package/data/commands/choco.json +430 -134
  106. package/data/commands/chown.json +139 -59
  107. package/data/commands/clickhouse-client.json +183 -74
  108. package/data/commands/cmake.json +301 -110
  109. package/data/commands/cockroach.json +269 -92
  110. package/data/commands/conda.json +435 -94
  111. package/data/commands/consul.json +377 -125
  112. package/data/commands/crystal.json +1 -1
  113. package/data/commands/dbmate.json +498 -257
  114. package/data/commands/django-admin.json +489 -86
  115. package/data/commands/dnf.json +428 -137
  116. package/data/commands/dockerfile.json +1 -1
  117. package/data/commands/dotnet.json +1 -1
  118. package/data/commands/drizzle-kit.json +435 -217
  119. package/data/commands/erlang.json +1 -1
  120. package/data/commands/eslint.json +193 -69
  121. package/data/commands/expo.json +65 -65
  122. package/data/commands/firebase.json +406 -97
  123. package/data/commands/flask.json +254 -79
  124. package/data/commands/flyctl.json +657 -148
  125. package/data/commands/flyway.json +580 -261
  126. package/data/commands/ghc.json +1 -1
  127. package/data/commands/glab.json +577 -116
  128. package/data/commands/gofmt.json +101 -51
  129. package/data/commands/golangci-lint.json +243 -89
  130. package/data/commands/gradle.json +182 -44
  131. package/data/commands/gunicorn.json +243 -83
  132. package/data/commands/hg.json +502 -92
  133. package/data/commands/htop.json +151 -56
  134. package/data/commands/influx.json +363 -119
  135. package/data/commands/iptables.json +251 -86
  136. package/data/commands/javac.json +1 -1
  137. package/data/commands/just.json +262 -93
  138. package/data/commands/linode-cli.json +360 -117
  139. package/data/commands/linux.json +1 -1
  140. package/data/commands/liquibase.json +739 -399
  141. package/data/commands/manifest.json +1 -1
  142. package/data/commands/mix.json +1 -1
  143. package/data/commands/mongosh.json +174 -73
  144. package/data/commands/mvn.json +179 -45
  145. package/data/commands/mysql.json +1 -1
  146. package/data/commands/nest.json +270 -69
  147. package/data/commands/netlify.json +384 -92
  148. package/data/commands/next.json +221 -71
  149. package/data/commands/nft.json +299 -105
  150. package/data/commands/nim.json +1 -1
  151. package/data/commands/nomad.json +398 -139
  152. package/data/commands/npx.json +141 -58
  153. package/data/commands/nx.json +348 -82
  154. package/data/commands/ocaml.json +1 -1
  155. package/data/commands/opam.json +1 -1
  156. package/data/commands/packer.json +273 -92
  157. package/data/commands/pacman.json +228 -82
  158. package/data/commands/pg_dump.json +233 -83
  159. package/data/commands/pg_restore.json +224 -74
  160. package/data/commands/pipenv.json +300 -79
  161. package/data/commands/pipx.json +241 -53
  162. package/data/commands/poetry.json +521 -96
  163. package/data/commands/prettier.json +201 -71
  164. package/data/commands/pulumi.json +409 -130
  165. package/data/commands/pytest.json +240 -92
  166. package/data/commands/railway.json +343 -91
  167. package/data/commands/react-native.json +57 -57
  168. package/data/commands/rebar3.json +1 -1
  169. package/data/commands/render.json +235 -72
  170. package/data/commands/rustc.json +1 -1
  171. package/data/commands/rustup.json +339 -103
  172. package/data/commands/scala.json +1 -1
  173. package/data/commands/scp.json +146 -60
  174. package/data/commands/sequelize.json +629 -342
  175. package/data/commands/sqlite3.json +167 -68
  176. package/data/commands/stack.json +1 -1
  177. package/data/commands/supabase.json +433 -108
  178. package/data/commands/svn.json +509 -75
  179. package/data/commands/swiftc.json +1 -1
  180. package/data/commands/terraform.json +1505 -824
  181. package/data/commands/terragrunt.json +217 -83
  182. package/data/commands/top.json +167 -61
  183. package/data/commands/tsc.json +234 -85
  184. package/data/commands/turbo.json +263 -72
  185. package/data/commands/typeorm.json +427 -262
  186. package/data/commands/ufw.json +254 -76
  187. package/data/commands/unzip.json +154 -59
  188. package/data/commands/uvicorn.json +215 -73
  189. package/data/commands/vault.json +462 -144
  190. package/data/commands/vercel.json +410 -98
  191. package/data/commands/vite.json +239 -63
  192. package/data/commands/wasm-pack.json +254 -90
  193. package/data/commands/winget.json +466 -131
  194. package/data/commands/yum.json +323 -98
  195. package/data/commands/zig.json +1 -1
  196. package/data/commands/zip.json +159 -59
  197. package/data/completion/abap.json +423 -341
  198. package/data/completion/apex.json +423 -43
  199. package/data/completion/awk.json +1 -45
  200. package/data/completion/azcli.json +58 -115
  201. package/data/completion/bicep.json +90 -90
  202. package/data/completion/cameligo.json +533 -487
  203. package/data/completion/clojure.json +533 -488
  204. package/data/completion/coffee.json +522 -479
  205. package/data/completion/crontab.json +1 -34
  206. package/data/completion/cypher.json +687 -628
  207. package/data/completion/docker-compose.json +962 -959
  208. package/data/completion/dockerfile.json +1270 -1285
  209. package/data/completion/doctest.json +489 -526
  210. package/data/completion/ecl.json +588 -598
  211. package/data/completion/elixir.json +709 -649
  212. package/data/completion/flow9.json +401 -376
  213. package/data/completion/freemarker2.json +632 -579
  214. package/data/completion/go.json +10037 -10037
  215. package/data/completion/julia.json +698 -638
  216. package/data/completion/less.json +412 -378
  217. package/data/completion/lexon.json +80 -52
  218. package/data/completion/liquid.json +544 -499
  219. package/data/completion/lua.json +2535 -2634
  220. package/data/completion/m3.json +643 -587
  221. package/data/completion/makefile.json +1 -56
  222. package/data/completion/markdown.json +1 -56
  223. package/data/completion/mips.json +83 -49
  224. package/data/completion/msdax.json +511 -467
  225. package/data/completion/mysql.json +676 -638
  226. package/data/completion/objective-c.json +687 -629
  227. package/data/completion/pascal.json +709 -649
  228. package/data/completion/pascaligo.json +544 -517
  229. package/data/completion/perl.json +1 -89
  230. package/data/completion/pgsql.json +698 -638
  231. package/data/completion/postiats.json +445 -417
  232. package/data/completion/powerquery.json +621 -587
  233. package/data/completion/powershell.json +1 -166
  234. package/data/completion/protobuf.json +7 -117
  235. package/data/completion/qsharp.json +643 -587
  236. package/data/completion/r.json +2469 -1985
  237. package/data/completion/razor.json +533 -488
  238. package/data/completion/redis-cli.json +120 -60
  239. package/data/completion/redis.json +423 -389
  240. package/data/completion/redshift.json +698 -638
  241. package/data/completion/restructuredtext.json +544 -499
  242. package/data/completion/ruby.json +1930 -1531
  243. package/data/completion/sb.json +434 -398
  244. package/data/completion/scheme.json +555 -510
  245. package/data/completion/scss.json +544 -500
  246. package/data/completion/shell.json +115 -70
  247. package/data/completion/sol.json +720 -660
  248. package/data/completion/sparql.json +643 -587
  249. package/data/completion/st.json +698 -638
  250. package/data/completion/systemverilog.json +698 -638
  251. package/data/completion/tailwindcss.json +2821 -284
  252. package/data/completion/tcl.json +544 -499
  253. package/data/completion/twig.json +555 -510
  254. package/data/completion/vb.json +720 -660
  255. package/data/completion/wgsl.json +709 -649
  256. package/data/foldingRange/abap.json +0 -24
  257. package/data/foldingRange/angular.json +0 -18
  258. package/data/foldingRange/apex.json +0 -24
  259. package/data/foldingRange/awk.json +0 -18
  260. package/data/foldingRange/azcli.json +0 -18
  261. package/data/foldingRange/bicep.json +0 -18
  262. package/data/foldingRange/c.json +0 -24
  263. package/data/foldingRange/caddy.json +0 -18
  264. package/data/foldingRange/cameligo.json +0 -18
  265. package/data/foldingRange/clojure.json +0 -18
  266. package/data/foldingRange/coffee.json +0 -18
  267. package/data/foldingRange/cpp.json +0 -24
  268. package/data/foldingRange/crontab.json +0 -18
  269. package/data/foldingRange/csharp.json +0 -24
  270. package/data/foldingRange/css.json +5 -19
  271. package/data/foldingRange/cypher.json +0 -18
  272. package/data/foldingRange/dart.json +0 -24
  273. package/data/foldingRange/docker-compose.json +0 -18
  274. package/data/foldingRange/dockerfile.json +0 -18
  275. package/data/foldingRange/doctest.json +0 -18
  276. package/data/foldingRange/dotenv.json +0 -18
  277. package/data/foldingRange/ecl.json +0 -30
  278. package/data/foldingRange/elixir.json +0 -24
  279. package/data/foldingRange/flow9.json +0 -12
  280. package/data/foldingRange/freemarker2.json +0 -12
  281. package/data/foldingRange/go.json +0 -24
  282. package/data/foldingRange/graphql.json +0 -12
  283. package/data/foldingRange/hcl.json +0 -12
  284. package/data/foldingRange/html.json +0 -18
  285. package/data/foldingRange/ini.json +0 -18
  286. package/data/foldingRange/java.json +0 -24
  287. package/data/foldingRange/javascript.json +0 -24
  288. package/data/foldingRange/json.json +0 -12
  289. package/data/foldingRange/julia.json +0 -12
  290. package/data/foldingRange/kotlin.json +0 -18
  291. package/data/foldingRange/less.json +0 -18
  292. package/data/foldingRange/lexon.json +0 -12
  293. package/data/foldingRange/liquid.json +0 -18
  294. package/data/foldingRange/lua.json +0 -24
  295. package/data/foldingRange/m3.json +0 -18
  296. package/data/foldingRange/makefile.json +0 -12
  297. package/data/foldingRange/markdown.json +0 -12
  298. package/data/foldingRange/mdx.json +0 -18
  299. package/data/foldingRange/mips.json +0 -18
  300. package/data/foldingRange/msdax.json +0 -12
  301. package/data/foldingRange/mysql.json +0 -18
  302. package/data/foldingRange/nestjs.json +0 -24
  303. package/data/foldingRange/nextjs.json +0 -24
  304. package/data/foldingRange/nginx.json +0 -12
  305. package/data/foldingRange/objective-c.json +0 -18
  306. package/data/foldingRange/pascal.json +0 -18
  307. package/data/foldingRange/pascaligo.json +0 -12
  308. package/data/foldingRange/perl.json +0 -18
  309. package/data/foldingRange/pgsql.json +0 -18
  310. package/data/foldingRange/php.json +0 -18
  311. package/data/foldingRange/pla.json +0 -12
  312. package/data/foldingRange/postiats.json +0 -18
  313. package/data/foldingRange/powerquery.json +0 -12
  314. package/data/foldingRange/powershell.json +0 -18
  315. package/data/foldingRange/protobuf.json +0 -12
  316. package/data/foldingRange/python.json +0 -18
  317. package/data/foldingRange/qsharp.json +0 -12
  318. package/data/foldingRange/r.json +0 -12
  319. package/data/foldingRange/razor.json +0 -18
  320. package/data/foldingRange/react.json +0 -24
  321. package/data/foldingRange/redis-cli.json +0 -12
  322. package/data/foldingRange/redis.json +0 -18
  323. package/data/foldingRange/redshift.json +0 -18
  324. package/data/foldingRange/restructuredtext.json +0 -12
  325. package/data/foldingRange/ruby.json +0 -24
  326. package/data/foldingRange/rust.json +0 -18
  327. package/data/foldingRange/sb.json +0 -18
  328. package/data/foldingRange/scala.json +0 -18
  329. package/data/foldingRange/scheme.json +0 -12
  330. package/data/foldingRange/scss.json +0 -18
  331. package/data/foldingRange/shadcn.json +0 -24
  332. package/data/foldingRange/shell.json +0 -18
  333. package/data/foldingRange/sol.json +0 -18
  334. package/data/foldingRange/sparql.json +0 -12
  335. package/data/foldingRange/sql.json +0 -18
  336. package/data/foldingRange/ssh_config.json +0 -12
  337. package/data/foldingRange/st.json +0 -18
  338. package/data/foldingRange/swift.json +0 -18
  339. package/data/foldingRange/systemd.json +0 -12
  340. package/data/foldingRange/systemverilog.json +0 -12
  341. package/data/foldingRange/tailwindcss.json +0 -12
  342. package/data/foldingRange/tcl.json +0 -18
  343. package/data/foldingRange/toml.json +0 -12
  344. package/data/foldingRange/twig.json +0 -12
  345. package/data/foldingRange/typescript.json +0 -24
  346. package/data/foldingRange/vb.json +0 -18
  347. package/data/foldingRange/wgsl.json +0 -12
  348. package/data/foldingRange/xml.json +0 -18
  349. package/data/foldingRange/yaml.json +0 -12
  350. package/data/formatting/awk.json +5 -5
  351. package/data/formatting/azcli.json +1 -1
  352. package/data/formatting/c.json +5 -5
  353. package/data/formatting/caddy.json +4 -4
  354. package/data/formatting/cpp.json +5 -5
  355. package/data/formatting/crontab.json +2 -2
  356. package/data/formatting/csharp.json +5 -5
  357. package/data/formatting/dockerfile.json +4 -3
  358. package/data/formatting/dotenv.json +2 -2
  359. package/data/formatting/elixir.json +3 -3
  360. package/data/formatting/go.json +5 -5
  361. package/data/formatting/graphql.json +4 -4
  362. package/data/formatting/hcl.json +8 -8
  363. package/data/formatting/html.json +8 -8
  364. package/data/formatting/ini.json +4 -3
  365. package/data/formatting/java.json +5 -5
  366. package/data/formatting/javascript.json +5 -5
  367. package/data/formatting/json.json +4 -4
  368. package/data/formatting/less.json +8 -4
  369. package/data/formatting/lua.json +5 -5
  370. package/data/formatting/makefile.json +8 -4
  371. package/data/formatting/markdown.json +4 -4
  372. package/data/formatting/mips.json +2 -1
  373. package/data/formatting/mysql.json +1 -1
  374. package/data/formatting/nginx.json +5 -5
  375. package/data/formatting/perl.json +5 -5
  376. package/data/formatting/pgsql.json +1 -1
  377. package/data/formatting/php.json +5 -5
  378. package/data/formatting/powershell.json +5 -5
  379. package/data/formatting/protobuf.json +4 -4
  380. package/data/formatting/python.json +5 -5
  381. package/data/formatting/r.json +6 -6
  382. package/data/formatting/redis-cli.json +2 -2
  383. package/data/formatting/redshift.json +1 -1
  384. package/data/formatting/restructuredtext.json +2 -1
  385. package/data/formatting/ruby.json +5 -5
  386. package/data/formatting/rust.json +5 -5
  387. package/data/formatting/scala.json +6 -2
  388. package/data/formatting/scss.json +8 -4
  389. package/data/formatting/shell.json +1 -16
  390. package/data/formatting/sql.json +5 -5
  391. package/data/formatting/ssh_config.json +4 -3
  392. package/data/formatting/swift.json +6 -2
  393. package/data/formatting/systemd.json +2 -2
  394. package/data/formatting/toml.json +4 -3
  395. package/data/formatting/typescript.json +5 -5
  396. package/data/formatting/xml.json +8 -8
  397. package/data/formatting/yaml.json +4 -3
  398. package/data/links/abap.json +14 -14
  399. package/data/links/apex.json +18 -18
  400. package/data/links/awk.json +20 -20
  401. package/data/links/azcli.json +20 -20
  402. package/data/links/bicep.json +12 -12
  403. package/data/links/c.json +22 -22
  404. package/data/links/caddy.json +22 -22
  405. package/data/links/cameligo.json +20 -20
  406. package/data/links/clojure.json +12 -12
  407. package/data/links/coffee.json +14 -14
  408. package/data/links/cpp.json +22 -22
  409. package/data/links/crontab.json +22 -22
  410. package/data/links/csharp.json +22 -22
  411. package/data/links/cypher.json +18 -18
  412. package/data/links/dart.json +2 -2
  413. package/data/links/docker-compose.json +8 -8
  414. package/data/links/dockerfile.json +22 -22
  415. package/data/links/doctest.json +20 -20
  416. package/data/links/dotenv.json +20 -20
  417. package/data/links/ecl.json +18 -18
  418. package/data/links/elixir.json +12 -12
  419. package/data/links/flow9.json +22 -22
  420. package/data/links/freemarker2.json +10 -10
  421. package/data/links/go.json +23 -23
  422. package/data/links/graphql.json +18 -18
  423. package/data/links/hcl.json +22 -22
  424. package/data/links/html.json +19 -19
  425. package/data/links/ini.json +20 -20
  426. package/data/links/java.json +22 -22
  427. package/data/links/javascript.json +20 -20
  428. package/data/links/json.json +16 -16
  429. package/data/links/julia.json +16 -16
  430. package/data/links/kotlin.json +14 -14
  431. package/data/links/less.json +10 -10
  432. package/data/links/lexon.json +24 -24
  433. package/data/links/liquid.json +8 -8
  434. package/data/links/lua.json +22 -22
  435. package/data/links/m3.json +20 -20
  436. package/data/links/makefile.json +22 -22
  437. package/data/links/markdown.json +25 -25
  438. package/data/links/mdx.json +12 -12
  439. package/data/links/mips.json +22 -22
  440. package/data/links/msdax.json +22 -22
  441. package/data/links/mysql.json +17 -17
  442. package/data/links/nginx.json +22 -22
  443. package/data/links/objective-c.json +14 -14
  444. package/data/links/pascal.json +16 -16
  445. package/data/links/pascaligo.json +20 -20
  446. package/data/links/perl.json +22 -22
  447. package/data/links/pgsql.json +14 -14
  448. package/data/links/php.json +22 -22
  449. package/data/links/pla.json +24 -24
  450. package/data/links/postiats.json +18 -18
  451. package/data/links/powerquery.json +20 -20
  452. package/data/links/powershell.json +24 -24
  453. package/data/links/protobuf.json +22 -22
  454. package/data/links/python.json +27 -22
  455. package/data/links/qsharp.json +20 -20
  456. package/data/links/r.json +21 -21
  457. package/data/links/razor.json +8 -8
  458. package/data/links/redis-cli.json +22 -22
  459. package/data/links/redis.json +22 -22
  460. package/data/links/redshift.json +16 -16
  461. package/data/links/restructuredtext.json +10 -10
  462. package/data/links/ruby.json +22 -22
  463. package/data/links/rust.json +22 -22
  464. package/data/links/sb.json +24 -24
  465. package/data/links/scheme.json +12 -12
  466. package/data/links/scss.json +2 -2
  467. package/data/links/shell.json +1 -6
  468. package/data/links/sol.json +16 -16
  469. package/data/links/sparql.json +18 -18
  470. package/data/links/sql.json +18 -18
  471. package/data/links/ssh_config.json +22 -22
  472. package/data/links/st.json +20 -20
  473. package/data/links/swift.json +8 -8
  474. package/data/links/systemd.json +18 -18
  475. package/data/links/systemverilog.json +20 -20
  476. package/data/links/tcl.json +16 -16
  477. package/data/links/toml.json +16 -16
  478. package/data/links/typescript.json +20 -20
  479. package/data/links/vb.json +16 -16
  480. package/data/links/wgsl.json +24 -24
  481. package/data/links/xml.json +22 -22
  482. package/data/links/yaml.json +12 -12
  483. package/data/manifest.json +2 -2
  484. package/package.json +1 -1
@@ -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
+ }