@prisma-next/cli 0.3.0-dev.8 → 0.3.0-pr.71.10
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.
- package/README.md +2 -2
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ Commands use separate short and long descriptions via `setCommandDescriptions()`
|
|
|
46
46
|
- **Short description**: One-liner used in command trees and headers (e.g., "Emit signed contract artifacts")
|
|
47
47
|
- **Long description**: Multiline text shown at the bottom of help output with detailed context
|
|
48
48
|
|
|
49
|
-
See
|
|
49
|
+
See `src/utils/command-helpers.ts` for `setCommandDescriptions()` and `getLongDescription()`.
|
|
50
50
|
|
|
51
51
|
## Commands
|
|
52
52
|
|
|
@@ -865,7 +865,7 @@ See `.cursor/rules/config-validation-and-normalization.mdc` for detailed pattern
|
|
|
865
865
|
- **Error Handling**: Uses `exitOverride()` to catch unhandled errors (non-structured errors that fail fast) and print stack traces. Commands handle structured errors themselves via `process.exit()`.
|
|
866
866
|
- **Command Taxonomy**: Groups commands by domain/plane (e.g., `contract emit`)
|
|
867
867
|
- **Help Formatting**: Uses `configureHelp()` to customize help output with styled format matching normal command output. Root help shows "prisma-next" title with command tree; command help shows "prisma-next <command> ➜ <description>" with options and docs URLs. See `utils/output.ts` for help formatters.
|
|
868
|
-
- **Command Descriptions**:
|
|
868
|
+
- **Command Descriptions**: See the “Command Descriptions” section above for `setCommandDescriptions()` usage.
|
|
869
869
|
|
|
870
870
|
### Contract Emit Command (`commands/contract-emit.ts`)
|
|
871
871
|
- Canonical command implementation using commander
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma-next/cli",
|
|
3
|
-
"version": "0.3.0-
|
|
3
|
+
"version": "0.3.0-pr.71.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"files": [
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"string-width": "^7.2.0",
|
|
21
21
|
"strip-ansi": "^7.1.2",
|
|
22
22
|
"wrap-ansi": "^9.0.2",
|
|
23
|
-
"@prisma-next/contract": "0.3.0-
|
|
24
|
-
"@prisma-next/core-control-plane": "0.3.0-
|
|
25
|
-
"@prisma-next/emitter": "0.3.0-
|
|
26
|
-
"@prisma-next/utils": "0.3.0-
|
|
23
|
+
"@prisma-next/contract": "0.3.0-pr.71.10",
|
|
24
|
+
"@prisma-next/core-control-plane": "0.3.0-pr.71.10",
|
|
25
|
+
"@prisma-next/emitter": "0.3.0-pr.71.10",
|
|
26
|
+
"@prisma-next/utils": "0.3.0-pr.71.10"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "24.10.4",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"tsup": "8.5.1",
|
|
32
32
|
"typescript": "5.9.3",
|
|
33
33
|
"vitest": "4.0.16",
|
|
34
|
-
"@prisma-next/sql-contract": "0.3.0-
|
|
35
|
-
"@prisma-next/sql-contract-emitter": "0.3.0-
|
|
36
|
-
"@prisma-next/sql-
|
|
37
|
-
"@prisma-next/
|
|
38
|
-
"@prisma-next/sql-
|
|
39
|
-
"@prisma-next/
|
|
34
|
+
"@prisma-next/sql-contract": "0.3.0-pr.71.10",
|
|
35
|
+
"@prisma-next/sql-contract-emitter": "0.3.0-pr.71.10",
|
|
36
|
+
"@prisma-next/sql-operations": "0.3.0-pr.71.10",
|
|
37
|
+
"@prisma-next/test-utils": "0.0.1",
|
|
38
|
+
"@prisma-next/sql-contract-ts": "0.3.0-pr.71.10",
|
|
39
|
+
"@prisma-next/sql-runtime": "0.3.0-pr.71.10"
|
|
40
40
|
},
|
|
41
41
|
"exports": {
|
|
42
42
|
".": {
|
|
@@ -81,9 +81,9 @@
|
|
|
81
81
|
"test": "vitest run",
|
|
82
82
|
"test:coverage": "vitest run --coverage",
|
|
83
83
|
"typecheck": "tsc --project tsconfig.json --noEmit",
|
|
84
|
-
"lint": "biome check . --
|
|
85
|
-
"lint:fix": "biome check --write .
|
|
86
|
-
"lint:fix:unsafe": "biome check --write --unsafe .
|
|
84
|
+
"lint": "biome check . --error-on-warnings",
|
|
85
|
+
"lint:fix": "biome check --write .",
|
|
86
|
+
"lint:fix:unsafe": "biome check --write --unsafe .",
|
|
87
87
|
"clean": "node ../../../../scripts/clean.mjs"
|
|
88
88
|
}
|
|
89
89
|
}
|