Skip to content

Commit

Permalink
fixes (#1245)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina authored Feb 1, 2023
1 parent 8a368b4 commit bad5090
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 78 deletions.
5 changes: 5 additions & 0 deletions .changeset/big-ghosts-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'graphql-config': patch
---

fix `peerDependenciesMeta` was not included in `package.json`
128 changes: 65 additions & 63 deletions config-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@
}
],
"definitions": {
"DocumentPointer": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"title": "DocumentPointer"
},
"IExtensions": {
"additionalProperties": {},
"description": "Configuration of each used extension",
Expand All @@ -22,82 +36,23 @@
"description": "GraphQL Project",
"properties": {
"documents": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"$ref": "#/definitions/DocumentPointer",
"title": "documents"
},
"exclude": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"$ref": "#/definitions/WithList<string>",
"title": "exclude"
},
"extensions": {
"$ref": "#/definitions/IExtensions",
"title": "extensions"
},
"include": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"$ref": "#/definitions/WithList<string>",
"title": "include"
},
"schema": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"items": {
"additionalProperties": {
"properties": {
"headers": {
"additionalProperties": {
"type": "string"
},
"title": "headers",
"type": "object"
}
},
"required": ["headers"],
"type": "object"
},
"type": "object"
},
"type": "array"
},
{
"type": "string"
}
],
"$ref": "#/definitions/SchemaPointer",
"title": "schema"
}
},
Expand Down Expand Up @@ -156,6 +111,53 @@
"required": ["projects"],
"title": "IGraphQLProjects",
"type": "object"
},
"SchemaPointer": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"items": {
"additionalProperties": {
"properties": {
"headers": {
"additionalProperties": {
"type": "string"
},
"title": "headers",
"type": "object"
}
},
"required": ["headers"],
"type": "object"
},
"type": "object"
},
"type": "array"
},
{
"type": "string"
}
],
"title": "SchemaPointer"
},
"WithList<string>": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"title": "WithList<string>"
}
},
"description": "Structure of GraphQL Config"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"@types/node": "18.11.18",
"@typescript-eslint/eslint-plugin": "5.50.0",
"@typescript-eslint/parser": "5.50.0",
"bob-the-bundler": "5.0.0",
"bob-the-bundler": "5.0.1",
"cosmiconfig-toml-loader": "1.0.0",
"cosmiconfig-typescript-loader": "4.3.0",
"del": "6.1.1",
Expand Down
28 changes: 14 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1024,10 +1024,10 @@ binary-extensions@^2.0.0:
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"
integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==

[email protected].0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/bob-the-bundler/-/bob-the-bundler-5.0.0.tgz#2eee7ce0c7a84a70562fab3a97d5275b5f65c026"
integrity sha512-4PQslU5EdID0Lwf4dZTJ9PWsA7k+ogvvd/1wK/GTZAqSaxaXGc544Aia15vMzSQsh82J+Ff7iETTYa3gDcPv2Q==
[email protected].1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/bob-the-bundler/-/bob-the-bundler-5.0.1.tgz#4c41534737ed04de822a09e5c2cf959967bf7d68"
integrity sha512-oFl2AuEaEQgCVk+nDf2wqSyCzgzE4e4bRZb0/kRynRH+wRGT7725K/99bp2PTJof6nM2GJRD7PfMPHgfuE1bIQ==
dependencies:
"@vercel/ncc" "^0.36.0"
consola "^2.15.3"
Expand All @@ -1037,9 +1037,9 @@ [email protected]:
globby "^13.1.3"
js-yaml "^4.1.0"
lodash.get "^4.4.2"
mkdirp "^1.0.4"
mkdirp "^2.0.0"
p-limit "^4.0.0"
resolve.exports "^1.1.0"
resolve.exports "^2.0.0"
tslib "^2.0.0"
tsup "^6.5.0"
yargs "^17.6.2"
Expand Down Expand Up @@ -2816,10 +2816,10 @@ mixme@^0.5.1:
resolved "https://registry.yarnpkg.com/mixme/-/mixme-0.5.4.tgz#8cb3bd0cd32a513c161bf1ca99d143f0bcf2eff3"
integrity sha512-3KYa4m4Vlqx98GPdOHghxSdNtTvcP8E0kkaJ5Dlh+h2DRzF7zpuVVcA8B0QpKd11YJeP9QQ7ASkKzOeu195Wzw==

mkdirp@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==
mkdirp@^2.0.0:
version "2.1.3"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-2.1.3.tgz#b083ff37be046fd3d6552468c1f0ff44c1545d1f"
integrity sha512-sjAkg21peAG9HS+Dkx7hlG9Ztx7HLeKnvB3NQRcu/mltCVmvkF0pisbiTSfDVYTT86XEfZrTUosLdZLStquZUw==

mlly@^1.0.0, mlly@^1.1.0:
version "1.1.0"
Expand Down Expand Up @@ -3304,10 +3304,10 @@ resolve-from@^4.0.0:
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"
integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==

resolve.exports@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-1.1.0.tgz#5ce842b94b05146c0e03076985d1d0e7e48c90c9"
integrity sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ==
resolve.exports@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.0.tgz#c1a0028c2d166ec2fbf7d0644584927e76e7400e"
integrity sha512-6K/gDlqgQscOlg9fSRpWstA8sYe8rbELsSTNpx+3kTrsVCzvSl0zIvRErM7fdl9ERWDsKnrLnwB+Ne89918XOg==

resolve@^1.10.0, resolve@^1.22.1:
version "1.22.1"
Expand Down

0 comments on commit bad5090

Please sign in to comment.