Skip to content

Commit

Permalink
fix peer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hayes committed Aug 2, 2024
1 parent 782146c commit b98763f
Show file tree
Hide file tree
Showing 24 changed files with 767 additions and 751 deletions.
114 changes: 57 additions & 57 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
{
"name": "@pothos/core",
"version": "4.0.2",
"description": "Pothos (formerly GiraphQL) is a plugin based schema builder for creating code-first GraphQL schemas in typescript",
"main": "./lib/index.js",
"types": "./dts/index.d.ts",
"module": "./esm/index.js",
"exports": {
"import": {
"default": "./esm/index.js"
},
"require": {
"types": "./dts/index.d.ts",
"default": "./lib/index.js"
}
},
"scripts": {
"type": "tsc --project tsconfig.type.json",
"build": "pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm",
"build:clean": "git clean -dfX esm lib",
"build:cjs": "swc src -d lib --config-file ../../.swcrc -C module.type=commonjs --strip-leading-paths",
"build:esm": "cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 --strip-leading-paths && pnpm esm:extensions",
"build:dts": "tsc",
"esm:extensions": "TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts",
"test": "pnpm vitest --run"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hayes/pothos.git",
"directory": "packages/core"
},
"author": "Michael Hayes",
"license": "ISC",
"keywords": [
"pothos",
"graphql",
"schema",
"types",
"typescript",
"builder",
"framework",
"plugin",
"deno"
],
"publishConfig": {
"access": "public",
"provenance": true
},
"peerDependencies": {
"graphql": "^16.8.1"
},
"devDependencies": {
"@pothos/test-utils": "workspace:*",
"graphql": "^16.8.1",
"graphql-scalars": "^1.23.0",
"graphql-tag": "^2.12.6"
},
"gitHead": "9dfe52f1975f41a111e01bf96a20033a914e2acc"
"name": "@pothos/core",
"version": "4.0.2",
"description": "Pothos (formerly GiraphQL) is a plugin based schema builder for creating code-first GraphQL schemas in typescript",
"main": "./lib/index.js",
"types": "./dts/index.d.ts",
"module": "./esm/index.js",
"exports": {
"import": {
"default": "./esm/index.js"
},
"require": {
"types": "./dts/index.d.ts",
"default": "./lib/index.js"
}
},
"scripts": {
"type": "tsc --project tsconfig.type.json",
"build": "pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm",
"build:clean": "git clean -dfX esm lib",
"build:cjs": "swc src -d lib --config-file ../../.swcrc -C module.type=commonjs --strip-leading-paths",
"build:esm": "cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 --strip-leading-paths && pnpm esm:extensions",
"build:dts": "tsc",
"esm:extensions": "TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts",
"test": "pnpm vitest --run"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hayes/pothos.git",
"directory": "packages/core"
},
"author": "Michael Hayes",
"license": "ISC",
"keywords": [
"pothos",
"graphql",
"schema",
"types",
"typescript",
"builder",
"framework",
"plugin",
"deno"
],
"publishConfig": {
"access": "public",
"provenance": true
},
"peerDependencies": {
"graphql": ">=16.6.0"
},
"devDependencies": {
"@pothos/test-utils": "workspace:*",
"graphql": "^16.8.1",
"graphql-scalars": "^1.23.0",
"graphql-tag": "^2.12.6"
},
"gitHead": "9dfe52f1975f41a111e01bf96a20033a914e2acc"
}
102 changes: 55 additions & 47 deletions packages/plugin-add-graphql/package.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,57 @@
{
"name": "@pothos/plugin-add-graphql",
"version": "4.0.2",
"description": "A Pothos plugin for adding existing GraphQL types to a Pothos schema",
"main": "./lib/index.js",
"types": "./dts/index.d.ts",
"module": "./esm/index.js",
"exports": {
"import": {
"default": "./esm/index.js"
},
"require": {
"types": "./dts/index.d.ts",
"default": "./lib/index.js"
}
},
"scripts": {
"type": "tsc --project tsconfig.type.json",
"build": "pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm",
"build:clean": "git clean -dfX esm lib",
"build:cjs": "swc src -d lib --config-file ../../.swcrc -C module.type=commonjs --strip-leading-paths",
"build:esm": "cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 --strip-leading-paths && pnpm esm:extensions",
"build:dts": "tsc",
"esm:extensions": "TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts",
"test": "pnpm vitest --run"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hayes/pothos.git",
"directory": "packages/plugin-add-graphql"
},
"author": "Michael Hayes",
"license": "ISC",
"keywords": ["pothos", "graphql", "schema", "typescript", "add", "existing", "plugin"],
"publishConfig": {
"access": "public",
"provenance": true
},
"peerDependencies": {
"@pothos/core": "4.0.2",
"graphql": "^16.8.1"
},
"devDependencies": {
"@pothos/core": "workspace:*",
"@pothos/test-utils": "workspace:*",
"graphql": "^16.8.1",
"graphql-tag": "^2.12.6"
}
"name": "@pothos/plugin-add-graphql",
"version": "4.0.2",
"description": "A Pothos plugin for adding existing GraphQL types to a Pothos schema",
"main": "./lib/index.js",
"types": "./dts/index.d.ts",
"module": "./esm/index.js",
"exports": {
"import": {
"default": "./esm/index.js"
},
"require": {
"types": "./dts/index.d.ts",
"default": "./lib/index.js"
}
},
"scripts": {
"type": "tsc --project tsconfig.type.json",
"build": "pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm",
"build:clean": "git clean -dfX esm lib",
"build:cjs": "swc src -d lib --config-file ../../.swcrc -C module.type=commonjs --strip-leading-paths",
"build:esm": "cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 --strip-leading-paths && pnpm esm:extensions",
"build:dts": "tsc",
"esm:extensions": "TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts",
"test": "pnpm vitest --run"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hayes/pothos.git",
"directory": "packages/plugin-add-graphql"
},
"author": "Michael Hayes",
"license": "ISC",
"keywords": [
"pothos",
"graphql",
"schema",
"typescript",
"add",
"existing",
"plugin"
],
"publishConfig": {
"access": "public",
"provenance": true
},
"peerDependencies": {
"@pothos/core": "*",
"graphql": ">=16.6.0"
},
"devDependencies": {
"@pothos/core": "workspace:*",
"@pothos/test-utils": "workspace:*",
"graphql": "^16.8.1",
"graphql-tag": "^2.12.6"
}
}
4 changes: 2 additions & 2 deletions packages/plugin-complexity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"provenance": true
},
"peerDependencies": {
"@pothos/core": "4.0.2",
"graphql": "^16.8.1"
"@pothos/core": "*",
"graphql": ">=16.6.0"
},
"devDependencies": {
"@pothos/core": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-dataloader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"provenance": true
},
"peerDependencies": {
"@pothos/core": "4.0.2",
"@pothos/core": "*",
"dataloader": "2",
"graphql": "^16.8.1"
"graphql": ">=16.6.0"
},
"devDependencies": {
"@pothos/core": "workspace:*",
Expand Down
118 changes: 59 additions & 59 deletions packages/plugin-directives/package.json
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
{
"name": "@pothos/plugin-directives",
"version": "4.0.1",
"description": "Directive plugin for Pothos, enables using graphql-tools based directives with Pothos",
"main": "./lib/index.js",
"types": "./dts/index.d.ts",
"module": "./esm/index.js",
"exports": {
"import": {
"default": "./esm/index.js"
},
"require": {
"types": "./dts/index.d.ts",
"default": "./lib/index.js"
}
},
"scripts": {
"type": "tsc --project tsconfig.type.json",
"build": "pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm",
"build:clean": "git clean -dfX esm lib",
"build:cjs": "swc src -d lib --config-file ../../.swcrc -C module.type=commonjs --strip-leading-paths",
"build:esm": "cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 --strip-leading-paths && pnpm esm:extensions",
"build:dts": "tsc",
"esm:extensions": "TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts",
"test": "pnpm jest --runInBand"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hayes/pothos.git",
"directory": "packages/plugin-directives"
},
"author": "Michael Hayes",
"license": "ISC",
"keywords": [
"pothos",
"graphql",
"schema",
"directives",
"tools",
"visitor",
"transforms",
"plugin"
],
"publishConfig": {
"access": "public",
"provenance": true
},
"peerDependencies": {
"graphql": "^16.8.1"
},
"devDependencies": {
"@graphql-tools/utils": "^10.3.2",
"@pothos/core": "workspace:*",
"@pothos/test-utils": "workspace:*",
"graphql": "^16.8.1",
"graphql-rate-limit-directive": "^2.0.5",
"graphql-tag": "^2.12.6",
"rate-limiter-flexible": "^5.0.3"
},
"gitHead": "9dfe52f1975f41a111e01bf96a20033a914e2acc"
"name": "@pothos/plugin-directives",
"version": "4.0.1",
"description": "Directive plugin for Pothos, enables using graphql-tools based directives with Pothos",
"main": "./lib/index.js",
"types": "./dts/index.d.ts",
"module": "./esm/index.js",
"exports": {
"import": {
"default": "./esm/index.js"
},
"require": {
"types": "./dts/index.d.ts",
"default": "./lib/index.js"
}
},
"scripts": {
"type": "tsc --project tsconfig.type.json",
"build": "pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm",
"build:clean": "git clean -dfX esm lib",
"build:cjs": "swc src -d lib --config-file ../../.swcrc -C module.type=commonjs --strip-leading-paths",
"build:esm": "cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 --strip-leading-paths && pnpm esm:extensions",
"build:dts": "tsc",
"esm:extensions": "TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts",
"test": "pnpm jest --runInBand"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hayes/pothos.git",
"directory": "packages/plugin-directives"
},
"author": "Michael Hayes",
"license": "ISC",
"keywords": [
"pothos",
"graphql",
"schema",
"directives",
"tools",
"visitor",
"transforms",
"plugin"
],
"publishConfig": {
"access": "public",
"provenance": true
},
"peerDependencies": {
"graphql": ">=16.6.0"
},
"devDependencies": {
"@graphql-tools/utils": "^10.3.2",
"@pothos/core": "workspace:*",
"@pothos/test-utils": "workspace:*",
"graphql": "^16.8.1",
"graphql-rate-limit-directive": "^2.0.5",
"graphql-tag": "^2.12.6",
"rate-limiter-flexible": "^5.0.3"
},
"gitHead": "9dfe52f1975f41a111e01bf96a20033a914e2acc"
}
2 changes: 1 addition & 1 deletion packages/plugin-drizzle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"peerDependencies": {
"@pothos/core": "*",
"graphql": "^16.8.1"
"graphql": ">=16.6.0"
},
"devDependencies": {
"@libsql/client": "^0.8.0",
Expand Down
Loading

0 comments on commit b98763f

Please sign in to comment.