@prisma-next/cli 0.14.0-dev.4 → 0.14.0-dev.6

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 (122) hide show
  1. package/README.md +2 -2
  2. package/dist/cli.mjs +27 -13
  3. package/dist/cli.mjs.map +1 -1
  4. package/dist/{client-CJzuo5wX.mjs → client-EnAjSmZg.mjs} +4 -4
  5. package/dist/{client-CJzuo5wX.mjs.map → client-EnAjSmZg.mjs.map} +1 -1
  6. package/dist/{command-helpers-DGMvGBeX.mjs → command-helpers-6cNJZ863.mjs} +3 -3
  7. package/dist/{command-helpers-DGMvGBeX.mjs.map → command-helpers-6cNJZ863.mjs.map} +1 -1
  8. package/dist/commands/contract-emit.mjs +1 -1
  9. package/dist/commands/contract-infer.mjs +1 -1
  10. package/dist/commands/db-init.mjs +3 -3
  11. package/dist/commands/db-schema.mjs +3 -3
  12. package/dist/commands/db-sign.mjs +5 -5
  13. package/dist/commands/db-sign.mjs.map +1 -1
  14. package/dist/commands/db-update.mjs +4 -4
  15. package/dist/commands/db-verify.mjs +1 -1
  16. package/dist/commands/migrate.d.mts +1 -1
  17. package/dist/commands/migrate.mjs +6 -6
  18. package/dist/commands/migrate.mjs.map +1 -1
  19. package/dist/commands/migration-check.d.mts +1 -1
  20. package/dist/commands/migration-check.mjs +1 -1
  21. package/dist/commands/migration-graph.d.mts +1 -1
  22. package/dist/commands/migration-graph.mjs +4 -4
  23. package/dist/commands/migration-graph.mjs.map +1 -1
  24. package/dist/commands/migration-list.d.mts +1 -1
  25. package/dist/commands/migration-list.mjs +1 -1
  26. package/dist/commands/migration-log.d.mts +1 -1
  27. package/dist/commands/migration-log.mjs +1 -1
  28. package/dist/commands/migration-new.mjs +4 -4
  29. package/dist/commands/migration-new.mjs.map +1 -1
  30. package/dist/commands/migration-plan.mjs +1 -1
  31. package/dist/commands/migration-show.mjs +4 -4
  32. package/dist/commands/migration-show.mjs.map +1 -1
  33. package/dist/commands/migration-status.d.mts +1 -1
  34. package/dist/commands/migration-status.mjs +1 -1
  35. package/dist/commands/ref.d.mts +1 -1
  36. package/dist/commands/ref.mjs +3 -3
  37. package/dist/commands/ref.mjs.map +1 -1
  38. package/dist/commands/telemetry/index.mjs +1 -1
  39. package/dist/{contract-at-errors-CFXsstzm.mjs → contract-at-errors-DdxWRjMc.mjs} +2 -2
  40. package/dist/{contract-at-errors-CFXsstzm.mjs.map → contract-at-errors-DdxWRjMc.mjs.map} +1 -1
  41. package/dist/{contract-emit-B_qriF8B.mjs → contract-emit-D4xDDFkO.mjs} +6 -6
  42. package/dist/contract-emit-D4xDDFkO.mjs.map +1 -0
  43. package/dist/{contract-emit-C8HmtboH.mjs → contract-emit-fz6pDR2n.mjs} +4 -4
  44. package/dist/contract-emit-fz6pDR2n.mjs.map +1 -0
  45. package/dist/{contract-infer-BYT_ra_U.mjs → contract-infer-Ars4yjBv.mjs} +3 -3
  46. package/dist/{contract-infer-BYT_ra_U.mjs.map → contract-infer-Ars4yjBv.mjs.map} +1 -1
  47. package/dist/{contract-space-aggregate-loader-ClI1KN6d.mjs → contract-space-aggregate-loader-Bu2fjSWV.mjs} +2 -2
  48. package/dist/{contract-space-aggregate-loader-ClI1KN6d.mjs.map → contract-space-aggregate-loader-Bu2fjSWV.mjs.map} +1 -1
  49. package/dist/{db-verify-C24FKhb7.mjs → db-verify-CZxRV_er.mjs} +5 -5
  50. package/dist/db-verify-CZxRV_er.mjs.map +1 -0
  51. package/dist/exports/control-api.d.mts +1 -1
  52. package/dist/exports/control-api.mjs +2 -2
  53. package/dist/exports/index.mjs +2 -2
  54. package/dist/{format-C8yv6mXH.mjs → format-C3XdaDuA.mjs} +3 -3
  55. package/dist/format-C3XdaDuA.mjs.map +1 -0
  56. package/dist/{framework-components-YVQHhPH7.mjs → framework-components-5RljWT7Q.mjs} +2 -2
  57. package/dist/{framework-components-YVQHhPH7.mjs.map → framework-components-5RljWT7Q.mjs.map} +1 -1
  58. package/dist/{init-a3-ljrL3.mjs → init-C79Yb97u.mjs} +3 -3
  59. package/dist/{init-a3-ljrL3.mjs.map → init-C79Yb97u.mjs.map} +1 -1
  60. package/dist/{inspect-live-schema-DF6IwcDl.mjs → inspect-live-schema-DR8Eyt29.mjs} +4 -4
  61. package/dist/inspect-live-schema-DR8Eyt29.mjs.map +1 -0
  62. package/dist/{migration-check-VwM8xCZV.mjs → migration-check-CTcJfCC4.mjs} +5 -6
  63. package/dist/migration-check-CTcJfCC4.mjs.map +1 -0
  64. package/dist/migration-cli.mjs +1 -1
  65. package/dist/migration-cli.mjs.map +1 -1
  66. package/dist/{migration-command-scaffold-DA-Lhx6o.mjs → migration-command-scaffold-6OT_Q-3Y.mjs} +4 -4
  67. package/dist/migration-command-scaffold-6OT_Q-3Y.mjs.map +1 -0
  68. package/dist/{migration-list-DlJJ_38Z.mjs → migration-list-DVHVmMrf.mjs} +4 -4
  69. package/dist/migration-list-DVHVmMrf.mjs.map +1 -0
  70. package/dist/{migration-log-CG0qQAFm.mjs → migration-log-CQpc9JoL.mjs} +4 -4
  71. package/dist/migration-log-CQpc9JoL.mjs.map +1 -0
  72. package/dist/{migration-path-target-Ce6OZImp.mjs → migration-path-target-zK6RG6JY.mjs} +2 -2
  73. package/dist/{migration-path-target-Ce6OZImp.mjs.map → migration-path-target-zK6RG6JY.mjs.map} +1 -1
  74. package/dist/{migration-plan-W_E8FQOk.mjs → migration-plan-o2aqjnfd.mjs} +6 -6
  75. package/dist/migration-plan-o2aqjnfd.mjs.map +1 -0
  76. package/dist/{migration-status-CD-LC2Ip.mjs → migration-status-2aXGtYMW.mjs} +6 -7
  77. package/dist/migration-status-2aXGtYMW.mjs.map +1 -0
  78. package/dist/{telemetry-BIM4beEO.mjs → telemetry-BckOSUWG.mjs} +2 -2
  79. package/dist/{telemetry-BIM4beEO.mjs.map → telemetry-BckOSUWG.mjs.map} +1 -1
  80. package/dist/{types-C_tYiJYx.d.mts → types-qETCCNbe.d.mts} +2 -2
  81. package/dist/{types-C_tYiJYx.d.mts.map → types-qETCCNbe.d.mts.map} +1 -1
  82. package/dist/{verify-DcOYZ1tH.mjs → verify-DLqhL2LU.mjs} +2 -2
  83. package/dist/{verify-DcOYZ1tH.mjs.map → verify-DLqhL2LU.mjs.map} +1 -1
  84. package/package.json +21 -24
  85. package/src/cli.ts +3 -0
  86. package/src/commands/contract-emit.ts +1 -1
  87. package/src/commands/db-sign.ts +1 -1
  88. package/src/commands/db-verify.ts +1 -1
  89. package/src/commands/inspect-live-schema.ts +1 -1
  90. package/src/commands/lsp.ts +30 -0
  91. package/src/commands/migrate.ts +1 -1
  92. package/src/commands/migration-check.ts +1 -1
  93. package/src/commands/migration-graph.ts +1 -1
  94. package/src/commands/migration-list.ts +1 -1
  95. package/src/commands/migration-log.ts +1 -1
  96. package/src/commands/migration-new.ts +1 -1
  97. package/src/commands/migration-plan.ts +1 -1
  98. package/src/commands/migration-show.ts +1 -1
  99. package/src/commands/migration-status.ts +1 -1
  100. package/src/commands/ref.ts +1 -1
  101. package/src/control-api/operations/contract-emit.ts +1 -1
  102. package/src/control-api/operations/format.ts +1 -2
  103. package/src/migration-cli.ts +1 -1
  104. package/src/utils/migration-command-scaffold.ts +1 -1
  105. package/dist/config-loader-p9JMrekQ.mjs +0 -88
  106. package/dist/config-loader-p9JMrekQ.mjs.map +0 -1
  107. package/dist/config-loader.d.mts +0 -16
  108. package/dist/config-loader.d.mts.map +0 -1
  109. package/dist/config-loader.mjs +0 -2
  110. package/dist/contract-emit-B_qriF8B.mjs.map +0 -1
  111. package/dist/contract-emit-C8HmtboH.mjs.map +0 -1
  112. package/dist/db-verify-C24FKhb7.mjs.map +0 -1
  113. package/dist/format-C8yv6mXH.mjs.map +0 -1
  114. package/dist/inspect-live-schema-DF6IwcDl.mjs.map +0 -1
  115. package/dist/migration-check-VwM8xCZV.mjs.map +0 -1
  116. package/dist/migration-command-scaffold-DA-Lhx6o.mjs.map +0 -1
  117. package/dist/migration-list-DlJJ_38Z.mjs.map +0 -1
  118. package/dist/migration-log-CG0qQAFm.mjs.map +0 -1
  119. package/dist/migration-plan-W_E8FQOk.mjs.map +0 -1
  120. package/dist/migration-status-CD-LC2Ip.mjs.map +0 -1
  121. package/src/config-loader.ts +0 -92
  122. package/src/config-path-validation.ts +0 -74
@@ -1,4 +1,4 @@
1
- import { CliStructuredError as CliStructuredError$1, errorConfigValidation as errorConfigValidation$1, errorContractConfigMissing as errorContractConfigMissing$1, errorContractValidationFailed, errorDatabaseConnectionRequired, errorDriverRequired, errorFileNotFound, errorInvalidOutputFormat, errorMigrationPlanningFailed, errorOutputFormatMutex, errorTargetMigrationNotSupported, errorUnexpected as errorUnexpected$1 } from "@prisma-next/errors/control";
1
+ import { CliStructuredError as CliStructuredError$1, errorConfigValidation, errorContractConfigMissing as errorContractConfigMissing$1, errorContractValidationFailed, errorDatabaseConnectionRequired, errorDriverRequired, errorFileNotFound, errorInvalidOutputFormat, errorMigrationPlanningFailed, errorOutputFormatMutex, errorTargetMigrationNotSupported, errorUnexpected } from "@prisma-next/errors/control";
2
2
  import { ifDefined } from "@prisma-next/utils/defined";
3
3
  import { notOk } from "@prisma-next/utils/result";
4
4
  import { relative, resolve } from "pathe";
@@ -1663,6 +1663,6 @@ function addGlobalOptions(command) {
1663
1663
  } }).option("--format <pretty|json>", "Output format (default: pretty, or json when stdout is not a TTY)").option("--json", "Output as JSON (alias for --format json)").option("-q, --quiet", "Quiet mode: errors only").option("-v, --verbose", "Verbose output: debug info, timings").option("--trace", "Trace output: deep internals, stack traces").option("--color", "Force color output").option("--no-color", "Disable color output").option("--interactive", "Force interactive mode").option("--no-interactive", "Disable interactive prompts").option("-y, --yes", "Auto-accept prompts");
1664
1664
  }
1665
1665
  //#endregion
1666
- export { errorRefSetBundleNotFound as $, formatStyledHeader as A, errorContractValidationFailed as B, formatMigrationApplyOutput as C, isCI$1 as D, formatMigrationShowOutput as E, CliStructuredError$1 as F, errorHashMismatch as G, errorDestructiveChanges as H, ERROR_CODE_DESTRUCTIVE_CHANGES as I, errorMarkerMismatch as J, errorInvalidSpaceId as K, errorAmbiguousMigrationRef as L, createColorFormatter as M, formatDim as N, formatCommandHelp as O, isVerbose as P, errorPlanForgotTheFlag as Q, errorConfigValidation$1 as R, formatMigrationApplyCommandOutput as S, formatMigrationPlanOutput as T, errorDriverRequired as U, errorDatabaseConnectionRequired as V, errorFileNotFound as W, errorMigrationPlanningFailed as X, errorMarkerMissing as Y, errorPathUnreachable as Z, createTerminalUI as _, readContractEnvelope as a, errorSpaceNotFound as at, formatErrorJson as b, sanitizeErrorMessage as c, errorUnexpected$1 as ct, setCommandSeeAlso as d, requireLiveDatabase as dt, errorRefSetEmptySentinel as et, targetSupportsMigrations as f, parseGlobalFlagsOrExit as g, parseGlobalFlags as h, maskConnectionUrl as i, errorSnapshotMissing as it, formatSuccessMessage as j, formatRootHelp as k, setCommandDescriptions as l, mapMigrationToolsError as lt, deriveCanPrompt as m, collectDeclaredInvariants as n, errorRunnerFailed as nt, resolveContractPath as o, errorTargetMigrationNotSupported as ot, toStructuralEdge as p, errorLegendHumanOnly as q, getTargetMigrations as r, errorRuntime$1 as rt, resolveMigrationPaths as s, errorTargetMismatch as st, addGlobalOptions as t, errorRefSetHashNotInGraph as tt, setCommandExamples as u, mapRefResolutionError as ut, installShutdownHandlers as v, formatMigrationJson as w, formatErrorOutput as x, handleResult as y, errorContractConfigMissing$1 as z };
1666
+ export { errorRefSetBundleNotFound as $, formatStyledHeader as A, errorContractValidationFailed as B, formatMigrationApplyOutput as C, isCI$1 as D, formatMigrationShowOutput as E, CliStructuredError$1 as F, errorHashMismatch as G, errorDestructiveChanges as H, ERROR_CODE_DESTRUCTIVE_CHANGES as I, errorMarkerMismatch as J, errorInvalidSpaceId as K, errorAmbiguousMigrationRef as L, createColorFormatter as M, formatDim as N, formatCommandHelp as O, isVerbose as P, errorPlanForgotTheFlag as Q, errorConfigValidation as R, formatMigrationApplyCommandOutput as S, formatMigrationPlanOutput as T, errorDriverRequired as U, errorDatabaseConnectionRequired as V, errorFileNotFound as W, errorMigrationPlanningFailed as X, errorMarkerMissing as Y, errorPathUnreachable as Z, createTerminalUI as _, readContractEnvelope as a, errorSpaceNotFound as at, formatErrorJson as b, sanitizeErrorMessage as c, errorUnexpected as ct, setCommandSeeAlso as d, requireLiveDatabase as dt, errorRefSetEmptySentinel as et, targetSupportsMigrations as f, parseGlobalFlagsOrExit as g, parseGlobalFlags as h, maskConnectionUrl as i, errorSnapshotMissing as it, formatSuccessMessage as j, formatRootHelp as k, setCommandDescriptions as l, mapMigrationToolsError as lt, deriveCanPrompt as m, collectDeclaredInvariants as n, errorRunnerFailed as nt, resolveContractPath as o, errorTargetMigrationNotSupported as ot, toStructuralEdge as p, errorLegendHumanOnly as q, getTargetMigrations as r, errorRuntime$1 as rt, resolveMigrationPaths as s, errorTargetMismatch as st, addGlobalOptions as t, errorRefSetHashNotInGraph as tt, setCommandExamples as u, mapRefResolutionError as ut, installShutdownHandlers as v, formatMigrationJson as w, formatErrorOutput as x, handleResult as y, errorContractConfigMissing$1 as z };
1667
1667
 
1668
- //# sourceMappingURL=command-helpers-DGMvGBeX.mjs.map
1668
+ //# sourceMappingURL=command-helpers-6cNJZ863.mjs.map