{
  "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@9.12.2",
  "engines": {
    "node": ">=22",
    "pnpm": ">=9.4.0"
  },
  "scripts": {
    "build": "pnpm turbo build --color",
    "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: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": "graphql-codegen --config codegen.mts",
    "integration:prepare": "cd integration-tests && ./local.sh",
    "lint": "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",
    "seed": "tsx scripts/seed-local-env.ts",
    "start": "pnpm run local:setup",
    "test": "vitest",
    "test:e2e": "CYPRESS_BASE_URL=$HIVE_APP_BASE_URL cypress run",
    "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.0",
    "@changesets/cli": "2.27.9",
    "@eddeee888/gcg-typescript-resolver-files": "0.10.4",
    "@graphql-codegen/add": "5.0.3",
    "@graphql-codegen/cli": "5.0.2",
    "@graphql-codegen/client-preset": "4.3.3",
    "@graphql-codegen/graphql-modules-preset": "4.0.9",
    "@graphql-codegen/typescript": "4.0.9",
    "@graphql-codegen/typescript-operations": "4.2.3",
    "@graphql-codegen/typescript-resolvers": "4.2.1",
    "@graphql-codegen/urql-introspection": "3.0.0",
    "@graphql-eslint/eslint-plugin": "3.20.1",
    "@graphql-inspector/cli": "4.0.3",
    "@manypkg/get-packages": "2.2.2",
    "@next/eslint-plugin-next": "14.2.16",
    "@parcel/watcher": "2.4.1",
    "@sentry/cli": "2.33.1",
    "@swc/core": "1.7.39",
    "@theguild/eslint-config": "0.12.1",
    "@theguild/prettier-config": "2.0.7",
    "@types/node": "20.17.1",
    "bob-the-bundler": "7.0.1",
    "cypress": "13.15.1",
    "dotenv": "16.4.5",
    "eslint": "8.57.1",
    "eslint-plugin-cypress": "3.6.0",
    "eslint-plugin-hive": "file:rules",
    "eslint-plugin-tailwindcss": "npm:@hasparus/eslint-plugin-tailwindcss@3.17.5",
    "fs-extra": "11.2.0",
    "graphql": "16.9.0",
    "jest-snapshot-serializer-raw": "2.0.0",
    "pg": "8.13.1",
    "prettier": "3.3.3",
    "prettier-plugin-sql": "0.18.1",
    "prettier-plugin-tailwindcss": "0.6.8",
    "pretty-quick": "4.0.0",
    "rimraf": "4.4.1",
    "ts-node": "10.9.2",
    "tsup": "8.2.4",
    "tsx": "4.19.2",
    "turbo": "2.1.3",
    "typescript": "5.5.4",
    "vite-tsconfig-paths": "5.0.1",
    "vitest": "2.0.5"
  },
  "pnpm": {
    "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": {
      "csstype": "3.1.2",
      "mjml-core@4.14.0>html-minifier": "-",
      "mjml-cli@4.14.0>html-minifier": "-"
    },
    "patchedDependencies": {
      "@theguild/buddy@0.1.0": "patches/@theguild__buddy@0.1.0.patch",
      "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.3": "patches/got@14.4.3.patch",
      "slonik@30.4.4": "patches/slonik@30.4.4.patch",
      "@oclif/core@3.26.6": "patches/@oclif__core@3.26.6.patch",
      "oclif@4.13.6": "patches/oclif@4.13.6.patch",
      "@graphiql/react@1.0.0-alpha.3": "patches/@graphiql__react@1.0.0-alpha.3.patch",
      "@theguild/components": "patches/@theguild__components.patch",
      "countup.js": "patches/countup.js.patch"
    }
  }
}
