Skip to content

Commit

Permalink
fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislaw Wilczynski authored and Stanislaw Wilczynski committed Sep 17, 2024
1 parent b2c2d02 commit be2743f
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"prefer": "type-imports"
}
],
"@typescript-eslint/no-unsafe-member-access": "error"
"@typescript-eslint/no-unsafe-member-access": "warn"
},
"extends": ["plugin:@typescript-eslint/recommended", "prettier"]
}
4 changes: 2 additions & 2 deletions packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.0",
"@graphitation/embedded-document-artefact-loader": "^0.8.0",
"@graphitation/graphql-codegen-typescript-typemap-plugin": "^0.1.5",
"@graphitation/graphql-js-tag": "^0.9.0",
"@graphitation/graphql-codegen-typescript-typemap-plugin": "^0.1.6",
"@graphitation/graphql-js-tag": "^0.9.1",
"@graphql-codegen/add": "^4.0.1",
"@graphql-codegen/cli": "^3.2.2",
"@graphql-codegen/typescript": "^3.0.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"moduleResolution": "Bundler",
"jsx": "react",
"composite": true,
"tsBuildInfoFile": ".tsbuildinfo",
"rootDir": "src",
"outDir": "lib",
"moduleResolution": "Bundler"
"outDir": "lib"
},
"include": ["src"],
"references": []
Expand Down
3 changes: 2 additions & 1 deletion packages/nova-graphql-compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"graphql": "^15.5.0",
"relay-compiler": "^12.0.0",
"relay-compiler-language-graphitation": "^0.8.2",
"yargs": "^16.2.0"
"yargs": "^16.2.0",
"typescript": "<5"
},
"devDependencies": {
"cross-spawn": "^7.0.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/nova-react-test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"@storybook/types": ">7.6",
"react": "^17 || ^18",
"@apollo/client": "^3.4",
"@graphitation/apollo-react-relay-duct-tape": "^1.0.30",
"@graphitation/apollo-mock-client": "^0.11.0",
"@graphitation/apollo-react-relay-duct-tape": "^1.1.0",
"@graphitation/apollo-mock-client": "^0.11.4",
"react-relay": ">16",
"relay-runtime": ">16",
"relay-test-utils": ">16",
Expand Down Expand Up @@ -55,8 +55,8 @@
}
},
"dependencies": {
"@graphitation/graphql-js-operation-payload-generator": "^0.12.0",
"@graphitation/graphql-js-tag": "^0.9.0",
"@graphitation/graphql-js-operation-payload-generator": "^0.12.5",
"@graphitation/graphql-js-tag": "^0.9.1",
"@jest/types": ">27.0.0",
"@nova/react": "^2.6.0",
"@nova/types": "^1.5.0",
Expand All @@ -69,8 +69,8 @@
},
"devDependencies": {
"@apollo/client": "^3.4.15",
"@graphitation/apollo-react-relay-duct-tape": "^1.0.30",
"@graphitation/apollo-mock-client": "^0.11.0",
"@graphitation/apollo-react-relay-duct-tape": "^1.1.0",
"@graphitation/apollo-mock-client": "^0.11.4",
"@storybook/addon-actions": "^7.6.19",
"@storybook/preview-api": "^7.6.19",
"@storybook/react": "^7.6.19",
Expand Down
1 change: 1 addition & 0 deletions packages/nova-react-test-utils/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"moduleResolution": "Bundler",
"jsx": "react",
"composite": true,
"tsBuildInfoFile": ".tsbuildinfo",
Expand Down
4 changes: 2 additions & 2 deletions packages/nova-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"peerDependencies": {
"react": "^17.0.2 || ^18",
"@types/react": "^17.0.2 || ^18",
"@graphitation/graphql-js-tag": "^0.9.0"
"@graphitation/graphql-js-tag": "^0.9.1"
},
"dependencies": {
"@nova/types": "^1.5.0",
"graphql": "^15.5.0",
"invariant": "^2.2.4"
},
"devDependencies": {
"@graphitation/graphql-js-tag": "^0.9.0",
"@graphitation/graphql-js-tag": "^0.9.1",
"@testing-library/react": "^15.0.0",
"@types/invariant": "^2.2.35",
"@types/jest": "^29.2.0",
Expand Down
1 change: 1 addition & 0 deletions packages/nova-react/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"moduleResolution": "Bundler",
"jsx": "react",
"composite": true,
"tsBuildInfoFile": ".tsbuildinfo",
Expand Down
1 change: 1 addition & 0 deletions packages/nova-types/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"moduleResolution": "Bundler",
"composite": true,
"tsBuildInfoFile": ".tsbuildinfo",
"rootDir": "src",
Expand Down
40 changes: 21 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1476,17 +1476,17 @@
resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.2.2.tgz#d8bae93ac8b815b2bd7a98078cf91e2724ef11e5"
integrity sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==

"@graphitation/apollo-mock-client@^0.11.0":
version "0.11.0"
resolved "https://registry.yarnpkg.com/@graphitation/apollo-mock-client/-/apollo-mock-client-0.11.0.tgz#1074cbfb106659b68fdb3d155d215e4e6019794c"
integrity sha512-0tXP37d8Mf5x0rd5vLQph2Tx2cZ8tR4wogicNBmVSleJR3SSEKDia+h7ZZ5r0P/dq6xsYpOazISpBRyuNREaYQ==
"@graphitation/apollo-mock-client@^0.11.4":
version "0.11.4"
resolved "https://registry.yarnpkg.com/@graphitation/apollo-mock-client/-/apollo-mock-client-0.11.4.tgz#0161072e0c2a1530b98e638c75b8965a74123dd7"
integrity sha512-Hjm8vdC7osN8ub4FaiqDibubkUIgfirOqEwukJ45v9+IZoNs+1moCFSGOKis9Q7uLRqbPWEEzW0O5qI/dTkB+g==
dependencies:
invariant "^2.2.4"

"@graphitation/apollo-react-relay-duct-tape@^1.0.30":
version "1.0.30"
resolved "https://registry.yarnpkg.com/@graphitation/apollo-react-relay-duct-tape/-/apollo-react-relay-duct-tape-1.0.30.tgz#a3c3211a675cab4832d55d5ad74fec65494cb9d9"
integrity sha512-G5wdpzCOO2g6We3XY2NJyz3lh4IZQAuKo1RI3Kwp7SMxN02nfQGOS2ZVHLxuK+Mh1fwGWzlmr7tw+kk+sZwV3g==
"@graphitation/apollo-react-relay-duct-tape@^1.1.0":
version "1.1.5"
resolved "https://registry.yarnpkg.com/@graphitation/apollo-react-relay-duct-tape/-/apollo-react-relay-duct-tape-1.1.5.tgz#4fb2453ac603aee92a0d3e4d2e111a365ea3f6c2"
integrity sha512-N54f1w4ah7kQkBga8RCihsZfZdb0UYaE3p8S9RbJvPhPGc7buYUBKfWZN0lRSiTZJQYWV2hRji7XHKSyFe0m/w==
dependencies:
invariant "^2.2.4"
lodash "^4.17.15"
Expand All @@ -1498,21 +1498,23 @@
dependencies:
source-map-js "^1.0.2"

"@graphitation/graphql-codegen-typescript-typemap-plugin@^0.1.5":
version "0.1.5"
resolved "https://registry.yarnpkg.com/@graphitation/graphql-codegen-typescript-typemap-plugin/-/graphql-codegen-typescript-typemap-plugin-0.1.5.tgz#853bc16eb14a31987f5e826d1ff3bb5bc13f9cb0"
integrity sha512-YbfBwcKDPTji9JunMW9gfdB7r6gECtMeHrUzKEwxMlSQUQHoULhLZjUxOBF7RvIdqfDdXcxYtRr9Uup0kmXarA==
"@graphitation/graphql-codegen-typescript-typemap-plugin@^0.1.6":
version "0.1.6"
resolved "https://registry.yarnpkg.com/@graphitation/graphql-codegen-typescript-typemap-plugin/-/graphql-codegen-typescript-typemap-plugin-0.1.6.tgz#ff71d083943b5f892b05d73de5272f53018b7c75"
integrity sha512-FkQq+jdXTxoVUMYiz+ppWf1+nj5SrShpMcf1dM33Uw6WnzmlnquyOLnUUe/xiE5eVRX8kzG5vyOjDOSERey8/A==
dependencies:
change-case-all "1.0.14"

"@graphitation/graphql-js-operation-payload-generator@^0.12.0":
version "0.12.1"
resolved "https://registry.yarnpkg.com/@graphitation/graphql-js-operation-payload-generator/-/graphql-js-operation-payload-generator-0.12.1.tgz#e1d6911a6ac55fd6131dbe1808a43ee3b37b443c"
integrity sha512-N1S3FsL0GwkcCT8iB6MC0iP72GLiXswIuzAdJ/DppdwWwHGELJzxAHPFl02vGNYoXQKpF7/bjNvFly7+rJzy0A==
"@graphitation/graphql-js-operation-payload-generator@^0.12.5":
version "0.12.5"
resolved "https://registry.yarnpkg.com/@graphitation/graphql-js-operation-payload-generator/-/graphql-js-operation-payload-generator-0.12.5.tgz#784caa384ee090f4b4bbaba0bc615223c0d800d0"
integrity sha512-3vGpWS9k9ZOfmpqnurgf+RZPWmKE6n6541TsgWwEgTIv8lKu3OBxQwdWWMziad52vFO55DFr157jn2vnT9/eIA==
dependencies:
deepmerge "^4.2.2"
graphql "^15.0.0"
invariant "^2.2.4"

"@graphitation/graphql-js-tag@^0.9.0":
"@graphitation/graphql-js-tag@^0.9.1":
version "0.9.1"
resolved "https://registry.yarnpkg.com/@graphitation/graphql-js-tag/-/graphql-js-tag-0.9.1.tgz#e40bef3a58ce553f1f40eab262e5ab263d5225bc"
integrity sha512-qBV+2JGFRtASwM4Tnsfd6WkMSdvKJjm4IKeyUp7gNCxvl12cumXVbR7QxRY2qLRZHk6Pd2LZGqqS6iJAn19/nQ==
Expand Down Expand Up @@ -6982,7 +6984,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/graphql-ws/-/graphql-ws-5.12.0.tgz#d06fe38916334b4a4c827f73268cbf4359a32ed7"
integrity sha512-PA3ImUp8utrpEjoxBMhvxsjkStvFEdU0E1gEBREt8HZIWkxOUymwJBhFnBL7t/iHhUq1GVPeZevPinkZFENxTw==

graphql@^15.5.0:
graphql@^15.0.0, graphql@^15.5.0:
version "15.6.0"
resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.6.0.tgz#e69323c6a9780a1a4b9ddf7e35ca8904bb04df02"
integrity sha512-WJR872Zlc9hckiEPhXgyUftXH48jp2EjO5tgBBOyNMRJZ9fviL2mJBD6CAysk6N5S0r9BTs09Qk39nnJBkvOXQ==
Expand Down Expand Up @@ -10930,7 +10932,7 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==

typescript@>=4.2.3:
typescript@>=4.2.3, typescript@<5:
version "4.9.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
Expand Down

0 comments on commit be2743f

Please sign in to comment.