106 lines
3.9 KiB
JSON
106 lines
3.9 KiB
JSON
{
|
|
"name": "@suaveplan/api-graphql",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"description": "Stage-1 abstract GraphQL contract for the Suaveplan API plugin foundation. Owns the GraphqlRegistry / Resolver / LoaderFactory / SubscriptionResolver re-exports, federation SDL merger with collision detection + plugin namespace wrapping, @auth + @rateLimit directive descriptors, the GraphqlEngine lifecycle interface, the GRAPHQL_CODES registry, and the runGraphqlEngineConformance harness. No concrete engine — Yoga / Apollo land in Stage 7 packages and implement the contract.",
|
|
"license": "MIT",
|
|
"author": "Suaveplan Team",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"./registry": {
|
|
"types": "./dist/registry/index.d.ts",
|
|
"default": "./dist/registry/index.js"
|
|
},
|
|
"./resolver": {
|
|
"types": "./dist/resolver/index.d.ts",
|
|
"default": "./dist/resolver/index.js"
|
|
},
|
|
"./loader": {
|
|
"types": "./dist/loader/index.d.ts",
|
|
"default": "./dist/loader/index.js"
|
|
},
|
|
"./subscription": {
|
|
"types": "./dist/subscription/index.d.ts",
|
|
"default": "./dist/subscription/index.js"
|
|
},
|
|
"./federation": {
|
|
"types": "./dist/federation/index.d.ts",
|
|
"default": "./dist/federation/index.js"
|
|
},
|
|
"./directives": {
|
|
"types": "./dist/directives/index.d.ts",
|
|
"default": "./dist/directives/index.js"
|
|
},
|
|
"./engine": {
|
|
"types": "./dist/engine/index.d.ts",
|
|
"default": "./dist/engine/index.js"
|
|
},
|
|
"./capability-id": {
|
|
"types": "./dist/capability-id/index.d.ts",
|
|
"default": "./dist/capability-id/index.js"
|
|
},
|
|
"./error-codes": {
|
|
"types": "./dist/error-codes/index.d.ts",
|
|
"default": "./dist/error-codes/index.js"
|
|
},
|
|
"./testing": {
|
|
"types": "./dist/testing/index.d.ts",
|
|
"default": "./dist/testing/index.js"
|
|
},
|
|
"./validators": {
|
|
"types": "./dist/validators/index.d.ts",
|
|
"default": "./dist/validators/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"test": "vitest run --passWithNoTests",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage --passWithNoTests",
|
|
"lint": "bunx biome check src/ tests/",
|
|
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/ tests/",
|
|
"format": "bunx biome format --write --max-diagnostics 500 src/ tests/",
|
|
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/ tests/",
|
|
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
|
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
|
|
},
|
|
"dependencies": {
|
|
"@suaveplan/api-types": "workspace:^",
|
|
"@suaveplan/error": "workspace:^",
|
|
"tslib": "catalog:build",
|
|
"zod": "catalog:forms"
|
|
},
|
|
"devDependencies": {
|
|
"@suaveplan/testing": "workspace:^",
|
|
"@types/node": "catalog:",
|
|
"@vitest/coverage-istanbul": "catalog:testing",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:build",
|
|
"vite-plugin-dts": "catalog:build",
|
|
"vitest": "catalog:testing"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://npmjs.fq.io/",
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src",
|
|
"README.md"
|
|
]
|
|
}
|