mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
145 lines
6.7 KiB
JSON
145 lines
6.7 KiB
JSON
{
|
|
"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.4.0",
|
|
"engines": {
|
|
"node": ">=22",
|
|
"pnpm": ">=10.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",
|
|
"release:version": "changeset version && pnpm --filter hive-apollo-router-plugin sync-cargo-file && pnpm build:libraries",
|
|
"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 --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.0",
|
|
"@changesets/cli": "2.27.11",
|
|
"@eddeee888/gcg-typescript-resolver-files": "0.11.0",
|
|
"@graphql-codegen/add": "5.0.3",
|
|
"@graphql-codegen/cli": "5.0.5",
|
|
"@graphql-codegen/client-preset": "4.7.0",
|
|
"@graphql-codegen/typescript": "4.1.5",
|
|
"@graphql-codegen/typescript-operations": "4.5.1",
|
|
"@graphql-codegen/typescript-resolvers": "4.4.4",
|
|
"@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.23",
|
|
"@parcel/watcher": "2.5.0",
|
|
"@sentry/cli": "2.40.0",
|
|
"@swc/core": "1.10.6",
|
|
"@theguild/eslint-config": "0.12.1",
|
|
"@theguild/prettier-config": "2.0.7",
|
|
"@types/node": "22.10.5",
|
|
"bob-the-bundler": "7.0.1",
|
|
"cypress": "13.17.0",
|
|
"dotenv": "16.4.7",
|
|
"eslint": "8.57.1",
|
|
"eslint-plugin-cypress": "4.1.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",
|
|
"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": "4.4.1",
|
|
"ts-node": "10.9.2",
|
|
"tsup": "8.4.0",
|
|
"tsx": "4.19.2",
|
|
"turbo": "2.3.3",
|
|
"typescript": "5.7.3",
|
|
"vite-tsconfig-paths": "5.1.4",
|
|
"vitest": "3.2.4"
|
|
},
|
|
"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": "To address CVE: https://github.com/graphql-hive/console/security/dependabot/245",
|
|
"overrides.tar-fs": "https://github.com/graphql-hive/console/security/dependabot/290",
|
|
"overrides": {
|
|
"esbuild": "0.25.0",
|
|
"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.3",
|
|
"ip": "npm:neoip@2.1.0",
|
|
"miniflare@3>undici": "5.28.5"
|
|
},
|
|
"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",
|
|
"slonik@30.4.4": "patches/slonik@30.4.4.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",
|
|
"countup.js": "patches/countup.js.patch",
|
|
"@oclif/core@4.0.6": "patches/@oclif__core@4.0.6.patch",
|
|
"@fastify/vite": "patches/@fastify__vite.patch",
|
|
"p-cancelable@4.0.1": "patches/p-cancelable@4.0.1.patch",
|
|
"bentocache": "patches/bentocache.patch",
|
|
"nextra": "patches/nextra.patch",
|
|
"nextra-theme-docs": "patches/nextra-theme-docs.patch",
|
|
"@graphql-codegen/schema-ast": "patches/@graphql-codegen__schema-ast.patch"
|
|
}
|
|
}
|
|
}
|