
Security News
PolinRider: North Korea-Linked Supply Chain Campaign Expands Across Open Source Ecosystems
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.
@prisma-next/config
Advanced tools
Internal package. This package is an implementation detail of
prisma-nextand is published only to support its runtime. Its API is unstable and may change without notice. Do not depend on this package directly; installprisma-nextinstead.
Config authoring types and validation for prisma-next.config.ts.
This package owns the shared config contract used by tooling and authoring packages:
PrismaNextConfig and ContractConfig typesdefineConfig() normalization/defaultingvalidateConfig() structural/runtime-shape validationfamily, target, adapter, optional driver, and optional extensionPacks (extensions is rejected at runtime)contract.source) and diagnostics shapecontract.source.inputsc12, file I/O) - handled by @prisma-next/config-loaderimport { defineConfig } from '@prisma-next/config/config-types';
import { validateConfig } from '@prisma-next/config/config-validation';
const config = defineConfig({
family: sqlFamilyDescriptor,
target: postgresTargetDescriptor,
adapter: postgresAdapterDescriptor,
contract: {
source: {
inputs: ['./prisma/schema.prisma'],
load: async (_context) =>
/* Result<Contract, ContractSourceDiagnostics> */ null as never,
},
},
});
validateConfig(config);
Declare source.inputs only for source files that are not already covered by the config module
graph, such as PSL schema paths or TypeScript contract paths passed as strings. Do not include
emitted artifact paths derived from contract.output (for example contract.json or the
colocated contract.d.ts); @prisma-next/config-loader resolves and validates those paths
before emit/watch commands run. Tooling should always treat the config module graph as watched by default.
FAQs
Prisma Next config authoring types and validation
The npm package @prisma-next/config receives a total of 13,897 weekly downloads. As such, @prisma-next/config popularity was classified as popular.
We found that @prisma-next/config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.