library Package manifest v5.1.3
lib.graphql-core Shared GraphQL core: Pothos builder factory, scalars, tracing & complexity
@lssm-tech/lib.graphql-coreCopy name
Source, release and verification context Source snapshot bcc79fcc · Declared package version 5.1.3. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.
Package source ↗ Manifest ↗ server node
USED BY 0 workspace packages →
THIS PACKAGE lib.graphql-core platform
→
DEPENDS ON 11 distinct packages
Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.
Dependencies Used by 0 chemins d’import 2
8 déclarations · les 6 premières affichées SELECT TO INSPECT
◇ lib.contracts-spec-core workspace:^ › ↗ @pothos/core catalog:graphql › ↗ @pothos/plugin-complexity catalog:graphql › ↗ @pothos/plugin-dataloader catalog:graphql › ↗ @pothos/plugin-relay catalog:graphql › ↗ @pothos/plugin-tracing catalog:graphql ›
Afficher 2 de plus ↓ Runtime DEPENDENCY lib.contracts-spec-core Portable ContractSpec feature models, ownership, query, result, approval and reference primitives
Plage déclarée workspace:^
Domaine core contracts
Couche fondation Lire le manuel du paquet ↗
The selected source relationships above remain readable. The complete import and dependency references are below.
Guide Capacités Imports Dependencies Scripts @lssm-tech/lib.graphql-core
Website: https://contractspec.io
Shared GraphQL core: Pothos builder factory, scalars, tracing & complexity.
What It Provides
Couche : lib.
Consumers : graphql-federation, graphql-prisma, contracts-runtime-server-graphql, bundles.
Related ContractSpec packages include @lssm-tech/tool.bun, @lssm-tech/tool.typescript.
Related ContractSpec packages include @lssm-tech/tool.bun, @lssm-tech/tool.typescript.
Installation
npm install @lssm-tech/lib.graphql-core
or
bun add @lssm-tech/lib.graphql-core
Usage
Import the root entrypoint from @lssm-tech/lib.graphql-core, or choose a documented subpath when you only need one part of the package surface.
Architecture
src/index.ts is the root public barrel and package entrypoint.
Public Entry Points
Export . resolves through ./src/index.ts.
Local Commands
bun run dev — contractspec-bun-build dev
bun run build — contractspec-bun-build build
bun run typecheck — tsgo --noEmit
bun run publish:pkg — bun publish --tolerate-republish --ignore-scripts --verbose
bun run publish:pkg:canary — bun publish:pkg --tag canary
bun run clean — rm -rf dist
bun run prebuild — contractspec-bun-build prebuild
bun run build:bundle — contractspec-bun-build transpile
bun run build:types — contractspec-bun-build types
Recent Updates
Replace eslint+prettier by biomejs to optimize speed.
Notes
Builder factory is consumed by all GraphQL packages — interface changes have high blast radius.
Scalar definitions must stay aligned with the schema lib.
Tracing and complexity plugins must not introduce runtime overhead in production without opt-in.
Declared capabilities. Lib Graphql Core Shared GraphQL core: Pothos builder factory, scalars, tracing & complexity
Use it to Adopt shared graphql core: pothos builder factory, scalars, tracing & complexity Requires Choose another boundary when The @lssm-tech/lib.graphql-core package constraints do not match the target runtime or platform. @lssm-tech/lib.graphql-core
@lssm-tech/lib.graphql-core/graphql-core.feature
Imports and export paths. 2 entries These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.
Find an import or subpath 2 imports
@lssm-tech/lib.graphql-coreCopy path @lssm-tech/lib.graphql-core/graphql-core.featureCopy path Show more imports No export paths match this search.
Dependencies and related packages. Runtime dependencies 8
@pothos/core catalog:graphql
@pothos/plugin-complexity catalog:graphql
@pothos/plugin-dataloader catalog:graphql
@pothos/plugin-relay catalog:graphql
@pothos/plugin-tracing catalog:graphql
graphql catalog:graphql
graphql-scalars ^2.0.0 Peer dependencies 1
graphql >=16.14.2 Development dependencies 3
typescript catalog: Package scripts. Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.
publish:pkg bun publish --tolerate-republish --ignore-scripts --verbose
publish:pkg:canary bun publish:pkg --tag canary
build contractspec-bun-build build
dev contractspec-bun-build dev
clean rm -rf dist
prebuild contractspec-bun-build prebuild
build:bundle contractspec-bun-build transpile
build:types contractspec-bun-build types
typecheck tsgo --noEmit