library Package manifest v6.0.3
lib.graphql-federation Pothos federation helpers and subgraph schema export utilities
@lssm-tech/lib.graphql-federationCopy name
Source, release and verification context Source snapshot bcc79fcc · Declared package version 6.0.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-federation platform
→
DEPENDS ON 9 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
6 déclarations SELECT TO INSPECT
↗ @apollo/subgraph ^2.15.1 › ◇ lib.contracts-spec-core workspace:^ › ↗ @pothos/core catalog:graphql › ↗ @pothos/plugin-directives ^4.3.2 › ↗ @pothos/plugin-federation ^4.5.3 › ↗ graphql catalog:graphql ›
Afficher 0 de plus ↓ Runtime DEPENDENCY @apollo/subgraph Declared external dependency. There is no workspace manual for this package in the captured inventory.
Plage déclarée ^2.15.1 Examiner cette déclaration ↗
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-federation
Website: https://contractspec.io
Apollo Federation hosts require GraphQL ^16.14.2. Apollo Subgraph 2.15 does not support GraphQL 17; do not force that version through overrides.
Pothos federation helpers and subgraph schema export utilities.
What It Provides
Couche : lib.
Consumers : bundles with federated GraphQL.
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-federation
or
bun add @lssm-tech/lib.graphql-federation
Usage
Import the root entrypoint from @lssm-tech/lib.graphql-federation, 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
Federation directives must comply with the Apollo Federation spec; non-compliant changes break gateway composition.
Depends on graphql-core — keep builder factory usage aligned.
Declared capabilities. Lib Graphql Federation Pothos federation helpers and subgraph schema export utilities
Use it to Adopt pothos federation helpers and subgraph schema export utilities Requires Choose another boundary when The @lssm-tech/lib.graphql-federation package constraints do not match the target runtime or platform. @lssm-tech/lib.graphql-federation
@lssm-tech/lib.graphql-federation/graphql-federation.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-federationCopy path @lssm-tech/lib.graphql-federation/graphql-federation.featureCopy path Show more imports No export paths match this search.
Dependencies and related packages. Runtime dependencies 6
@apollo/subgraph ^2.15.1
@pothos/core catalog:graphql
@pothos/plugin-directives ^4.3.2
@pothos/plugin-federation ^4.5.3
graphql catalog:graphql 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