@prisma-next/cli 0.0.1 → 0.1.0-dev.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.
- package/README.md +18 -3
- package/dist/chunk-3EODSNGS.js +914 -0
- package/dist/chunk-3EODSNGS.js.map +1 -0
- package/dist/chunk-4Q3MO4TK.js +134 -0
- package/dist/chunk-4Q3MO4TK.js.map +1 -0
- package/dist/chunk-HWYQOCAJ.js +47 -0
- package/dist/chunk-HWYQOCAJ.js.map +1 -0
- package/dist/cli.js +4 -1
- package/dist/cli.js.map +1 -1
- package/dist/commands/contract-emit.d.ts +5 -0
- package/dist/commands/contract-emit.js +9 -0
- package/dist/commands/contract-emit.js.map +1 -0
- package/dist/commands/db-introspect.d.ts +5 -0
- package/dist/commands/db-introspect.js +181 -0
- package/dist/commands/db-introspect.js.map +1 -0
- package/dist/commands/db-schema-verify.d.ts +5 -0
- package/dist/commands/db-schema-verify.js +147 -0
- package/dist/commands/db-schema-verify.js.map +1 -0
- package/dist/commands/db-sign.d.ts +5 -0
- package/dist/commands/db-sign.js +186 -0
- package/dist/commands/db-sign.js.map +1 -0
- package/dist/commands/db-verify.d.ts +5 -0
- package/dist/commands/db-verify.js +164 -0
- package/dist/commands/db-verify.js.map +1 -0
- package/dist/config-loader.d.ts +14 -0
- package/dist/config-loader.js +7 -0
- package/dist/config-loader.js.map +1 -0
- package/dist/index.d.ts +3 -4
- package/dist/index.js +6 -628
- package/dist/index.js.map +1 -1
- package/package.json +34 -10
package/README.md
CHANGED
|
@@ -351,9 +351,8 @@ sql schema (tables: 2)
|
|
|
351
351
|
"id": "column-user-id",
|
|
352
352
|
"label": "id: int4 (not null)",
|
|
353
353
|
"meta": {
|
|
354
|
-
"
|
|
355
|
-
"nullable": false
|
|
356
|
-
"nativeType": "int4"
|
|
354
|
+
"nativeType": "int4",
|
|
355
|
+
"nullable": false
|
|
357
356
|
}
|
|
358
357
|
}
|
|
359
358
|
]
|
|
@@ -826,6 +825,22 @@ pnpm test:integration # Run integration tests only
|
|
|
826
825
|
pnpm test:e2e # Run e2e tests only
|
|
827
826
|
```
|
|
828
827
|
|
|
828
|
+
## Entrypoints
|
|
829
|
+
|
|
830
|
+
The CLI package exports several subpaths for different use cases:
|
|
831
|
+
|
|
832
|
+
- **`@prisma-next/cli`** (main export): Exports `loadContractFromTs` and `createContractEmitCommand`
|
|
833
|
+
- **`@prisma-next/cli/config-types`**: Exports `defineConfig` and config types
|
|
834
|
+
- **`@prisma-next/cli/pack-loading`**: Exports `loadExtensionPacks` and `loadExtensionPackManifest`
|
|
835
|
+
- **`@prisma-next/cli/commands/db-introspect`**: Exports `createDbIntrospectCommand`
|
|
836
|
+
- **`@prisma-next/cli/commands/db-schema-verify`**: Exports `createDbSchemaVerifyCommand`
|
|
837
|
+
- **`@prisma-next/cli/commands/db-sign`**: Exports `createDbSignCommand`
|
|
838
|
+
- **`@prisma-next/cli/commands/db-verify`**: Exports `createDbVerifyCommand`
|
|
839
|
+
- **`@prisma-next/cli/commands/contract-emit`**: Exports `createContractEmitCommand`
|
|
840
|
+
- **`@prisma-next/cli/config-loader`**: Exports `loadConfig` function
|
|
841
|
+
|
|
842
|
+
**Important**: `loadContractFromTs` is exported from the main package (`@prisma-next/cli`), not from `@prisma-next/cli/pack-loading`. See `.cursor/rules/cli-package-exports.mdc` for import patterns.
|
|
843
|
+
|
|
829
844
|
## Package Location
|
|
830
845
|
|
|
831
846
|
This package is part of the **framework domain**, **tooling layer**, **migration plane**:
|