@prisma-next/cli 0.0.1 → 0.1.0-pr.25.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 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
- "typeId": "pg/int4@1",
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**: