@prisma-next/cli 0.1.0-pr.32.8 → 0.1.0-pr.32.9
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 +16 -0
- 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/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 -631
- package/dist/index.js.map +1 -1
- package/package.json +33 -9
package/README.md
CHANGED
|
@@ -825,6 +825,22 @@ pnpm test:integration # Run integration tests only
|
|
|
825
825
|
pnpm test:e2e # Run e2e tests only
|
|
826
826
|
```
|
|
827
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
|
+
|
|
828
844
|
## Package Location
|
|
829
845
|
|
|
830
846
|
This package is part of the **framework domain**, **tooling layer**, **migration plane**:
|