{ "name": "platform", "type": "module", "repository": { "type": "git", "url": "graphql-hive/platform" }, "author": { "email": "contact@the-guild.dev", "name": "The Guild", "url": "https://the-guild.dev" }, "license": "MIT", "private": true, "packageManager": "pnpm@10.18.3+sha512.bbd16e6d7286fd7e01f6b3c0b3c932cda2965c06a908328f74663f10a9aea51f1129eea615134bf992831b009eabe167ecb7008b597f40ff9bc75946aadfb08d", "engines": { "node": ">=24.14.1", "pnpm": ">=10.16.0" }, "scripts": { "build": "pnpm turbo build --filter='@hive/app' --concurrency=1 --color && pnpm turbo build --concurrency=4 --color --filter '!@hive/app'", "build:libraries": "pnpm prebuild && pnpm graphql:generate && pnpm turbo build --filter=./packages/libraries/* --color", "build:services": "pnpm prebuild && pnpm turbo build --filter=./packages/services/**/* --filter=./packages/migrations --color", "build:web": "pnpm prebuild && pnpm turbo build --filter=./packages/web/* --color", "cargo:fix": "bash ./scripts/fix-symbolic-link.sh", "dev:hive": "turbo dev:hive --ui tui --concurrency 100", "dev:integration": "cd integration-tests && pnpm dev:integration", "docker:build": "docker buildx bake -f docker/docker.hcl --load build", "docker:override-up": "docker compose -f ./docker/docker-compose.override.yml up -d --remove-orphans", "env:sync": "tsx scripts/sync-env-files.ts", "generate": "pnpm --filter @hive/storage db:generate && pnpm graphql:generate", "graphql:generate": "VERBOSE=1 graphql-codegen --config codegen.mts", "graphql:generate:watch": "pnpm graphql:generate --watch", "integration:prepare": "cd integration-tests && ./local.sh", "lint": "NODE_OPTIONS=\"--max-old-space-size=8192\" eslint --cache --ignore-path .gitignore \"{packages,cypress}/**/*.{ts,tsx,graphql}\"", "lint:env-template": "tsx scripts/check-env-template.ts", "lint:fix": "pnpm lint --fix", "lint:prettier": "prettier --cache --check .", "local:setup": "docker compose -f ./docker/docker-compose.dev.yml up -d --remove-orphans && pnpm --filter @hive/migrations db:init", "postinstall": "node ./scripts/patch-manifests.js && pnpm env:sync && node ./scripts/turborepo-cleanup.js && pnpm cargo:fix", "prebuild": "rimraf deploy-tmp && rimraf packages/**/deploy-tmp", "prerelease": "pnpm build:libraries", "prettier": "prettier --cache --write --list-different --ignore-unknown \"**/*\"", "release": "pnpm build:libraries && changeset publish", "release:version": "changeset version && pnpm build:libraries && pnpm --filter @graphql-hive/cli oclif:readme", "seed:app-deployments": "tsx scripts/seed-app-deployments.mts", "seed:insights": "tsx scripts/seed-insights.mts", "seed:org": "tsx scripts/seed-organization.mts", "seed:schemas": "tsx scripts/seed-schemas.ts", "seed:usage": "tsx scripts/seed-usage.ts", "start": "pnpm run local:setup", "test": "vitest", "test:e2e": "CYPRESS_BASE_URL=$HIVE_APP_BASE_URL cypress run --browser chrome", "test:e2e:local": "CYPRESS_BASE_URL=http://localhost:3000 RUN_AGAINST_LOCAL_SERVICES=1 cypress open --browser chrome", "test:e2e:open": "CYPRESS_BASE_URL=$HIVE_APP_BASE_URL cypress open", "test:integration": "cd integration-tests && pnpm test:integration", "typecheck": "pnpm run -r --filter '!hive' typecheck", "upload-sourcemaps": "./scripts/upload-sourcemaps.sh", "workspace": "pnpm run --filter $1 $2" }, "devDependencies": { "@0no-co/graphqlsp": "1.12.16", "@actions/core": "1.11.1", "@changesets/changelog-github": "0.5.1", "@changesets/cli": "2.29.7", "@eddeee888/gcg-typescript-resolver-files": "0.14.0", "@graphql-codegen/add": "6.0.0", "@graphql-codegen/cli": "6.0.1", "@graphql-codegen/client-preset": "5.1.1", "@graphql-codegen/typescript": "5.0.2", "@graphql-codegen/typescript-operations": "5.0.2", "@graphql-codegen/typescript-resolvers": "5.1.0", "@graphql-codegen/urql-introspection": "3.0.1", "@graphql-eslint/eslint-plugin": "3.20.1", "@graphql-inspector/cli": "6.0.6", "@graphql-inspector/core": "7.1.2", "@graphql-inspector/patch": "0.1.3", "@graphql-tools/load": "8.1.2", "@manypkg/get-packages": "2.2.2", "@next/eslint-plugin-next": "14.2.23", "@parcel/watcher": "2.5.1", "@sentry/cli": "2.40.0", "@swc/core": "1.13.5", "@theguild/eslint-config": "0.12.1", "@theguild/federation-composition": "0.22.2", "@theguild/prettier-config": "2.0.7", "@types/node": "24.12.2", "bob-the-bundler": "7.0.1", "cypress": "13.17.0", "dotenv": "16.4.7", "eslint": "8.57.1", "eslint-plugin-better-tailwindcss": "^4.3.2", "eslint-plugin-cypress": "4.1.0", "eslint-plugin-hive": "file:rules", "fs-extra": "11.2.0", "graphql": "16.9.0", "gray-matter": "4.0.3", "jest-snapshot-serializer-raw": "2.0.0", "pg": "8.13.1", "prettier": "3.4.2", "prettier-plugin-sql": "0.18.1", "prettier-plugin-tailwindcss": "0.6.9", "pretty-quick": "4.0.0", "rimraf": "6.1.3", "tailwindcss": "3.4.17", "tsup": "8.4.0", "tsx": "4.19.2", "turbo": "2.5.8", "typescript": "5.7.3", "vite-tsconfig-paths": "5.1.4", "vitest": "4.1.3" }, "pnpm": { "overrides.esbuild": "To address CVE: https://github.com/graphql-hive/console/security/dependabot/259", "overrides.csstype": "To fix type check error https://github.com/JedWatson/react-select/issues/5952", "overrides.mjml": "Our patch removes html-minifier from mjml-core, we dont need this dependency and its causing false-alarm (CVE https://nvd.nist.gov/vuln/detail/cve-2022-37620)", "overrides.ip": "There is no update with fix for ip package, we use fork https://github.com/indutny/node-ip/issues/150#issuecomment-2325961380", "overrides.miniflare@3>undici": "To address CVE: https://github.com/graphql-hive/console/security/dependabot/439", "overrides.tar-fs": "https://github.com/graphql-hive/console/security/dependabot/290", "overrides.@types/nodemailer>@aws-sdk/client-sesv2": "@types/nodemailer depends on some AWS stuff that causes the 3.x.x version to stick around. We don't need that dependency. (https://github.com/graphql-hive/console/security/dependabot/436)", "overrides.tar@6.x.x": "address https://github.com/graphql-hive/console/security/dependabot/443", "overrides.diff@<8.0.3": "address https://github.com/graphql-hive/console/security/dependabot/438", "overrides.lodash-es@4.x.x": "address https://github.com/graphql-hive/console/security/dependabot/453", "overrides.lodash@4.x.x": "address https://github.com/graphql-hive/console/security/dependabot/455", "overrides.fast-xml-parser@5.x.x": "address https://github.com/graphql-hive/console/security/dependabot/576", "overrides.minimatch@10.x.x": "address https://github.com/graphql-hive/console/security/dependabot/505", "overrides.qs@<6.14.2": "address https://github.com/graphql-hive/console/security/dependabot/499", "overrides.ajv@8.x.x": "address https://github.com/graphql-hive/console/security/dependabot/507", "overrides.yauzl@2.x.x": "address https://github.com/graphql-hive/console/security/dependabot/542", "overrides.path-to-regexp@0.x.x": "address https://github.com/graphql-hive/console/security/dependabot/619", "overrides": { "esbuild": "0.25.9", "csstype": "3.1.2", "mjml-core@4.14.0>html-minifier": "-", "mjml-cli@4.14.0>html-minifier": "-", "@fastify/vite@6>vite": "-", "ws@^8.0.0": "^8.18.0", "ws@*": ">=8.18.0 || >=7.5.10 || >=6.2.3 || >=5.2.4", "cookie@<0.7.0": "0.7.2", "tar-fs": "2.1.4", "ip": "npm:neoip@2.1.0", "miniflare@3>undici": "^7.18.2", "tailwindcss": "3.4.17", "@graphql-hive/laboratory>tailwindcss": "4.1.18", "@hive/app>tailwindcss": "4.1.18", "@tailwindcss/node>tailwindcss": "4.1.18", "@tailwindcss/vite>tailwindcss": "4.1.18", "estree-util-value-to-estree": "^3.3.3", "@types/nodemailer>@aws-sdk/client-sesv2": "-", "tar@6.x.x": "^7.5.11", "typescript": "5.7.3", "diff@<8.0.3": "^8.0.3", "lodash-es@4.x.x": "^4.17.23", "lodash@4.x.x": "^4.17.23", "seroval@<1.4.1": "^1.4.1", "fast-xml-parser@<5.5.7": "^5.5.7", "minimatch@10.x.x": "^10.2.2", "amqplib": "^0.8.0", "minimatch@9.x.x": "^9.0.6", "minimatch@3.x.x": "^3.1.3", "minimatch@4.x.x": "^4.2.4", "qs@<6.14.2": "^6.14.2", "ajv@8.x.x": "^8.18.0", "yauzl@2.x.x": "^3.2.1", "glob@10.x.x": "^10.5.0", "path-to-regexp@0.x.x": "^0.1.13" }, "patchedDependencies": { "mjml-core@4.14.0": "patches/mjml-core@4.14.0.patch", "@apollo/federation@0.38.1": "patches/@apollo__federation@0.38.1.patch", "@theguild/editor@1.2.5": "patches/@theguild__editor@1.2.5.patch", "eslint@8.57.1": "patches/eslint@8.57.1.patch", "@graphql-eslint/eslint-plugin@3.20.1": "patches/@graphql-eslint__eslint-plugin@3.20.1.patch", "got@14.4.7": "patches/got@14.4.7.patch", "@oclif/core@3.26.6": "patches/@oclif__core@3.26.6.patch", "oclif": "patches/oclif.patch", "graphiql": "patches/graphiql.patch", "@graphiql/react": "patches/@graphiql__react.patch", "@oclif/core@4.0.6": "patches/@oclif__core@4.0.6.patch", "p-cancelable@4.0.1": "patches/p-cancelable@4.0.1.patch", "bentocache": "patches/bentocache.patch", "@graphql-codegen/schema-ast": "patches/@graphql-codegen__schema-ast.patch", "@fastify/vite": "patches/@fastify__vite.patch", "@slonik/pg-driver": "patches/@slonik__pg-driver.patch", "slonik": "patches/slonik.patch" }, "onlyBuiltDependencies": [ "msw" ] } }