From 52defcb4f09a1985e5f83890f4ad23e8c88cac77 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 9 Apr 2021 12:26:07 +0100 Subject: [PATCH 01/13] feat: add `@vue/apollo` example implementation --- examples/vue-apollo/App.vue | 16 ++ examples/vue-apollo/composables/apollo.js | 19 +++ examples/vue-apollo/package.json | 11 ++ examples/vue-apollo/pages/index.vue | 30 ++++ package.json | 3 +- yarn.lock | 185 +++++++++++++++++++++- 6 files changed, 260 insertions(+), 4 deletions(-) create mode 100644 examples/vue-apollo/App.vue create mode 100644 examples/vue-apollo/composables/apollo.js create mode 100644 examples/vue-apollo/package.json create mode 100644 examples/vue-apollo/pages/index.vue diff --git a/examples/vue-apollo/App.vue b/examples/vue-apollo/App.vue new file mode 100644 index 00000000000..1a54ced4c65 --- /dev/null +++ b/examples/vue-apollo/App.vue @@ -0,0 +1,16 @@ + + + diff --git a/examples/vue-apollo/composables/apollo.js b/examples/vue-apollo/composables/apollo.js new file mode 100644 index 00000000000..dd3db844262 --- /dev/null +++ b/examples/vue-apollo/composables/apollo.js @@ -0,0 +1,19 @@ +import { provide } from 'vue' +import { DefaultApolloClient } from '@vue/apollo-composable' + +import { ApolloClient, createHttpLink, InMemoryCache } from '@apollo/client/core' + +export function useApollo () { + const httpLink = createHttpLink({ + uri: 'http://localhost:3020/graphql' + }) + + const cache = new InMemoryCache() + + const apolloClient = new ApolloClient({ + link: httpLink, + cache + }) + + provide(DefaultApolloClient, apolloClient) +} diff --git a/examples/vue-apollo/package.json b/examples/vue-apollo/package.json new file mode 100644 index 00000000000..9ac4eedf0cd --- /dev/null +++ b/examples/vue-apollo/package.json @@ -0,0 +1,11 @@ +{ + "name": "vue-apollo", + "dependencies": { + "@apollo/client": "^3.3.14", + "graphql": "^15.5.0", + "graphql-tag": "^2.11.0" + }, + "scripts": { + "dev": "../../node_modules/.bin/nu dev" + } +} diff --git a/examples/vue-apollo/pages/index.vue b/examples/vue-apollo/pages/index.vue new file mode 100644 index 00000000000..4478a660a35 --- /dev/null +++ b/examples/vue-apollo/pages/index.vue @@ -0,0 +1,30 @@ + + + diff --git a/package.json b/package.json index 02dc336e29b..6fed4bb6286 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "nuxt-framework", "license": "MIT", "workspaces": [ - "packages/*" + "packages/*", + "examples/*" ], "scripts": { "link": "lerna link", diff --git a/yarn.lock b/yarn.lock index 7957c06b82a..cb5a7f16f93 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5,6 +5,36 @@ __metadata: version: 4 cacheKey: 7 +"@apollo/client@npm:^3.3.14": + version: 3.3.14 + resolution: "@apollo/client@npm:3.3.14" + dependencies: + "@graphql-typed-document-node/core": ^3.0.0 + "@types/zen-observable": ^0.8.0 + "@wry/context": ^0.6.0 + "@wry/equality": ^0.4.0 + fast-json-stable-stringify: ^2.0.0 + graphql-tag: ^2.12.0 + hoist-non-react-statics: ^3.3.2 + optimism: ^0.15.0 + prop-types: ^15.7.2 + symbol-observable: ^2.0.0 + ts-invariant: ^0.7.0 + tslib: ^1.10.0 + zen-observable: ^0.8.14 + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 + react: ^16.8.0 || ^17.0.0 + subscriptions-transport-ws: ^0.9.0 + peerDependenciesMeta: + react: + optional: true + subscriptions-transport-ws: + optional: true + checksum: a08163a9982522dd7c4191e33ef086331de9c3d063438342863cf5ea44ad8baaa51ed4c77f2600620a5ec47dc4d1bd5b4b9a9f95e5cc0e17403d6a0b62c7994c + languageName: node + linkType: hard + "@babel/code-frame@npm:7.12.11": version: 7.12.11 resolution: "@babel/code-frame@npm:7.12.11" @@ -472,6 +502,15 @@ __metadata: languageName: node linkType: hard +"@graphql-typed-document-node/core@npm:^3.0.0": + version: 3.1.0 + resolution: "@graphql-typed-document-node/core@npm:3.1.0" + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 + checksum: f1c90f749b516ad67aa1eaeca1fdbe915ed1737464c6f99fb8571e301ade486587711b7bbdda4994068fd652992de7ed03538c7b6e585194edfa25feedf73e04 + languageName: node + linkType: hard + "@istanbuljs/load-nyc-config@npm:^1.0.0": version: 1.1.0 resolution: "@istanbuljs/load-nyc-config@npm:1.1.0" @@ -2535,6 +2574,13 @@ __metadata: languageName: node linkType: hard +"@types/zen-observable@npm:^0.8.0": + version: 0.8.2 + resolution: "@types/zen-observable@npm:0.8.2" + checksum: f48643c09a5fb00503d5b5c156779870bc5c96c4cc7f3d0f643619752a04eed784de6a37c9121e284d2cdd8ec70e3e00a73613797f009f37dbe6795ffb9607c5 + languageName: node + linkType: hard + "@typescript-eslint/eslint-plugin@npm:^4.16.1": version: 4.21.0 resolution: "@typescript-eslint/eslint-plugin@npm:4.21.0" @@ -3049,6 +3095,33 @@ __metadata: languageName: node linkType: hard +"@wry/context@npm:^0.6.0": + version: 0.6.0 + resolution: "@wry/context@npm:0.6.0" + dependencies: + tslib: ^2.1.0 + checksum: c1452ba9009a13ddf86c98b7051167304fdeb9284438d9c7ccb2f86a3f9724fd2ce5685574d5949cd4a66918dd230fbb61185b62b5dbd1760a8dea4b6c6900c0 + languageName: node + linkType: hard + +"@wry/equality@npm:^0.4.0": + version: 0.4.0 + resolution: "@wry/equality@npm:0.4.0" + dependencies: + tslib: ^2.1.0 + checksum: 87c2b705edf0cc81e8b034367765762f3d2a1a0bfd9163b70389398bc0fc0338e1f8d68b2eaa70b0f5101c455bf5d419ae4a4f03f7f7697803e34adb9ca86b72 + languageName: node + linkType: hard + +"@wry/trie@npm:^0.3.0": + version: 0.3.0 + resolution: "@wry/trie@npm:0.3.0" + dependencies: + tslib: ^2.1.0 + checksum: 74305830c7138924772073fbe6aeaadf2a9a55bc16ac4a2436f17dff83bb32950a17dbbb4fcdfb9f63977a53e3f8cda0dd33b18cfdbd5ba6f6484f84d12a504e + languageName: node + linkType: hard + "@xtuc/ieee754@npm:^1.2.0": version: 1.2.0 resolution: "@xtuc/ieee754@npm:1.2.0" @@ -7000,6 +7073,24 @@ __metadata: languageName: node linkType: hard +"graphql-tag@npm:^2.11.0, graphql-tag@npm:^2.12.0": + version: 2.12.3 + resolution: "graphql-tag@npm:2.12.3" + dependencies: + tslib: ^2.1.0 + peerDependencies: + graphql: ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 + checksum: ab3a7cdf57fa213d4f9efd1229476042f7d640376c0389656be43f32d34201f5ed90e60c3a54bcdb12712688136d6d9637bd45964b63f94a9a2c131b0fa78ef5 + languageName: node + linkType: hard + +"graphql@npm:^15.5.0": + version: 15.5.0 + resolution: "graphql@npm:15.5.0" + checksum: 789cdcb069a3e00592e779002217a6bc5fd09efad63ee8c4190c4b3ea96c89010e74f085fb1cba876a0bb0e324e01df2eddb84d79dca90a28e582bc425fef9ef + languageName: node + linkType: hard + "growly@npm:^1.3.0": version: 1.3.0 resolution: "growly@npm:1.3.0" @@ -7197,6 +7288,15 @@ __metadata: languageName: node linkType: hard +"hoist-non-react-statics@npm:^3.3.2": + version: 3.3.2 + resolution: "hoist-non-react-statics@npm:3.3.2" + dependencies: + react-is: ^16.7.0 + checksum: d3e3791d6e3a2741ce0ba38e878081dec49247ef22982a990c80941ee1f564ef16cd5a511bcc8c5e54f1ce8205535e0414ca5feea722c0690c80040be7ebf9df + languageName: node + linkType: hard + "hookable@npm:^4.4.1": version: 4.4.1 resolution: "hookable@npm:4.4.1" @@ -8616,7 +8716,7 @@ __metadata: languageName: node linkType: hard -"js-tokens@npm:^4.0.0": +"js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0": version: 4.0.0 resolution: "js-tokens@npm:4.0.0" checksum: 1fc4e4667ac2d972aba65148b9cbf9c17566b2394d3504238d8492bbd3e68f496c657eab06b26b40b17db5cac0a34d153a12130e2d2d2bb6dc2cdc8a4764eb1b @@ -9199,6 +9299,17 @@ __metadata: languageName: node linkType: hard +"loose-envify@npm:^1.4.0": + version: 1.4.0 + resolution: "loose-envify@npm:1.4.0" + dependencies: + js-tokens: ^3.0.0 || ^4.0.0 + bin: + loose-envify: cli.js + checksum: 5c3b47bbe5f597a3889fb001a3a98aaea2a3fafa48089c19034de1e0121bf57dbee609d184478514d74d5c5a7e9cfa3d846343455e5123b060040d46c39e91dc + languageName: node + linkType: hard + "loud-rejection@npm:^1.0.0": version: 1.6.0 resolution: "loud-rejection@npm:1.6.0" @@ -10304,7 +10415,7 @@ __metadata: languageName: node linkType: hard -"object-assign@npm:^4.0.1, object-assign@npm:^4.1.0": +"object-assign@npm:^4.0.1, object-assign@npm:^4.1.0, object-assign@npm:^4.1.1": version: 4.1.1 resolution: "object-assign@npm:4.1.1" checksum: 66cf021898fc1b13ea573ea8635fbd5a76533f50cecbc2fcd5eee1e8029af41bcebe7023788b6d0e06cbe4401ecea075d972f78ec74467cdc571a0f1a4d1a081 @@ -10447,6 +10558,16 @@ __metadata: languageName: node linkType: hard +"optimism@npm:^0.15.0": + version: 0.15.0 + resolution: "optimism@npm:0.15.0" + dependencies: + "@wry/context": ^0.6.0 + "@wry/trie": ^0.3.0 + checksum: a9152e33a27be9b2b4a441387061a7e8aff9877872169eba49c11c07fee19b7369efd48f7530f5a65e142f46b63ba3c8a56c9b893eaa696e143f1fdff33760a2 + languageName: node + linkType: hard + "optionator@npm:^0.8.1": version: 0.8.3 resolution: "optionator@npm:0.8.3" @@ -11529,6 +11650,17 @@ __metadata: languageName: node linkType: hard +"prop-types@npm:^15.7.2": + version: 15.7.2 + resolution: "prop-types@npm:15.7.2" + dependencies: + loose-envify: ^1.4.0 + object-assign: ^4.1.1 + react-is: ^16.8.1 + checksum: a440dd406c5cf53bf39f3e898d2c65178511d34ca3c8c789b30c177992408b9e4273969726b274719aa69ccce5ab34b2fd8caa60b90f23cd2e910cdcf682de52 + languageName: node + linkType: hard + "proto-list@npm:~1.2.1": version: 1.2.4 resolution: "proto-list@npm:1.2.4" @@ -11671,6 +11803,13 @@ __metadata: languageName: node linkType: hard +"react-is@npm:^16.7.0, react-is@npm:^16.8.1": + version: 16.13.1 + resolution: "react-is@npm:16.13.1" + checksum: 11bcf1267a314a522615f626f3ce3727a3a24cdbf61c4d452add3550a7875326669631326cfb1ba3e92b6f72244c32ffecf93ad21c0cad8455d3e169d0e3f060 + languageName: node + linkType: hard + "react-is@npm:^17.0.1": version: 17.0.2 resolution: "react-is@npm:17.0.2" @@ -13299,6 +13438,13 @@ __metadata: languageName: node linkType: hard +"symbol-observable@npm:^2.0.0": + version: 2.0.3 + resolution: "symbol-observable@npm:2.0.3" + checksum: c022177891e0aa3169bbaaed68d928ff7a2b5f5b1b2bf655b99804ecfabe280a6f1042dd3bda609475e637c57141d39b33e692b6f6b5fdb29ce7f61cf77be57f + languageName: node + linkType: hard + "symbol-tree@npm:^3.2.4": version: 3.2.4 resolution: "symbol-tree@npm:3.2.4" @@ -13640,6 +13786,15 @@ __metadata: languageName: node linkType: hard +"ts-invariant@npm:^0.7.0": + version: 0.7.3 + resolution: "ts-invariant@npm:0.7.3" + dependencies: + tslib: ^2.1.0 + checksum: 2fef71589aba75dbde8aa82a8add90dbc356e741452181850cef32903374e4ca451e4bc063ea77d564296287659e465f2c2d639c0d44449fd64467348d37dd71 + languageName: node + linkType: hard + "ts-jest@npm:^26.5.4": version: 26.5.4 resolution: "ts-jest@npm:26.5.4" @@ -13675,13 +13830,20 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^1.8.1, tslib@npm:^1.9.0": +"tslib@npm:^1.10.0, tslib@npm:^1.8.1, tslib@npm:^1.9.0": version: 1.14.1 resolution: "tslib@npm:1.14.1" checksum: f44fe7f216946b17d3e3074df3746372703cf24e9127b4c045511456e8e4bf25515fb0a1bb3937676cc305651c5d4fcb6377b0588a4c6a957e748c4c28905d17 languageName: node linkType: hard +"tslib@npm:^2.1.0": + version: 2.2.0 + resolution: "tslib@npm:2.2.0" + checksum: 2d35468c470410871c5246e43f12dcb6d0fc363b617c176f26443b9530e5c5ee8448966892a42956168d8f495da7865bda33dfe82c26c91991e28999974a618f + languageName: node + linkType: hard + "tsutils@npm:^3.17.1": version: 3.21.0 resolution: "tsutils@npm:3.21.0" @@ -14151,6 +14313,16 @@ typescript@^4.2.3: languageName: node linkType: hard +"vue-apollo@workspace:examples/vue-apollo": + version: 0.0.0-use.local + resolution: "vue-apollo@workspace:examples/vue-apollo" + dependencies: + "@apollo/client": ^3.3.14 + graphql: ^15.5.0 + graphql-tag: ^2.11.0 + languageName: unknown + linkType: soft + "vue-bundle-renderer@npm:^0.2.3": version: 0.2.3 resolution: "vue-bundle-renderer@npm:0.2.3" @@ -14765,6 +14937,13 @@ typescript@^4.2.3: languageName: node linkType: hard +"zen-observable@npm:^0.8.14": + version: 0.8.15 + resolution: "zen-observable@npm:0.8.15" + checksum: 7d155f8a75b9314f9f31e70a31edcd897b0e8a1313737502ab84a573e49d2c333b738e415c156334a6e910c363ce546b59fa7921eff61440285caa99c843df74 + languageName: node + linkType: hard + "zip-stream@npm:^4.1.0": version: 4.1.0 resolution: "zip-stream@npm:4.1.0" From f4f29d19aefae45614a872bd92cec79cd9756c0a Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 9 Apr 2021 12:35:18 +0100 Subject: [PATCH 02/13] fix: create client once --- examples/vue-apollo/App.vue | 4 ++-- examples/vue-apollo/composables/apollo.js | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/examples/vue-apollo/App.vue b/examples/vue-apollo/App.vue index 1a54ced4c65..5c7a06b7ddb 100644 --- a/examples/vue-apollo/App.vue +++ b/examples/vue-apollo/App.vue @@ -6,11 +6,11 @@ diff --git a/examples/vue-apollo/composables/apollo.js b/examples/vue-apollo/composables/apollo.js index dd3db844262..4510e5ee315 100644 --- a/examples/vue-apollo/composables/apollo.js +++ b/examples/vue-apollo/composables/apollo.js @@ -3,17 +3,17 @@ import { DefaultApolloClient } from '@vue/apollo-composable' import { ApolloClient, createHttpLink, InMemoryCache } from '@apollo/client/core' -export function useApollo () { - const httpLink = createHttpLink({ - uri: 'http://localhost:3020/graphql' - }) +const httpLink = createHttpLink({ + uri: 'http://localhost:3020/graphql' +}) - const cache = new InMemoryCache() +const cache = new InMemoryCache() - const apolloClient = new ApolloClient({ - link: httpLink, - cache - }) +const apolloClient = new ApolloClient({ + link: httpLink, + cache +}) +export function provideApollo () { provide(DefaultApolloClient, apolloClient) } From 490564fc7f4fa402bb951635ec04b1ff7e083d83 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 9 Apr 2021 12:49:30 +0100 Subject: [PATCH 03/13] refactor: use nuxt plugin --- examples/vue-apollo/App.vue | 16 ---------------- .../{composables => plugins}/apollo.js | 7 +++++-- 2 files changed, 5 insertions(+), 18 deletions(-) delete mode 100644 examples/vue-apollo/App.vue rename examples/vue-apollo/{composables => plugins}/apollo.js (72%) diff --git a/examples/vue-apollo/App.vue b/examples/vue-apollo/App.vue deleted file mode 100644 index 5c7a06b7ddb..00000000000 --- a/examples/vue-apollo/App.vue +++ /dev/null @@ -1,16 +0,0 @@ - - - diff --git a/examples/vue-apollo/composables/apollo.js b/examples/vue-apollo/plugins/apollo.js similarity index 72% rename from examples/vue-apollo/composables/apollo.js rename to examples/vue-apollo/plugins/apollo.js index 4510e5ee315..ae2777254fc 100644 --- a/examples/vue-apollo/composables/apollo.js +++ b/examples/vue-apollo/plugins/apollo.js @@ -1,4 +1,3 @@ -import { provide } from 'vue' import { DefaultApolloClient } from '@vue/apollo-composable' import { ApolloClient, createHttpLink, InMemoryCache } from '@apollo/client/core' @@ -15,5 +14,9 @@ const apolloClient = new ApolloClient({ }) export function provideApollo () { - provide(DefaultApolloClient, apolloClient) +} + +export default ({ app }) => { + // https://v3.vuejs.org/api/application-api.html#provide + app.provide(DefaultApolloClient, apolloClient) } From 6223dec01da70fef3cf68a71ac6fae2e4286fb9f Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 9 Apr 2021 12:49:57 +0100 Subject: [PATCH 04/13] chore: tidy --- examples/vue-apollo/plugins/apollo.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/vue-apollo/plugins/apollo.js b/examples/vue-apollo/plugins/apollo.js index ae2777254fc..b9792edfd65 100644 --- a/examples/vue-apollo/plugins/apollo.js +++ b/examples/vue-apollo/plugins/apollo.js @@ -13,9 +13,6 @@ const apolloClient = new ApolloClient({ cache }) -export function provideApollo () { -} - export default ({ app }) => { // https://v3.vuejs.org/api/application-api.html#provide app.provide(DefaultApolloClient, apolloClient) From e9b202cca5779a927646e157c2f32c2c7b02cb01 Mon Sep 17 00:00:00 2001 From: pooya parsa Date: Fri, 9 Apr 2021 15:48:39 +0200 Subject: [PATCH 05/13] chore: update build scripts (#69) --- .github/workflows/ci.yml | 4 + package.json | 28 +- packages/app/build.config.ts | 14 + packages/app/meta.js | 2 +- packages/app/package.json | 25 +- packages/app/src/index.ts | 3 +- packages/app/src/{nuxt/index.ts => nuxt.ts} | 39 +- packages/app/src/nuxt/composables.ts | 36 -- packages/app/src/plugins/head/index.ts | 2 +- packages/app/src/plugins/router/index.ts | 2 + packages/app/src/plugins/vuex.ts | 2 +- packages/cli/build.config.ts | 11 + packages/cli/package.json | 18 +- packages/cli/src/index.ts | 3 +- packages/kit/build.config.ts | 16 + packages/kit/package.json | 14 +- packages/kit/scripts/gentypes.ts | 19 - packages/kit/src/types/config.ts | 2 +- packages/nitro/build.config.ts | 23 + packages/nitro/package.json | 27 +- packages/nuxt3/build.config.ts | 14 + packages/nuxt3/package.json | 17 +- packages/nuxt3/src/nuxt.ts | 4 +- packages/vite/build.config.ts | 13 + packages/vite/package.json | 16 +- packages/webpack/build.config.ts | 25 + packages/webpack/package.json | 28 +- .../pages/composables/asyncData/parallel.vue | 2 +- .../pages/composables/asyncData/series.vue | 2 +- scripts/build-all.ts | 18 - scripts/build.ts | 261 --------- tsconfig.json | 9 +- yarn.lock | 554 ++++++------------ 33 files changed, 384 insertions(+), 869 deletions(-) create mode 100644 packages/app/build.config.ts rename packages/app/src/{nuxt/index.ts => nuxt.ts} (71%) delete mode 100644 packages/app/src/nuxt/composables.ts create mode 100644 packages/cli/build.config.ts create mode 100644 packages/kit/build.config.ts delete mode 100644 packages/kit/scripts/gentypes.ts create mode 100644 packages/nitro/build.config.ts create mode 100644 packages/nuxt3/build.config.ts create mode 100644 packages/vite/build.config.ts create mode 100644 packages/webpack/build.config.ts delete mode 100644 scripts/build-all.ts delete mode 100644 scripts/build.ts diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5aa23ac3ea9..3e0376b8698 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,6 +37,10 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' run: yarn # --immutable + + - name: Stub + run: yarn stub + - name: Lint run: yarn lint diff --git a/package.json b/package.json index 6fed4bb6286..319d3477f9d 100644 --- a/package.json +++ b/package.json @@ -6,42 +6,28 @@ "examples/*" ], "scripts": { - "link": "lerna link", - "build": "jiti ./scripts/build-all", - "stub": "yarn build --stub", - "gentypes": "yarn workspace @nuxt/kit jiti ./scripts/gentypes", - "release": "yarn build && lerna publish -m \"chore: release\" && yarn stub", + "build": "FORCE_COLOR=1 lerna run prepack --stream --no-prefix", + "stub": "lerna run prepack -- --stub", + "release": "yarn && yarn build && FORCE_COLOR=1 lerna publish -m \"chore: release\" && yarn stub", "nu": "./node_modules/.bin/nu", "play": "yarn run nu dev playground", - "lint": "yarn gentypes && eslint --ext .vue,.ts,.js .", - "test": "yarn lint", + "lint": "eslint --ext .vue,.ts,.js .", "postinstall": "yarn stub", "version": "yarn && git add yarn.lock" }, + "resolutions": { + "esbuild": "0.10.2" + }, "devDependencies": { "@nuxtjs/eslint-config": "^6.0.0", "@nuxtjs/eslint-config-typescript": "^6.0.0", - "@rollup/plugin-alias": "^3.1.2", - "@rollup/plugin-commonjs": "^18.0.0", - "@rollup/plugin-node-resolve": "^11.2.1", "@types/jest": "^26.0.22", "@types/node": "^14.14.37", - "@types/rimraf": "^3.0.0", - "chalk": "^4.1.0", - "defu": "^3.2.2", - "esbuild": "^0.10.0", "eslint": "^7.23.0", - "execa": "^5.0.0", "jest": "^26.6.3", "jiti": "^1.6.4", "lerna": "^4.0.0", "mkdist": "^0.1.3", - "pretty-bytes": "^5.6.0", - "rimraf": "^3.0.2", - "rollup": "^2.44.0", - "rollup-plugin-dts": "^3.0.1", - "rollup-plugin-esbuild": "^3.0.2", - "standard-version": "^9.1.1", "ts-jest": "^26.5.4", "typescript": "^4.2.3" } diff --git a/packages/app/build.config.ts b/packages/app/build.config.ts new file mode 100644 index 00000000000..8854fb05444 --- /dev/null +++ b/packages/app/build.config.ts @@ -0,0 +1,14 @@ +import { BuildConfig } from 'unbuild' + +export default { + declaration: false, + entries: [ + { input: 'src/', name: 'app' } + ], + dependencies: [ + '@vueuse/head', + 'ohmyfetch', + 'vue-router', + 'vuex5' + ] +} diff --git a/packages/app/meta.js b/packages/app/meta.js index 527b1c77e58..10acf7d4f77 100644 --- a/packages/app/meta.js +++ b/packages/app/meta.js @@ -1,5 +1,5 @@ const { resolve } = require('path') module.exports = { - appDir: resolve(__dirname, 'dist') + appDir: resolve(__dirname, 'dist/app') } diff --git a/packages/app/package.json b/packages/app/package.json index ec132203b99..3b81f53e028 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -3,12 +3,19 @@ "version": "0.2.1", "repository": "nuxt/framework", "license": "MIT", - "main": "./dist/index.js", - "module": "./dist/index.js", + "main": "./dist/app/index.js", + "module": "./dist/app/index.js", + "types": "./dist/index.d.ts", "files": [ "dist", "meta.js" ], + "scripts": { + "prepack": "unbuild" + }, + "devDependencies": { + "unbuild": "^0.1.11" + }, "dependencies": { "@vueuse/head": "^0.5.1", "hookable": "^4.4.1", @@ -16,19 +23,5 @@ "vue": "^3.0.11", "vue-router": "^4.0.6", "vuex5": "^0.5.0-testing.3" - }, - "build": { - "entries": { - "index": { - "distDir": ".gen" - }, - "/": {} - }, - "dependencies": [ - "@vueuse/head", - "ohmyfetch", - "vue-router", - "vuex5" - ] } } diff --git a/packages/app/src/index.ts b/packages/app/src/index.ts index f37ab459117..e53e5bf6889 100644 --- a/packages/app/src/index.ts +++ b/packages/app/src/index.ts @@ -1,4 +1,3 @@ -export { useNuxt } from './nuxt/composables' - export * from './nuxt' export * from './shim' +export * from './composables' diff --git a/packages/app/src/nuxt/index.ts b/packages/app/src/nuxt.ts similarity index 71% rename from packages/app/src/nuxt/index.ts rename to packages/app/src/nuxt.ts index e3597ac8ca1..89cf5298a2f 100644 --- a/packages/app/src/nuxt/index.ts +++ b/packages/app/src/nuxt.ts @@ -1,7 +1,6 @@ +import { App, getCurrentInstance } from 'vue' import Hookable from 'hookable' -import type { App } from 'vue' -import { defineGetter } from '../utils' -import { callWithNuxt } from './composables' +import { defineGetter } from './utils' export interface Nuxt { app: App @@ -93,3 +92,37 @@ export async function applyPlugins (nuxt: Nuxt, plugins: Plugin[]) { await applyPlugin(nuxt, plugin) } } + +let currentNuxtInstance: Nuxt | null + +export const setNuxtInstance = (nuxt: Nuxt | null) => { + currentNuxtInstance = nuxt +} + +/** + * Ensures that the setup function passed in has access to the Nuxt instance via `useNuxt`. + * @param nuxt A Nuxt instance + * @param setup The function to call + */ +export async function callWithNuxt (nuxt: Nuxt, setup: () => any) { + setNuxtInstance(nuxt) + const p = setup() + setNuxtInstance(null) + await p +} + +/** + * Returns the current Nuxt instance. + */ +export function useNuxt (): Nuxt { + const vm = getCurrentInstance() + + if (!vm) { + if (!currentNuxtInstance) { + throw new Error('nuxt instance unavailable') + } + return currentNuxtInstance + } + + return vm.appContext.app.$nuxt +} diff --git a/packages/app/src/nuxt/composables.ts b/packages/app/src/nuxt/composables.ts deleted file mode 100644 index 5adfd744ce5..00000000000 --- a/packages/app/src/nuxt/composables.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { getCurrentInstance } from 'vue' -import type { Nuxt } from '../nuxt' - -let currentNuxtInstance: Nuxt | null - -export const setNuxtInstance = (nuxt: Nuxt | null) => { - currentNuxtInstance = nuxt -} - -/** - * Ensures that the setup function passed in has access to the Nuxt instance via `useNuxt`. - * @param nuxt A Nuxt instance - * @param setup The function to call - */ -export async function callWithNuxt (nuxt: Nuxt, setup: () => any) { - setNuxtInstance(nuxt) - const p = setup() - setNuxtInstance(null) - await p -} - -/** - * Returns the current Nuxt instance. - */ -export function useNuxt (): Nuxt { - const vm = getCurrentInstance() - - if (!vm) { - if (!currentNuxtInstance) { - throw new Error('nuxt instance unavailable') - } - return currentNuxtInstance - } - - return vm.appContext.app.$nuxt -} diff --git a/packages/app/src/plugins/head/index.ts b/packages/app/src/plugins/head/index.ts index 646b03b2ac3..8abd30efaf9 100644 --- a/packages/app/src/plugins/head/index.ts +++ b/packages/app/src/plugins/head/index.ts @@ -1,5 +1,5 @@ -import type { Plugin } from '@nuxt/app' import { createHead, renderHeadToString } from '@vueuse/head' +import type { Plugin } from '@nuxt/app' import { Head, Html, Body, Title, Meta, Link, Script, Style } from './head' export default function head (nuxt) { diff --git a/packages/app/src/plugins/router/index.ts b/packages/app/src/plugins/router/index.ts index 3c9f1017178..9f0b8c1ea29 100644 --- a/packages/app/src/plugins/router/index.ts +++ b/packages/app/src/plugins/router/index.ts @@ -6,7 +6,9 @@ import { RouterLink } from 'vue-router' import type { Plugin } from '@nuxt/app' +// @ts-ignore import routes from 'nuxt/build/routes' +// @ts-ignore import NuxtPage from './NuxtPage.vue' export default function router (nuxt) { diff --git a/packages/app/src/plugins/vuex.ts b/packages/app/src/plugins/vuex.ts index e731acc08bc..a15c4643280 100644 --- a/packages/app/src/plugins/vuex.ts +++ b/packages/app/src/plugins/vuex.ts @@ -1,6 +1,6 @@ import { createVuex, defineStore, useStore } from 'vuex5/dist/vuex.esm' import type { Plugin } from '@nuxt/app' -import { useHydration } from 'nuxt/app/composables' +import { useHydration } from '../composables' export default function ({ app }) { const vuex = createVuex({ }) diff --git a/packages/cli/build.config.ts b/packages/cli/build.config.ts new file mode 100644 index 00000000000..76d302985e2 --- /dev/null +++ b/packages/cli/build.config.ts @@ -0,0 +1,11 @@ +import type { BuildConfig } from 'unbuild' + +export default { + declaration: false, + entries: [ + 'src/index' + ], + externals: [ + 'nuxt3' + ] +} diff --git a/packages/cli/package.json b/packages/cli/package.json index 8a0a961fc08..9cf28050cea 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -9,18 +9,14 @@ "nuxt": "./bin/nuxt.js", "nuxt-cli": "./bin/nuxt.js" }, + "scripts": { + "prepack": "unbuild" + }, + "devDependencies": { + "unbuild": "^0.1.11" + }, "files": [ "bin", "dist" - ], - "build": { - "externals": [ - "nuxt3" - ], - "entries": { - "index": { - "format": "cjs" - } - } - } + ] } diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.ts index df26cfacb70..d02a2c9eb80 100755 --- a/packages/cli/src/index.ts +++ b/packages/cli/src/index.ts @@ -13,7 +13,8 @@ async function _main () { const isDev = cmd === 'dev' const rootDir = resolve(process.cwd(), args[1] || '.') - const { loadNuxt, build } = await import('nuxt3') + const pkg = 'nuxt3' + const { loadNuxt, build } = require(pkg) const nuxt = await loadNuxt({ for: isDev ? 'dev' : 'build', diff --git a/packages/kit/build.config.ts b/packages/kit/build.config.ts new file mode 100644 index 00000000000..84d8be078c0 --- /dev/null +++ b/packages/kit/build.config.ts @@ -0,0 +1,16 @@ +import type { BuildConfig } from 'unbuild' + +export default { + declaration: true, + entries: [ + { + input: 'src/config/schema/index', + name: 'config', + builder: 'untyped', + defaults: { + rootDir: '' + } + }, + 'src/index' + ] +} diff --git a/packages/kit/package.json b/packages/kit/package.json index 6ae87cf8a17..422aacedb69 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -8,6 +8,12 @@ "files": [ "dist" ], + "scripts": { + "prepack": "unbuild" + }, + "devDependencies": { + "unbuild": "^0.1.11" + }, "dependencies": { "consola": "^2.15.3", "create-require": "^1.1.1", @@ -22,13 +28,5 @@ "unctx": "^0.0.3", "untyped": "^0.2.4", "upath": "^2.0.1" - }, - "build": { - "prebuild": "jiti ./scripts/gentypes", - "entries": { - "index": { - "format": "cjs" - } - } } } diff --git a/packages/kit/scripts/gentypes.ts b/packages/kit/scripts/gentypes.ts deleted file mode 100644 index 19d0673eab7..00000000000 --- a/packages/kit/scripts/gentypes.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { resolve } from 'path' -import { mkdir, writeFile } from 'fs/promises' -import { resolveSchema, generateTypes, generateMarkdown } from 'untyped' - -async function main () { - const genDir = resolve(__dirname, '../.gen') - const srcConfig = await import('../src/config/schema').then(r => r.default) - - const defaults = { rootDir: '//' } - const schema = resolveSchema(srcConfig, defaults) - - await mkdir(genDir).catch(() => { }) - await writeFile(resolve(genDir, 'config.md'), generateMarkdown(schema)) - await writeFile(resolve(genDir, 'config.schema.json'), JSON.stringify(schema, null, 2)) - await writeFile(resolve(genDir, 'config.defaults.json'), JSON.stringify(defaults, null, 2)) - await writeFile(resolve(genDir, 'config.d.ts'), 'export ' + generateTypes(schema, 'ConfigSchema')) -} - -main().catch(console.error) diff --git a/packages/kit/src/types/config.ts b/packages/kit/src/types/config.ts index f5070eec312..11178caa743 100644 --- a/packages/kit/src/types/config.ts +++ b/packages/kit/src/types/config.ts @@ -1,4 +1,4 @@ -import { ConfigSchema } from '../../.gen/config' +import { ConfigSchema } from '../../.gen/config/config' import { ModuleInstallOptions } from './module' import { NuxtHooks } from './hooks' diff --git a/packages/nitro/build.config.ts b/packages/nitro/build.config.ts new file mode 100644 index 00000000000..f25c1b96993 --- /dev/null +++ b/packages/nitro/build.config.ts @@ -0,0 +1,23 @@ +import type { BuildConfig } from 'unbuild' + +export default { + declaration: true, + entries: [ + 'src/index', + 'src/compat', + { input: 'src/runtime/', format: 'esm', declaration: false } + ], + dependencies: [ + '@cloudflare/kv-asset-handler', + '@netlify/functions', + '@nuxt/devalue', + 'connect', + 'destr', + 'ohmyfetch', + 'ora', + 'vue-bundle-renderer', + 'vue-server-renderer', + '@vue/server-renderer', + 'vue' + ] +} diff --git a/packages/nitro/package.json b/packages/nitro/package.json index ff6a73c31c9..4ceac71fcf8 100644 --- a/packages/nitro/package.json +++ b/packages/nitro/package.json @@ -7,28 +7,8 @@ "dist", "compat.js" ], - "build": { - "entries": { - "index": { - "format": "cjs" - }, - "compat": { - "format": "cjs" - }, - "runtime/": {} - }, - "dependencies": [ - "@cloudflare/kv-asset-handler", - "@nuxt/devalue", - "connect", - "destr", - "ohmyfetch", - "ora", - "vue-bundle-renderer", - "vue-server-renderer", - "@vue/server-renderer", - "vue" - ] + "scripts": { + "prepack": "unbuild" }, "dependencies": { "@cloudflare/kv-asset-handler": "^0.1.1", @@ -92,6 +72,7 @@ "@types/globby": "^9.1.0", "@types/http-proxy": "^1.17.5", "@types/node-fetch": "^2.5.9", - "@types/serve-static": "^1.13.9" + "@types/serve-static": "^1.13.9", + "unbuild": "^0.1.11" } } diff --git a/packages/nuxt3/build.config.ts b/packages/nuxt3/build.config.ts new file mode 100644 index 00000000000..f99f6e63fbf --- /dev/null +++ b/packages/nuxt3/build.config.ts @@ -0,0 +1,14 @@ +import type { BuildConfig } from 'unbuild' + +export default { + declaration: false, + entries: [ + 'src/index' + ], + dependencies: [ + '@nuxt/app', + '@nuxt/vite-builder', + '@nuxt/webpack-builder', + 'nuxt-cli' + ] +} diff --git a/packages/nuxt3/package.json b/packages/nuxt3/package.json index de4e26406ba..98cf7a49ae3 100644 --- a/packages/nuxt3/package.json +++ b/packages/nuxt3/package.json @@ -7,18 +7,8 @@ "files": [ "dist" ], - "build": { - "entries": { - "index": { - "format": "cjs" - } - }, - "dependencies": [ - "@nuxt/app", - "@nuxt/vite-builder", - "@nuxt/webpack-builder", - "nuxt-cli" - ] + "scripts": { + "prepack": "unbuild" }, "dependencies": { "@nuxt/app": "^0.2.1", @@ -43,6 +33,7 @@ "devDependencies": { "@types/fs-extra": "^9.0.10", "@types/hash-sum": "^1.0.0", - "@types/lodash": "^4.14.168" + "@types/lodash": "^4.14.168", + "unbuild": "^0.1.11" } } diff --git a/packages/nuxt3/src/nuxt.ts b/packages/nuxt3/src/nuxt.ts index 0aa0abfc9be..1beeba72091 100644 --- a/packages/nuxt3/src/nuxt.ts +++ b/packages/nuxt3/src/nuxt.ts @@ -1,5 +1,5 @@ import Hookable from 'hookable' -import { loadNuxtConfig, LoadNuxtConfigOptions, Nuxt, NuxtOptions, installModule } from '@nuxt/kit' +import { loadNuxtConfig, LoadNuxtConfigOptions, Nuxt, NuxtOptions, installModule, NuxtConfig } from '@nuxt/kit' import { initNitro } from './nitro' export function createNuxt (options: NuxtOptions): Nuxt { @@ -39,6 +39,8 @@ async function initNuxt (nuxt: Nuxt) { export interface LoadNuxtOptions extends LoadNuxtConfigOptions { for?: 'dev' | 'build' + rootDir?: string + config?: NuxtConfig } export async function loadNuxt (loadOpts: LoadNuxtOptions = {}): Promise { diff --git a/packages/vite/build.config.ts b/packages/vite/build.config.ts new file mode 100644 index 00000000000..3c4aa398686 --- /dev/null +++ b/packages/vite/build.config.ts @@ -0,0 +1,13 @@ +import type { BuildConfig } from 'unbuild' + +export default { + declaration: false, + entries: [ + 'src/index' + ], + dependencies: [ + '@nuxt/kit', + '@vue/compiler-sfc', + 'vue' + ] +} diff --git a/packages/vite/package.json b/packages/vite/package.json index d33f26b03f9..56ddff64e7e 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -7,17 +7,11 @@ "files": [ "dist" ], - "build": { - "entries": { - "index": { - "format": "cjs" - } - }, - "dependencies": [ - "@nuxt/kit", - "@vue/compiler-sfc", - "vue" - ] + "scripts": { + "prepack": "unbuild" + }, + "devDependencies": { + "unbuild": "^0.1.11" }, "dependencies": { "@nuxt/kit": "^0.2.0", diff --git a/packages/webpack/build.config.ts b/packages/webpack/build.config.ts new file mode 100644 index 00000000000..49fca75515c --- /dev/null +++ b/packages/webpack/build.config.ts @@ -0,0 +1,25 @@ +import type { BuildConfig } from 'unbuild' + +export default { + declaration: false, + entries: [ + 'src/index' + ], + dependencies: [ + '@nuxt/kit', + '@vue/compiler-sfc', + '@vue/babel-preset-jsx', + 'postcss', + 'postcss-import-resolver', + 'postcss-loader', + 'babel-loader', + 'vue-loader', + 'css-loader', + 'file-loader', + 'style-resources-loader', + 'url-loader', + 'vue-style-loader', + '@babel/core', + 'vue' + ] +} diff --git a/packages/webpack/package.json b/packages/webpack/package.json index fc586127a2c..402a3d03f3d 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -7,29 +7,8 @@ "files": [ "dist" ], - "build": { - "entries": { - "index": { - "format": "cjs" - } - }, - "dependencies": [ - "@nuxt/kit", - "@vue/compiler-sfc", - "@vue/babel-preset-jsx", - "postcss", - "postcss-import-resolver", - "postcss-loader", - "babel-loader", - "vue-loader", - "css-loader", - "file-loader", - "style-resources-loader", - "url-loader", - "vue-style-loader", - "@babel/core", - "vue" - ] + "scripts": { + "prepack": "unbuild" }, "dependencies": { "@babel/core": "^7.13.14", @@ -70,6 +49,7 @@ "@types/terser-webpack-plugin": "^5.0.3", "@types/webpack-bundle-analyzer": "^3.9.2", "@types/webpack-dev-middleware": "^4.1.2", - "@types/webpack-hot-middleware": "^2.25.4" + "@types/webpack-hot-middleware": "^2.25.4", + "unbuild": "^0.1.11" } } diff --git a/playground/pages/composables/asyncData/parallel.vue b/playground/pages/composables/asyncData/parallel.vue index c631294bcff..e0b1c23e767 100644 --- a/playground/pages/composables/asyncData/parallel.vue +++ b/playground/pages/composables/asyncData/parallel.vue @@ -11,7 +11,7 @@ diff --git a/examples/vue-apollo/plugins/apollo.js b/examples/vue-apollo/plugins/apollo.js new file mode 100644 index 00000000000..1e7bafa5b89 --- /dev/null +++ b/examples/vue-apollo/plugins/apollo.js @@ -0,0 +1,16 @@ +import { DefaultApolloClient } from '@vue/apollo-composable/dist' + +import { ApolloClient, createHttpLink, InMemoryCache } from '@apollo/client/core' + +export default ({ app }) => { + const httpLink = createHttpLink({ + uri: '/api/graphql' + }) + const cache = new InMemoryCache() + const apolloClient = new ApolloClient({ + link: httpLink, + cache + }) + // https://v3.vuejs.org/api/application-api.html#provide + app.provide(DefaultApolloClient, apolloClient) +} diff --git a/examples/vue-apollo/server/api/graphql.js b/examples/vue-apollo/server/api/graphql.js new file mode 100644 index 00000000000..04167fddb01 --- /dev/null +++ b/examples/vue-apollo/server/api/graphql.js @@ -0,0 +1,51 @@ +import express from 'express' +import { ApolloServer, gql } from 'apollo-server-express' + +// Construct a schema, using GraphQL schema language +const typeDefs = gql` + type Query { + users: [User!] + } + type User { + id: ID! + firstname: String + lastname: String + email: String + } +` + +// Provide resolver functions for your schema fields +const resolvers = { + Query: { + users: () => [ + { id: 1, firstname: 'John', lastname: 'Smith', email: 'john@smith.com' }, + { id: 2, firstname: 'Lucy', lastname: 'Aronson', email: 'lucy@aronson.net' } + ] + } +} + +const server = new ApolloServer({ + typeDefs, + resolvers, + introspection: true, + tracing: true, + playground: { + settings: { + 'editor.theme': 'light', + 'tracing.hideTracingResponse': false + }, + tabs: [ + { + name: 'Test', + endpoint: '/api/graphql', + query: 'query {\n users \n}' + } + ] + } +}) + +const app = express() + +app.use(server.getMiddleware({ path: '/' })) + +export default app diff --git a/yarn.lock b/yarn.lock index 2ed937373f1..602301890b9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5,6 +5,93 @@ __metadata: version: 4 cacheKey: 7 +"@apollo/client@npm:^3.3.14": + version: 3.3.20 + resolution: "@apollo/client@npm:3.3.20" + dependencies: + "@graphql-typed-document-node/core": ^3.0.0 + "@types/zen-observable": ^0.8.0 + "@wry/context": ^0.6.0 + "@wry/equality": ^0.5.0 + fast-json-stable-stringify: ^2.0.0 + graphql-tag: ^2.12.0 + hoist-non-react-statics: ^3.3.2 + optimism: ^0.16.0 + prop-types: ^15.7.2 + symbol-observable: ^4.0.0 + ts-invariant: ^0.7.0 + tslib: ^1.10.0 + zen-observable: ^0.8.14 + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 + react: ^16.8.0 || ^17.0.0 + subscriptions-transport-ws: ^0.9.0 + peerDependenciesMeta: + react: + optional: true + subscriptions-transport-ws: + optional: true + checksum: ba1e0d92a96e1278d014ccf5f9d7f0082355d2de12e4d4527ea3f5e1f3da5b7b0b274fdc7d18741c4d287bcb00194456cd8276282602962a7ac52fbe773fea26 + languageName: node + linkType: hard + +"@apollo/protobufjs@npm:1.2.2": + version: 1.2.2 + resolution: "@apollo/protobufjs@npm:1.2.2" + dependencies: + "@protobufjs/aspromise": ^1.1.2 + "@protobufjs/base64": ^1.1.2 + "@protobufjs/codegen": ^2.0.4 + "@protobufjs/eventemitter": ^1.1.0 + "@protobufjs/fetch": ^1.1.0 + "@protobufjs/float": ^1.0.2 + "@protobufjs/inquire": ^1.1.0 + "@protobufjs/path": ^1.1.2 + "@protobufjs/pool": ^1.1.0 + "@protobufjs/utf8": ^1.1.0 + "@types/long": ^4.0.0 + "@types/node": ^10.1.0 + long: ^4.0.0 + bin: + apollo-pbjs: bin/pbjs + apollo-pbts: bin/pbts + checksum: 75940f213d39728f2fdd662732eb6c085fb393bea01ccb58c5084a18559d1d7342bac3ebb44f93c9e86b8237c675ae81a04427866d156f93b16b691d020bfd44 + languageName: node + linkType: hard + +"@apollographql/apollo-tools@npm:^0.5.0": + version: 0.5.1 + resolution: "@apollographql/apollo-tools@npm:0.5.1" + checksum: f06b922b829167298ccfedd60bf9a918c537ceb83299a27d9e3369fe6009638cf58f3ed16ca3d88c94ec5b6e20867820c07f464d5666516d8d32a96fb82685c4 + languageName: node + linkType: hard + +"@apollographql/graphql-playground-html@npm:1.6.27": + version: 1.6.27 + resolution: "@apollographql/graphql-playground-html@npm:1.6.27" + dependencies: + xss: ^1.0.8 + checksum: 80a63817770dcea1a104aecf71305bbb8adbce23d4c67e74bc2c7f69a43cfef02bab339c4d2399f217984bc38a3b8a1150593ba32e7a57c239a2c41feb8f673d + languageName: node + linkType: hard + +"@apollographql/graphql-upload-8-fork@npm:^8.1.3": + version: 8.1.3 + resolution: "@apollographql/graphql-upload-8-fork@npm:8.1.3" + dependencies: + "@types/express": "*" + "@types/fs-capacitor": "*" + "@types/koa": "*" + busboy: ^0.3.1 + fs-capacitor: ^2.0.4 + http-errors: ^1.7.3 + object-path: ^0.11.4 + peerDependencies: + graphql: 0.13.1 - 15 + checksum: ca7c557586307e5446414ef19ff39a1c0bdb25d9ed830fcd4ca959c9da76bf498fefc175e6767394700e7165c20b4551eea1a4ec66e99fae81907d6e4910bbc9 + languageName: node + linkType: hard + "@babel/code-frame@npm:7.12.11": version: 7.12.11 resolution: "@babel/code-frame@npm:7.12.11" @@ -482,6 +569,15 @@ __metadata: languageName: node linkType: hard +"@graphql-typed-document-node/core@npm:^3.0.0": + version: 3.1.0 + resolution: "@graphql-typed-document-node/core@npm:3.1.0" + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 + checksum: f1c90f749b516ad67aa1eaeca1fdbe915ed1737464c6f99fb8571e301ade486587711b7bbdda4994068fd652992de7ed03538c7b6e585194edfa25feedf73e04 + languageName: node + linkType: hard + "@istanbuljs/load-nyc-config@npm:^1.0.0": version: 1.1.0 resolution: "@istanbuljs/load-nyc-config@npm:1.1.0" @@ -716,6 +812,13 @@ __metadata: languageName: node linkType: hard +"@josephg/resolvable@npm:^1.0.0": + version: 1.0.1 + resolution: "@josephg/resolvable@npm:1.0.1" + checksum: 818cd2243ea863c7565201c42945f6ddfe8be0a00be56bf0a359d36cf967a9502ea70a7dbd7ac9b8bd31a84bc7b05929e4c0a7518aed2566d67b4d97008b1eab + languageName: node + linkType: hard + "@lerna/add@npm:4.0.0": version: 4.0.0 resolution: "@lerna/add@npm:4.0.0" @@ -2019,6 +2122,79 @@ __metadata: languageName: node linkType: hard +"@protobufjs/aspromise@npm:^1.1.1, @protobufjs/aspromise@npm:^1.1.2": + version: 1.1.2 + resolution: "@protobufjs/aspromise@npm:1.1.2" + checksum: 83ced0798abea0c30ed07dc6338605ddfd8dc7b8b15d84586d155980f90476a8f049e7695d7de79d35dcada29a01710d24d0aa2104e8466412c0cbc6c14d9173 + languageName: node + linkType: hard + +"@protobufjs/base64@npm:^1.1.2": + version: 1.1.2 + resolution: "@protobufjs/base64@npm:1.1.2" + checksum: ae9e84aaf69f5e6aedfb346153c236e6f6ca0e97612c680251fc3e48e6c60746ed553062ea97fdde9f0592fb085e467b9de377a848a224d990a4f0a5e7212fa4 + languageName: node + linkType: hard + +"@protobufjs/codegen@npm:^2.0.4": + version: 2.0.4 + resolution: "@protobufjs/codegen@npm:2.0.4" + checksum: a05d5f8892eeb7696c73f7585a9c3a89eea293b37a582cd1a5d650908393287b0ca068dc55e7bbecd3ec146b2f61afaff2f61e3cb488ea67b900114247b1b717 + languageName: node + linkType: hard + +"@protobufjs/eventemitter@npm:^1.1.0": + version: 1.1.0 + resolution: "@protobufjs/eventemitter@npm:1.1.0" + checksum: 32a84e33f191a3ddc0ca4f8975484c0afaf10c2b27e0cb2008dabe267791420447c25d77b1409595aa6be660a908ada306d40cccb675aee7912c4bc82a9f512e + languageName: node + linkType: hard + +"@protobufjs/fetch@npm:^1.1.0": + version: 1.1.0 + resolution: "@protobufjs/fetch@npm:1.1.0" + dependencies: + "@protobufjs/aspromise": ^1.1.1 + "@protobufjs/inquire": ^1.1.0 + checksum: d682e5d8a164d096d71b05866eb0852d4e1fc024900e3af96a57d9f6396402b96d81b7bd77cda6b983ebcbfd715ec12dd1c1582760b7658a9438c530f5f6f4db + languageName: node + linkType: hard + +"@protobufjs/float@npm:^1.0.2": + version: 1.0.2 + resolution: "@protobufjs/float@npm:1.0.2" + checksum: eee7278de2c4550fac7ec156cba3d4227226a08470426cba6eb04671be9aea035bdf79b7839fdad624171451a4d66e1cdf01e4980e57223ba4f1e34ccd187563 + languageName: node + linkType: hard + +"@protobufjs/inquire@npm:^1.1.0": + version: 1.1.0 + resolution: "@protobufjs/inquire@npm:1.1.0" + checksum: 3541518cca945c2a95e2dcacacdc243fd64abc4cc51c2b691bd0534bd8a1b945c90368f57ba3fed1d6632e1e68d6dac6a7761738f89ccf60bb352b6624c8aacb + languageName: node + linkType: hard + +"@protobufjs/path@npm:^1.1.2": + version: 1.1.2 + resolution: "@protobufjs/path@npm:1.1.2" + checksum: 22f10c5c22e5b3f7bb3e7f0af15bafa1fe42bad3705f27448464c6221d956d10c6c9dad96a48650ec5acba7b072a64ab94da52e21f00e6cd9612da761f02b845 + languageName: node + linkType: hard + +"@protobufjs/pool@npm:^1.1.0": + version: 1.1.0 + resolution: "@protobufjs/pool@npm:1.1.0" + checksum: 5fc4af9e069b58cc39cfd6fded3bfe3de7113d35c1bc3458bfc6699fa42e90c2c6d96b5ae7c274470f272135122a9ab94c708eacfd81e1b0a593917841b07ec4 + languageName: node + linkType: hard + +"@protobufjs/utf8@npm:^1.1.0": + version: 1.1.0 + resolution: "@protobufjs/utf8@npm:1.1.0" + checksum: 5b3fa7425fe2852f6e5643d9a53c6cfb4491630667176c0fc35ddb7a71101559241bafb6b80486144ed75da3d3624095d037c802b578dbdb4cce131cf1bcb7cf + languageName: node + linkType: hard + "@rollup/plugin-alias@npm:^3.1.2": version: 3.1.2 resolution: "@rollup/plugin-alias@npm:3.1.2" @@ -2165,6 +2341,15 @@ __metadata: languageName: node linkType: hard +"@types/accepts@npm:*, @types/accepts@npm:^1.3.5": + version: 1.3.5 + resolution: "@types/accepts@npm:1.3.5" + dependencies: + "@types/node": "*" + checksum: 78a31c01d948c405a1a6a89061f0acd5a89df40de445c36382538985a3d00a236ba1cc5099bd812118525c2f29bb61d4869cd775ba63dd3e160113b5fa203915 + languageName: node + linkType: hard + "@types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.14": version: 7.1.14 resolution: "@types/babel__core@npm:7.1.14" @@ -2206,6 +2391,16 @@ __metadata: languageName: node linkType: hard +"@types/body-parser@npm:*, @types/body-parser@npm:1.19.0": + version: 1.19.0 + resolution: "@types/body-parser@npm:1.19.0" + dependencies: + "@types/connect": "*" + "@types/node": "*" + checksum: 4576f3fde5980c1219cadbc7c523bdb1cefc3713300e18bf47ff37bb9b8176342a1dc7519008311fd8fc11413cf188a83931b9b59051aa1c2f095c1e10459369 + languageName: node + linkType: hard + "@types/clear@npm:^0": version: 0.1.1 resolution: "@types/clear@npm:0.1.1" @@ -2222,6 +2417,32 @@ __metadata: languageName: node linkType: hard +"@types/content-disposition@npm:*": + version: 0.5.3 + resolution: "@types/content-disposition@npm:0.5.3" + checksum: 1b7d94b19ae8564816233b74df5f662052d393d0fdb317c81d894f5e1e762010c46b1812ce01a1492a72603e182afd18a59673e25ae737efc3e470ba261697d7 + languageName: node + linkType: hard + +"@types/cookies@npm:*": + version: 0.7.6 + resolution: "@types/cookies@npm:0.7.6" + dependencies: + "@types/connect": "*" + "@types/express": "*" + "@types/keygrip": "*" + "@types/node": "*" + checksum: c15012d2cd76aebb032998b0fcfb26dec1da65ecb2241daf1269f54b198293e4f71bf412cc1868213b0d9c98c0f532d9e8bc1e145cf0a0aa171dab708c41e959 + languageName: node + linkType: hard + +"@types/cors@npm:2.8.10": + version: 2.8.10 + resolution: "@types/cors@npm:2.8.10" + checksum: c3f3d6feee59ff75127fec3030d55c3d5f1adfc07953facdae67c47dcd54c83c46a5e92f08afa53542ec978da38a388697d30731019798cb157c9e96c64ef6c3 + languageName: node + linkType: hard + "@types/debounce-promise@npm:^3": version: 3.1.3 resolution: "@types/debounce-promise@npm:3.1.3" @@ -2277,6 +2498,61 @@ __metadata: languageName: node linkType: hard +"@types/express-serve-static-core@npm:4.17.19": + version: 4.17.19 + resolution: "@types/express-serve-static-core@npm:4.17.19" + dependencies: + "@types/node": "*" + "@types/qs": "*" + "@types/range-parser": "*" + checksum: b6c8c357c5d093303c681616b7a80d6a044b47c4161a3459c65e451137832b29a485a8f8708414205f427dade6b4ff5ef799d51715d12f92da3468cf41a2cf06 + languageName: node + linkType: hard + +"@types/express-serve-static-core@npm:^4.17.18": + version: 4.17.21 + resolution: "@types/express-serve-static-core@npm:4.17.21" + dependencies: + "@types/node": "*" + "@types/qs": "*" + "@types/range-parser": "*" + checksum: 437165cc123eacb36c7602e8df738d053c2fe4d67957e2b3758bd0b7426cd0439201b411b59dc85abc74456870011b0d91abb2f7bf8e35d8b643ecbdc5d91dfd + languageName: node + linkType: hard + +"@types/express@npm:*, @types/express@npm:^4": + version: 4.17.12 + resolution: "@types/express@npm:4.17.12" + dependencies: + "@types/body-parser": "*" + "@types/express-serve-static-core": ^4.17.18 + "@types/qs": "*" + "@types/serve-static": "*" + checksum: b1ab50e0373095283f5a58c8c1aa7e206182d241d24279e24d754819ae39959b35996d34633b1e4b3a9d3817559abad00ec33c94b96da945a9c3d1546f3e4f70 + languageName: node + linkType: hard + +"@types/express@npm:4.17.11": + version: 4.17.11 + resolution: "@types/express@npm:4.17.11" + dependencies: + "@types/body-parser": "*" + "@types/express-serve-static-core": ^4.17.18 + "@types/qs": "*" + "@types/serve-static": "*" + checksum: 2818120a0fd8b7982215864929cdc6cd14942dd44849f93054fe2a90b4233dff67aadc34c73b5937922a02c688b0263d00a4807aa2e59307ac859a1458d73669 + languageName: node + linkType: hard + +"@types/fs-capacitor@npm:*": + version: 2.0.0 + resolution: "@types/fs-capacitor@npm:2.0.0" + dependencies: + "@types/node": "*" + checksum: 2fed98a117ded3af250ae87193c716f41ac8e688eeacb73107688113d15d6bf8ad384c2319e7b430a8c1444197a34c274fed7ff75dab0de49844e841a629c0b0 + languageName: node + linkType: hard + "@types/fs-extra@npm:^9.0.11": version: 9.0.11 resolution: "@types/fs-extra@npm:9.0.11" @@ -2302,6 +2578,20 @@ __metadata: languageName: node linkType: hard +"@types/http-assert@npm:*": + version: 1.5.1 + resolution: "@types/http-assert@npm:1.5.1" + checksum: 0c9cbc568be88c60870d96953880c9b2c1d7c290df928a4004693debb715b8ad1b3e8a2f4b13b84e22b41379d20d9255e960532cf613a28126e8a433ddabac01 + languageName: node + linkType: hard + +"@types/http-errors@npm:*": + version: 1.8.0 + resolution: "@types/http-errors@npm:1.8.0" + checksum: f6a0cf40d026b339f3358771d1a98bce7e637429882255246ccf4056cf0f2df7aaf2997ba3072e13df8688f0cd2f9f99ac4d84bed4665710793de35642b4cdad + languageName: node + linkType: hard + "@types/http-proxy@npm:^1.17.6": version: 1.17.6 resolution: "@types/http-proxy@npm:1.17.6" @@ -2371,6 +2661,38 @@ __metadata: languageName: node linkType: hard +"@types/keygrip@npm:*": + version: 1.0.2 + resolution: "@types/keygrip@npm:1.0.2" + checksum: 8d86a3d702146ae7012571f1783bdc1228cc42ec89472b7ed14c2a46b12b1fa7423e9ecfbe1167bdbc4f26bdc95ee4b3b757a9df29202f98333cddc379b46f6d + languageName: node + linkType: hard + +"@types/koa-compose@npm:*": + version: 3.2.5 + resolution: "@types/koa-compose@npm:3.2.5" + dependencies: + "@types/koa": "*" + checksum: bb6cae03095752d2f351e650ec4f5631c4512aec85bf5f7bab210a91a04714fbe0e75edac120cb56aff2cee5c6549bd6bf7a0ccc35f3adc0aa41d463b0a1f310 + languageName: node + linkType: hard + +"@types/koa@npm:*": + version: 2.13.3 + resolution: "@types/koa@npm:2.13.3" + dependencies: + "@types/accepts": "*" + "@types/content-disposition": "*" + "@types/cookies": "*" + "@types/http-assert": "*" + "@types/http-errors": "*" + "@types/keygrip": "*" + "@types/koa-compose": "*" + "@types/node": "*" + checksum: 0ad6026adefd1dbdec014d1618c153722b5d585ef346ec09cb54f745c38ad6cb9a49b5a4f2d850d549d7c28f2122a05d0ab4d6eb58781d03903cd46a24f21b31 + languageName: node + linkType: hard + "@types/lodash@npm:^4.14.170": version: 4.14.170 resolution: "@types/lodash@npm:4.14.170" @@ -2378,6 +2700,13 @@ __metadata: languageName: node linkType: hard +"@types/long@npm:^4.0.0": + version: 4.0.1 + resolution: "@types/long@npm:4.0.1" + checksum: ed2a125330dbf2b425b2e58b1e1151a37106ceeec973f9f191fba0bda83ed00fae6d858254022e8b6e7165fec5f0c3872b7cb5f425c753383fed54699fb63b38 + languageName: node + linkType: hard + "@types/mime@npm:^1": version: 1.3.2 resolution: "@types/mime@npm:1.3.2" @@ -2423,6 +2752,13 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:^10.1.0": + version: 10.17.60 + resolution: "@types/node@npm:10.17.60" + checksum: af7e0b300da2b917555563d9bf770d1d07d9aa1930ec639336d5ba0a32e801e04f0291a658d0d0d77ce9f5df377c3018bf9de6416cee956bddd59de0e1b93d0f + languageName: node + linkType: hard + "@types/node@npm:^14.17.3": version: 14.17.3 resolution: "@types/node@npm:14.17.3" @@ -2472,6 +2808,20 @@ __metadata: languageName: node linkType: hard +"@types/qs@npm:*": + version: 6.9.6 + resolution: "@types/qs@npm:6.9.6" + checksum: a5f3c4f6ad6de2692e710302f5f82fe8db3ec0de1a75ada02a432f75f64025a6e38d28fcc4ed146d3145017e1312cc5cb3d81a0f41a798ec0463b5f47f017963 + languageName: node + linkType: hard + +"@types/range-parser@npm:*": + version: 1.2.3 + resolution: "@types/range-parser@npm:1.2.3" + checksum: 092fabae0ecbd728d3e4debc938cd043e97cb9f210cfec1c56ff6065c6e91666f376eb586591825d6757a058fd1a1dc4831d34e04ecfbb0800f35b8d86d38635 + languageName: node + linkType: hard + "@types/resolve@npm:1.17.1": version: 1.17.1 resolution: "@types/resolve@npm:1.17.1" @@ -2481,7 +2831,7 @@ __metadata: languageName: node linkType: hard -"@types/serve-static@npm:^1.13.9": +"@types/serve-static@npm:*, @types/serve-static@npm:^1.13.9": version: 1.13.9 resolution: "@types/serve-static@npm:1.13.9" dependencies: @@ -2595,6 +2945,15 @@ __metadata: languageName: node linkType: hard +"@types/ws@npm:^7.0.0": + version: 7.4.5 + resolution: "@types/ws@npm:7.4.5" + dependencies: + "@types/node": "*" + checksum: b467f596cc9992dde38ea9bb824135f20d0eae92515304e3de25e4b98a3b41e71897801900563c1e72f36fa7a6277c873896b842bd6d1b9d4b9457834533903b + languageName: node + linkType: hard + "@types/yargs-parser@npm:*": version: 20.2.0 resolution: "@types/yargs-parser@npm:20.2.0" @@ -2620,6 +2979,13 @@ __metadata: languageName: node linkType: hard +"@types/zen-observable@npm:^0.8.0": + version: 0.8.2 + resolution: "@types/zen-observable@npm:0.8.2" + checksum: f48643c09a5fb00503d5b5c156779870bc5c96c4cc7f3d0f643619752a04eed784de6a37c9121e284d2cdd8ec70e3e00a73613797f009f37dbe6795ffb9607c5 + languageName: node + linkType: hard + "@typescript-eslint/eslint-plugin@npm:^4.25.0": version: 4.27.0 resolution: "@typescript-eslint/eslint-plugin@npm:4.27.0" @@ -2753,6 +3119,21 @@ __metadata: languageName: node linkType: hard +"@vue/apollo-composable@npm:^4.0.0-alpha.12": + version: 4.0.0-alpha.12 + resolution: "@vue/apollo-composable@npm:4.0.0-alpha.12" + dependencies: + throttle-debounce: ^2.3.0 + vue-demi: ^0.4.0 + peerDependencies: + "@apollo/client": ^3.2.1 + "@vue/composition-api": ^1.0.0-beta.16 + graphql: ^14.5.8 + vue: ^2.6.10 + checksum: 72af446e168ba95289d36988a00b1dbe1ed462e67a86ab158578c11453f494197fdb4e6fb3c56cb27d6722a0c4eba6d9bf2ca138deb8ca7e49911eed0bbdedec + languageName: node + linkType: hard + "@vue/babel-helper-vue-jsx-merge-props@npm:^1.2.1": version: 1.2.1 resolution: "@vue/babel-helper-vue-jsx-merge-props@npm:1.2.1" @@ -3142,6 +3523,42 @@ __metadata: languageName: node linkType: hard +"@wry/context@npm:^0.6.0": + version: 0.6.0 + resolution: "@wry/context@npm:0.6.0" + dependencies: + tslib: ^2.1.0 + checksum: c1452ba9009a13ddf86c98b7051167304fdeb9284438d9c7ccb2f86a3f9724fd2ce5685574d5949cd4a66918dd230fbb61185b62b5dbd1760a8dea4b6c6900c0 + languageName: node + linkType: hard + +"@wry/equality@npm:^0.1.2": + version: 0.1.11 + resolution: "@wry/equality@npm:0.1.11" + dependencies: + tslib: ^1.9.3 + checksum: 3d1da5799967fc272ae53f698514c169c85a04c11c1db3e4641a21edc82af75bfb4db9221c4f87aa333f14c7b43b72311fa66dae1ae981fa6f24c2bc5863d92b + languageName: node + linkType: hard + +"@wry/equality@npm:^0.5.0": + version: 0.5.1 + resolution: "@wry/equality@npm:0.5.1" + dependencies: + tslib: ^2.1.0 + checksum: 9338248846ff40aa682c75d4bd5c78ccbda39342cea1246f21c018973b88635e19c8cd4180af57d3dd3f2317da8d269ce50b909be865d43d69815ed9a4afd092 + languageName: node + linkType: hard + +"@wry/trie@npm:^0.3.0": + version: 0.3.0 + resolution: "@wry/trie@npm:0.3.0" + dependencies: + tslib: ^2.1.0 + checksum: 74305830c7138924772073fbe6aeaadf2a9a55bc16ac4a2436f17dff83bb32950a17dbbb4fcdfb9f63977a53e3f8cda0dd33b18cfdbd5ba6f6484f84d12a504e + languageName: node + linkType: hard + "@xtuc/ieee754@npm:^1.2.0": version: 1.2.0 resolution: "@xtuc/ieee754@npm:1.2.0" @@ -3182,6 +3599,16 @@ __metadata: languageName: node linkType: hard +"accepts@npm:^1.3.5, accepts@npm:~1.3.7": + version: 1.3.7 + resolution: "accepts@npm:1.3.7" + dependencies: + mime-types: ~2.1.24 + negotiator: 0.6.2 + checksum: 2686fa30dbc850db1bf458dc8171fba13c54ed6cb25f4298ec7c2f88b8dfc50351f25c40abe3a948e4ec7a0cc8ea83d1c55c2f73ffa612d18840a8778d4a2ee0 + languageName: node + linkType: hard + "acorn-class-fields@npm:^1.0.0": version: 1.0.0 resolution: "acorn-class-fields@npm:1.0.0" @@ -3429,6 +3856,204 @@ __metadata: languageName: node linkType: hard +"apollo-cache-control@npm:^0.14.0": + version: 0.14.0 + resolution: "apollo-cache-control@npm:0.14.0" + dependencies: + apollo-server-env: ^3.1.0 + apollo-server-plugin-base: ^0.13.0 + peerDependencies: + graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 + checksum: 58e88b44b2bf97f07ba75b7952f65d8c0e9e4836fabc2ea92e797bcede581b8f4c2a6d07ac8d5ae696a2b06ee9b1041f5b16c66ec3db2d3c680a91ef81ee6f5b + languageName: node + linkType: hard + +"apollo-datasource@npm:^0.9.0": + version: 0.9.0 + resolution: "apollo-datasource@npm:0.9.0" + dependencies: + apollo-server-caching: ^0.7.0 + apollo-server-env: ^3.1.0 + checksum: 420b5b258101c310b54de73f3f7baf5da56180e23b08d7c65ee5127a44b8d9303f1eca94ce2c6c2328aead64130621909a294d5cd5e59e2f21ef18c610379c15 + languageName: node + linkType: hard + +"apollo-graphql@npm:^0.9.0": + version: 0.9.3 + resolution: "apollo-graphql@npm:0.9.3" + dependencies: + core-js-pure: ^3.10.2 + lodash.sortby: ^4.7.0 + sha.js: ^2.4.11 + peerDependencies: + graphql: ^14.2.1 || ^15.0.0 + checksum: 0da8498289a5a6f7b586d7a4336ec2219069c0136b70b3480079ac6cb357a94a53a1e6a411f0a18e1752f6644d5935e3627e67be9b88da5eb7d1731d8513e783 + languageName: node + linkType: hard + +"apollo-link@npm:^1.2.14": + version: 1.2.14 + resolution: "apollo-link@npm:1.2.14" + dependencies: + apollo-utilities: ^1.3.0 + ts-invariant: ^0.4.0 + tslib: ^1.9.3 + zen-observable-ts: ^0.8.21 + peerDependencies: + graphql: ^0.11.3 || ^0.12.3 || ^0.13.0 || ^14.0.0 || ^15.0.0 + checksum: 5cc96cd6df7280ad88f41532c32340972ca755b69f6a2f26f8faf04682c387a13d49dc31663674cac14e01f08828333d5deeefe54e667d1ad9ddc8375a216964 + languageName: node + linkType: hard + +"apollo-reporting-protobuf@npm:^0.8.0": + version: 0.8.0 + resolution: "apollo-reporting-protobuf@npm:0.8.0" + dependencies: + "@apollo/protobufjs": 1.2.2 + checksum: 8e0076257f5f36acdd53be8f7e0e8a079190c4082757d163fd86bff305d5b2cabddba62f66e6f76e0ac7ed507f8d016d960748a107aa922eedbca67702977735 + languageName: node + linkType: hard + +"apollo-server-caching@npm:^0.7.0": + version: 0.7.0 + resolution: "apollo-server-caching@npm:0.7.0" + dependencies: + lru-cache: ^6.0.0 + checksum: 33ef29534174d9acbad608361f27c0b016a822a1209fa879327db2c266099b344b476c23fe5fb12ec2d5e12a939fe0a80c3cf126c54266548a06669d906ee680 + languageName: node + linkType: hard + +"apollo-server-core@npm:^2.25.1": + version: 2.25.1 + resolution: "apollo-server-core@npm:2.25.1" + dependencies: + "@apollographql/apollo-tools": ^0.5.0 + "@apollographql/graphql-playground-html": 1.6.27 + "@apollographql/graphql-upload-8-fork": ^8.1.3 + "@josephg/resolvable": ^1.0.0 + "@types/ws": ^7.0.0 + apollo-cache-control: ^0.14.0 + apollo-datasource: ^0.9.0 + apollo-graphql: ^0.9.0 + apollo-reporting-protobuf: ^0.8.0 + apollo-server-caching: ^0.7.0 + apollo-server-env: ^3.1.0 + apollo-server-errors: ^2.5.0 + apollo-server-plugin-base: ^0.13.0 + apollo-server-types: ^0.9.0 + apollo-tracing: ^0.15.0 + async-retry: ^1.2.1 + fast-json-stable-stringify: ^2.0.0 + graphql-extensions: ^0.15.0 + graphql-tag: ^2.11.0 + graphql-tools: ^4.0.8 + loglevel: ^1.6.7 + lru-cache: ^6.0.0 + sha.js: ^2.4.11 + subscriptions-transport-ws: ^0.9.19 + uuid: ^8.0.0 + peerDependencies: + graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 + checksum: 90a86eb757ea7b30b06d77c23d38db8fb8b7b389699bb1c8c03977b69f86b4f7eff03d0ac4b763aebac7f79c4b46f105efc84ea56c481590da8a95d1a91e49b4 + languageName: node + linkType: hard + +"apollo-server-env@npm:^3.1.0": + version: 3.1.0 + resolution: "apollo-server-env@npm:3.1.0" + dependencies: + node-fetch: ^2.6.1 + util.promisify: ^1.0.0 + checksum: d5ef05cbd94f95d96fa2bb09f32ed8363882ba4be9a3cea9a8c1442dc0069512c38e73da26b2a802a6ab8b03e479e4f4247d25e439a6e10b121e380184d99605 + languageName: node + linkType: hard + +"apollo-server-errors@npm:^2.5.0": + version: 2.5.0 + resolution: "apollo-server-errors@npm:2.5.0" + peerDependencies: + graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 + checksum: 53a46de9808812766a78b79b73dcee69339be511e2c9b964881b881e2c6b18ccf364fb47b3618f4d9af6522321839f1545efd4a3fd03eace13f9cde069a7717f + languageName: node + linkType: hard + +"apollo-server-express@npm:^2.25.1": + version: 2.25.1 + resolution: "apollo-server-express@npm:2.25.1" + dependencies: + "@apollographql/graphql-playground-html": 1.6.27 + "@types/accepts": ^1.3.5 + "@types/body-parser": 1.19.0 + "@types/cors": 2.8.10 + "@types/express": 4.17.11 + "@types/express-serve-static-core": 4.17.19 + accepts: ^1.3.5 + apollo-server-core: ^2.25.1 + apollo-server-types: ^0.9.0 + body-parser: ^1.18.3 + cors: ^2.8.5 + express: ^4.17.1 + graphql-subscriptions: ^1.0.0 + graphql-tools: ^4.0.8 + parseurl: ^1.3.2 + subscriptions-transport-ws: ^0.9.19 + type-is: ^1.6.16 + peerDependencies: + graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 + checksum: 3ed1fba947cecabf9219085f2c07e2f314f9324ea5b8a82c945749e59850a3332dd46608832f51fb37362907db65aa4b0eb3e9bef507b1a91f0e494469d8f006 + languageName: node + linkType: hard + +"apollo-server-plugin-base@npm:^0.13.0": + version: 0.13.0 + resolution: "apollo-server-plugin-base@npm:0.13.0" + dependencies: + apollo-server-types: ^0.9.0 + peerDependencies: + graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 + checksum: ee8224a0d7aadc799f0a9766002f72f5c373b889eba731c22acf74dfd193378eb9b188b05ec21139384bc3108e9202b71dc9f8057e49f2aad294bb7c46f0e76c + languageName: node + linkType: hard + +"apollo-server-types@npm:^0.9.0": + version: 0.9.0 + resolution: "apollo-server-types@npm:0.9.0" + dependencies: + apollo-reporting-protobuf: ^0.8.0 + apollo-server-caching: ^0.7.0 + apollo-server-env: ^3.1.0 + peerDependencies: + graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 + checksum: 1841d91431fa2300064d6e92013c27cf757e16e34dfebe390b19058e844c06e5fc0ee8e5f5d263c2184988a8573816a574b0a0cff08461a337e555e45f685b4e + languageName: node + linkType: hard + +"apollo-tracing@npm:^0.15.0": + version: 0.15.0 + resolution: "apollo-tracing@npm:0.15.0" + dependencies: + apollo-server-env: ^3.1.0 + apollo-server-plugin-base: ^0.13.0 + peerDependencies: + graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 + checksum: cedcca7aafa56023a17caf88f22fc696fd09084fd64ab26240673cc1175b5d2c999cf8c658c0504621937111981627ff4a567c9c9237c0f4a617177724b368f5 + languageName: node + linkType: hard + +"apollo-utilities@npm:^1.0.1, apollo-utilities@npm:^1.3.0": + version: 1.3.4 + resolution: "apollo-utilities@npm:1.3.4" + dependencies: + "@wry/equality": ^0.1.2 + fast-json-stable-stringify: ^2.0.0 + ts-invariant: ^0.4.0 + tslib: ^1.10.0 + peerDependencies: + graphql: ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 + checksum: 5a046f8792b124a0fdc8ac37f4c50ba57cd4914dabcd652baaee08de541707c82bf2fb4d814e7d6d35b0b916f1582e5492c16809b43f0a2ce1584d9f89d4cd70 + languageName: node + linkType: hard + "aproba@npm:^1.0.3": version: 1.2.0 resolution: "aproba@npm:1.2.0" @@ -3516,6 +4141,13 @@ __metadata: languageName: node linkType: hard +"array-flatten@npm:1.1.1": + version: 1.1.1 + resolution: "array-flatten@npm:1.1.1" + checksum: de7a056451ff7891bb1bcda6ce2a50448ca70f63cd0fa7aa90430d288b6dc2931517b6853ce16c473a7f40fa6eaa874e20b6151616db93375471d1ffadfb1d3d + languageName: node + linkType: hard + "array-ify@npm:^1.0.0": version: 1.0.0 resolution: "array-ify@npm:1.0.0" @@ -3598,6 +4230,15 @@ __metadata: languageName: node linkType: hard +"async-retry@npm:^1.2.1": + version: 1.3.1 + resolution: "async-retry@npm:1.3.1" + dependencies: + retry: 0.12.0 + checksum: 20d5747abf89055b0b5d2a1d33e29d62f1a7539bc4a236035abef2b3c75fa7423e89fc2b0aeee01057bd080076095f8ab570afb337aa24fc6dd6b5860933d3f0 + languageName: node + linkType: hard + "async@npm:^3.2.0": version: 3.2.0 resolution: "async@npm:3.2.0" @@ -3732,6 +4373,13 @@ __metadata: languageName: node linkType: hard +"backo2@npm:^1.0.2": + version: 1.0.2 + resolution: "backo2@npm:1.0.2" + checksum: 72f19a0fd2b573f5504adf1f2e74e7658eec000e7732ebd5f622b6b1d520187277a5e8310787906455d02fcf915f35c5c48e54c997bed1a60b95355db8f2ccab + languageName: node + linkType: hard + "balanced-match@npm:^1.0.0": version: 1.0.2 resolution: "balanced-match@npm:1.0.2" @@ -3803,6 +4451,24 @@ __metadata: languageName: node linkType: hard +"body-parser@npm:1.19.0, body-parser@npm:^1.18.3": + version: 1.19.0 + resolution: "body-parser@npm:1.19.0" + dependencies: + bytes: 3.1.0 + content-type: ~1.0.4 + debug: 2.6.9 + depd: ~1.1.2 + http-errors: 1.7.2 + iconv-lite: 0.4.24 + on-finished: ~2.3.0 + qs: 6.7.0 + raw-body: 2.4.0 + type-is: ~1.6.17 + checksum: 18c2a81df5eabc7e3541bc9ace394b88e6fbd390989b5e764ff34c3f9dbd097e19986c31baa9b855ec5c2cff2b79157449afb0cdfb97bb99c11d6239b2c47a34 + languageName: node + linkType: hard + "boolbase@npm:^1.0.0": version: 1.0.0 resolution: "boolbase@npm:1.0.0" @@ -3926,6 +4592,15 @@ __metadata: languageName: node linkType: hard +"busboy@npm:^0.3.1": + version: 0.3.1 + resolution: "busboy@npm:0.3.1" + dependencies: + dicer: 0.3.0 + checksum: acc5c3d2f806c1f43a7a9a342bb4aaaa1223bac81cf3ba35ae3cc999f4e3a2e1b6db2d3895a228a862efbbc7b6fb39a7252e830bb5943e1b4362caa221c868ea + languageName: node + linkType: hard + "byline@npm:^5.0.0": version: 5.0.0 resolution: "byline@npm:5.0.0" @@ -3940,6 +4615,13 @@ __metadata: languageName: node linkType: hard +"bytes@npm:3.1.0": + version: 3.1.0 + resolution: "bytes@npm:3.1.0" + checksum: c3f64645ef37922c8194fef88a052de2a28101882dfdf8a225493888c4941a26ea15164957e7492e5c5e3a8e98ee6276f4834efacb68e2d8ad4d91f903250b6c + languageName: node + linkType: hard + "cacache@npm:^15.0.5, cacache@npm:^15.2.0": version: 15.2.0 resolution: "cacache@npm:15.2.0" @@ -4347,7 +5029,7 @@ __metadata: languageName: node linkType: hard -"commander@npm:^2.20.0": +"commander@npm:^2.20.0, commander@npm:^2.20.3": version: 2.20.3 resolution: "commander@npm:2.20.3" checksum: b73428e97de7624323f81ba13f8ed9271de487017432d18b4da3f07cfc528ad754bbd199004bd5d14e0ccd67d1fdfe0ec8dbbd4c438b401df3c4cc387bfd1daa @@ -4468,6 +5150,22 @@ __metadata: languageName: node linkType: hard +"content-disposition@npm:0.5.3": + version: 0.5.3 + resolution: "content-disposition@npm:0.5.3" + dependencies: + safe-buffer: 5.1.2 + checksum: 8f1f235c0423be68023df7f5a3948601d859ce44ee94e1d0fa2a97383bd469e789320b6ddf6f31b3620605c75cf771522df11386f51aff401e5d51b6ccfde3e2 + languageName: node + linkType: hard + +"content-type@npm:~1.0.4": + version: 1.0.4 + resolution: "content-type@npm:1.0.4" + checksum: ff6e19cbf281c23d5608723a6dc60ac97e2280bd4d21602511283112321e6c1555895e395555e367672b54a0f1585276284b7c3c8be313aca73902ac2f2609fd + languageName: node + linkType: hard + "conventional-changelog-angular@npm:^5.0.12": version: 5.0.12 resolution: "conventional-changelog-angular@npm:5.0.12" @@ -4582,6 +5280,27 @@ __metadata: languageName: node linkType: hard +"cookie-signature@npm:1.0.6": + version: 1.0.6 + resolution: "cookie-signature@npm:1.0.6" + checksum: 305054e102eebd0a483c63aefdc3abf54a9471bed5eb12be56c0dcf35a94110b8a13139b27751ab07a5ef09e9f4190ee67f71e9d3acf1748e6e2f1aed338c987 + languageName: node + linkType: hard + +"cookie@npm:0.4.0": + version: 0.4.0 + resolution: "cookie@npm:0.4.0" + checksum: 7aaef4b642c533600fdd001d963a507dfcd814267503374e51d9743475d024feeff8b0b4ddd0777a25791a2efbdfd8bc4a0fe0696104efa195e8f8584807d410 + languageName: node + linkType: hard + +"core-js-pure@npm:^3.10.2": + version: 3.14.0 + resolution: "core-js-pure@npm:3.14.0" + checksum: 8afceb673f05fd3fa384783f063b69f20f4f9a7963a66ac2330e3c63c14cb1e63b520e0195eba7019ee64bc3d5c3389000ef225b612dbadc8e1cfce7de54c907 + languageName: node + linkType: hard + "core-util-is@npm:1.0.2, core-util-is@npm:~1.0.0": version: 1.0.2 resolution: "core-util-is@npm:1.0.2" @@ -4589,6 +5308,16 @@ __metadata: languageName: node linkType: hard +"cors@npm:^2.8.5": + version: 2.8.5 + resolution: "cors@npm:2.8.5" + dependencies: + object-assign: ^4 + vary: ^1 + checksum: c83e88c15428b87ff55853ec5ce961b650c7aa3de536aadebbeb2334872d86a8be57165a77996f3b746366c950c2d51624a9b76b88fb7f18d178eca051ca1ae2 + languageName: node + linkType: hard + "cosmiconfig@npm:^7.0.0": version: 7.0.0 resolution: "cosmiconfig@npm:7.0.0" @@ -4761,6 +5490,13 @@ __metadata: languageName: node linkType: hard +"cssfilter@npm:0.0.10": + version: 0.0.10 + resolution: "cssfilter@npm:0.0.10" + checksum: 0a5cdc209e35ff0db9b0271846162ad9c0fdd7e612b217b88cfe6f1da5428b156369f17bab7f5f32f9d49b66daec912c188ef836735f499d87cafd824f3e9308 + languageName: node + linkType: hard + "cssnano-preset-default@npm:^5.1.3": version: 5.1.3 resolution: "cssnano-preset-default@npm:5.1.3" @@ -5102,6 +5838,13 @@ __metadata: languageName: node linkType: hard +"deprecated-decorator@npm:^0.1.6": + version: 0.1.6 + resolution: "deprecated-decorator@npm:0.1.6" + checksum: 35a358b89b0ca582266b5a2ce73e088658af576508463f1f608f0e7e08bf2fe3395651209a2d431d2c6901ebfafc483bc7318b8bb82d3b3585fcbd6e6c3d65de + languageName: node + linkType: hard + "deprecation@npm:^2.0.0, deprecation@npm:^2.3.1": version: 2.3.1 resolution: "deprecation@npm:2.3.1" @@ -5163,6 +5906,15 @@ __metadata: languageName: node linkType: hard +"dicer@npm:0.3.0": + version: 0.3.0 + resolution: "dicer@npm:0.3.0" + dependencies: + streamsearch: 0.1.2 + checksum: eb06a8c283287da1f0034cde3f2bafe8bbd70636d4c9b12783f36d919c88533d6d285e044197853e03c1a2ea5d68f8ebcf59d366bd873a4a91e5d370e9871ad7 + languageName: node + linkType: hard + "diff-sequences@npm:^26.6.2": version: 26.6.2 resolution: "diff-sequences@npm:26.6.2" @@ -5954,6 +6706,13 @@ __metadata: languageName: node linkType: hard +"eventemitter3@npm:^3.1.0": + version: 3.1.2 + resolution: "eventemitter3@npm:3.1.2" + checksum: fa1a206c4e4e8e427542f7fdfa10bd073a4ddf2510fb22e2f9a33b9aa7a0d5669bffba9b889e22d8c1c976af51a92dab274845e58d626ddb2d3563ed4d5d50dc + languageName: node + linkType: hard + "eventemitter3@npm:^4.0.0, eventemitter3@npm:^4.0.4": version: 4.0.7 resolution: "eventemitter3@npm:4.0.7" @@ -5992,10 +6751,25 @@ __metadata: languageName: unknown linkType: soft -"example-pages@workspace:examples/pages": +"example-pages@workspace:examples/pages": + version: 0.0.0-use.local + resolution: "example-pages@workspace:examples/pages" + dependencies: + nuxt3: latest + languageName: unknown + linkType: soft + +"example-vue-apollo@workspace:examples/vue-apollo": version: 0.0.0-use.local - resolution: "example-pages@workspace:examples/pages" - dependencies: + resolution: "example-vue-apollo@workspace:examples/vue-apollo" + dependencies: + "@apollo/client": ^3.3.14 + "@types/express": ^4 + "@vue/apollo-composable": ^4.0.0-alpha.12 + apollo-server-express: ^2.25.1 + express: ^4.17.1 + graphql: ^15.5.0 + graphql-tag: ^2.11.0 nuxt3: latest languageName: unknown linkType: soft @@ -6068,6 +6842,44 @@ __metadata: languageName: node linkType: hard +"express@npm:^4.17.1": + version: 4.17.1 + resolution: "express@npm:4.17.1" + dependencies: + accepts: ~1.3.7 + array-flatten: 1.1.1 + body-parser: 1.19.0 + content-disposition: 0.5.3 + content-type: ~1.0.4 + cookie: 0.4.0 + cookie-signature: 1.0.6 + debug: 2.6.9 + depd: ~1.1.2 + encodeurl: ~1.0.2 + escape-html: ~1.0.3 + etag: ~1.8.1 + finalhandler: ~1.1.2 + fresh: 0.5.2 + merge-descriptors: 1.0.1 + methods: ~1.1.2 + on-finished: ~2.3.0 + parseurl: ~1.3.3 + path-to-regexp: 0.1.7 + proxy-addr: ~2.0.5 + qs: 6.7.0 + range-parser: ~1.2.1 + safe-buffer: 5.1.2 + send: 0.17.1 + serve-static: 1.14.1 + setprototypeof: 1.1.1 + statuses: ~1.5.0 + type-is: ~1.6.18 + utils-merge: 1.0.1 + vary: ~1.1.2 + checksum: c4b470d623152c148e874b08d4afc35ea9498547c31a6ff6dae767ae11e3a59508a299732e9f45bfa2885685fbe2b75ca360862977798dfcec28ff2a4260eab2 + languageName: node + linkType: hard + "extend@npm:~3.0.2": version: 3.0.2 resolution: "extend@npm:3.0.2" @@ -6206,7 +7018,7 @@ __metadata: languageName: node linkType: hard -"finalhandler@npm:1.1.2": +"finalhandler@npm:1.1.2, finalhandler@npm:~1.1.2": version: 1.1.2 resolution: "finalhandler@npm:1.1.2" dependencies: @@ -6297,6 +7109,15 @@ __metadata: languageName: node linkType: hard +"for-each@npm:^0.3.3": + version: 0.3.3 + resolution: "for-each@npm:0.3.3" + dependencies: + is-callable: ^1.1.3 + checksum: 691c38d0e525c3e7e5d00b155bbe0021ee8b6ff22f225b1ec2fcabc8fd969ea24c1d2ca3a57c7ddebda304355127ac23e741f801591d1eb9b49b810da47794dc + languageName: node + linkType: hard + "foreach@npm:^2.0.5": version: 2.0.5 resolution: "foreach@npm:2.0.5" @@ -6333,6 +7154,13 @@ __metadata: languageName: node linkType: hard +"forwarded@npm:0.2.0": + version: 0.2.0 + resolution: "forwarded@npm:0.2.0" + checksum: 1e84548d8ffb072d7edd4c5375ce71e2631c28efcd1084c4578f1a71dd6c4b0d58a6ddcdc923514766030cf38068258971a919e91ffa472460ec0f6dac7209ea + languageName: node + linkType: hard + "fresh@npm:0.5.2": version: 0.5.2 resolution: "fresh@npm:0.5.2" @@ -6340,6 +7168,13 @@ __metadata: languageName: node linkType: hard +"fs-capacitor@npm:^2.0.4": + version: 2.0.4 + resolution: "fs-capacitor@npm:2.0.4" + checksum: 08b70847be568de2c91e54690e733df7bd8599e6fca4ee56f9872a04f0bbf5367bccbe1fc2c8140f891e87c6108a41f874b9b7a4f3d32bc694b3f396ec6d652b + languageName: node + linkType: hard + "fs-constants@npm:^1.0.0": version: 1.0.0 resolution: "fs-constants@npm:1.0.0" @@ -6693,6 +7528,63 @@ __metadata: languageName: node linkType: hard +"graphql-extensions@npm:^0.15.0": + version: 0.15.0 + resolution: "graphql-extensions@npm:0.15.0" + dependencies: + "@apollographql/apollo-tools": ^0.5.0 + apollo-server-env: ^3.1.0 + apollo-server-types: ^0.9.0 + peerDependencies: + graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 + checksum: 95b771a2f88a2d8d5083e849842a57e9ddcd5f74c19e9cf13173cec1f2a2f27d6b382b4361d774473d8601e76db0dfadc87cfd0cf51545922a2fcd93e8b86f54 + languageName: node + linkType: hard + +"graphql-subscriptions@npm:^1.0.0": + version: 1.2.1 + resolution: "graphql-subscriptions@npm:1.2.1" + dependencies: + iterall: ^1.3.0 + peerDependencies: + graphql: ^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 + checksum: 9de788213f885de8c2b9cf45f9620d6bcbd7606796f96a1ff7761f0a5c60485e9abb534b8e3080564bc0e923ca24ed6677a24bab04581e646027248b3ebd4cfd + languageName: node + linkType: hard + +"graphql-tag@npm:^2.11.0, graphql-tag@npm:^2.12.0": + version: 2.12.4 + resolution: "graphql-tag@npm:2.12.4" + dependencies: + tslib: ^2.1.0 + peerDependencies: + graphql: ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 + checksum: 01623ede3509a46becd80cdcff81b63248f3bc5dc44b4e7df54730b5c77101c5b44d49ed7d1fbb83a5de0ad21fda59fca33f0f2d9ea5c0d95884aba6d15aeab9 + languageName: node + linkType: hard + +"graphql-tools@npm:^4.0.8": + version: 4.0.8 + resolution: "graphql-tools@npm:4.0.8" + dependencies: + apollo-link: ^1.2.14 + apollo-utilities: ^1.0.1 + deprecated-decorator: ^0.1.6 + iterall: ^1.1.3 + uuid: ^3.1.0 + peerDependencies: + graphql: ^0.13.0 || ^14.0.0 || ^15.0.0 + checksum: 93f62ea9b1d66c5a9a5b43ef510be462b4d64e0e469e9d49b42f9b1343a445902096170f6c58b35988495ae628fd456666254cb2cbf14ea2814bb053c9c84057 + languageName: node + linkType: hard + +"graphql@npm:^15.5.0": + version: 15.5.0 + resolution: "graphql@npm:15.5.0" + checksum: 789cdcb069a3e00592e779002217a6bc5fd09efad63ee8c4190c4b3ea96c89010e74f085fb1cba876a0bb0e324e01df2eddb84d79dca90a28e582bc425fef9ef + languageName: node + linkType: hard + "gzip-size@npm:^6.0.0": version: 6.0.0 resolution: "gzip-size@npm:6.0.0" @@ -6844,6 +7736,15 @@ __metadata: languageName: node linkType: hard +"hoist-non-react-statics@npm:^3.3.2": + version: 3.3.2 + resolution: "hoist-non-react-statics@npm:3.3.2" + dependencies: + react-is: ^16.7.0 + checksum: d3e3791d6e3a2741ce0ba38e878081dec49247ef22982a990c80941ee1f564ef16cd5a511bcc8c5e54f1ce8205535e0414ca5feea722c0690c80040be7ebf9df + languageName: node + linkType: hard + "hookable@npm:^4.4.1": version: 4.4.1 resolution: "hookable@npm:4.4.1" @@ -6918,6 +7819,32 @@ __metadata: languageName: node linkType: hard +"http-errors@npm:1.7.2": + version: 1.7.2 + resolution: "http-errors@npm:1.7.2" + dependencies: + depd: ~1.1.2 + inherits: 2.0.3 + setprototypeof: 1.1.1 + statuses: ">= 1.5.0 < 2" + toidentifier: 1.0.0 + checksum: 8ce4a4af05a3652c81768a2754ced24b86ff62e7bee147a27b6ef8cde24e7a48f9fbfcb87ec6f67781879b95f1b35d3f8d6378e8555eb7d469ce875f4e184418 + languageName: node + linkType: hard + +"http-errors@npm:^1.7.3": + version: 1.8.0 + resolution: "http-errors@npm:1.8.0" + dependencies: + depd: ~1.1.2 + inherits: 2.0.4 + setprototypeof: 1.2.0 + statuses: ">= 1.5.0 < 2" + toidentifier: 1.0.0 + checksum: 95ad78508b2929923dac83edd7ce513db87c4214df83a6664559810566da73d9a6892ffdcd76738d9ab9d33172b4c7e304436a4031d471569a7344396fea0ecb + languageName: node + linkType: hard + "http-errors@npm:~1.7.2": version: 1.7.3 resolution: "http-errors@npm:1.7.3" @@ -7130,13 +8057,20 @@ __metadata: languageName: node linkType: hard -"inherits@npm:2, inherits@npm:2.0.4, inherits@npm:^2.0.3, inherits@npm:^2.0.4, inherits@npm:~2.0.3": +"inherits@npm:2, inherits@npm:2.0.4, inherits@npm:^2.0.1, inherits@npm:^2.0.3, inherits@npm:^2.0.4, inherits@npm:~2.0.3": version: 2.0.4 resolution: "inherits@npm:2.0.4" checksum: 98426da247ddfc3dcd7d7daedd90c3ca32d5b08deca08949726f12d49232aef94772a07b36cf4ff833e105ae2ef931777f6de4a6dd8245a216b9299ad4a50bea languageName: node linkType: hard +"inherits@npm:2.0.3": + version: 2.0.3 + resolution: "inherits@npm:2.0.3" + checksum: 9488f9433effbc24474f6baee8014e5337c7f99305ecb4204fa5864ae7655c24225780d87fc65ed8d3d374715a18c5dc8c69fe3bf9745cde2e7acd0ac068a07b + languageName: node + linkType: hard + "ini@npm:^1.3.2, ini@npm:^1.3.4, ini@npm:~1.3.0": version: 1.3.8 resolution: "ini@npm:1.3.8" @@ -7213,6 +8147,13 @@ __metadata: languageName: node linkType: hard +"ipaddr.js@npm:1.9.1": + version: 1.9.1 + resolution: "ipaddr.js@npm:1.9.1" + checksum: de15bc7e63973d960abc43c9fbbf19589c726774f59d157d1b29382a1e86ae87c68cbd8b5c78a1712a87fc4fcd91e10762c7671950c66a1a19040ff4fd2f9c9b + languageName: node + linkType: hard + "is-absolute-url@npm:^3.0.3": version: 3.0.3 resolution: "is-absolute-url@npm:3.0.3" @@ -7261,7 +8202,7 @@ __metadata: languageName: node linkType: hard -"is-callable@npm:^1.1.4, is-callable@npm:^1.2.3": +"is-callable@npm:^1.1.3, is-callable@npm:^1.1.4, is-callable@npm:^1.2.3": version: 1.2.3 resolution: "is-callable@npm:1.2.3" checksum: 8180a1c4e227e204e199ff355c4f24a80f74536898e16716583aa6a09167f2cceecc188cea750a2f3ae3b163577691595ae8d22bf7bb94b4bbb9fbdfea1bc5c3 @@ -7685,6 +8626,13 @@ __metadata: languageName: node linkType: hard +"iterall@npm:^1.1.3, iterall@npm:^1.2.1, iterall@npm:^1.3.0": + version: 1.3.0 + resolution: "iterall@npm:1.3.0" + checksum: 25ae2d07cf97fc35d43fa7af814839689416b83d3ade0fec97a62c58b7b9fad5ff89dd0ede99f2d67cae2697ffa6987f0ab10876f40ae6466e802609a05b1006 + languageName: node + linkType: hard + "jest-changed-files@npm:^27.0.2": version: 27.0.2 resolution: "jest-changed-files@npm:27.0.2" @@ -8224,7 +9172,7 @@ __metadata: languageName: node linkType: hard -"js-tokens@npm:^4.0.0": +"js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0": version: 4.0.0 resolution: "js-tokens@npm:4.0.0" checksum: 1fc4e4667ac2d972aba65148b9cbf9c17566b2394d3504238d8492bbd3e68f496c657eab06b26b40b17db5cac0a34d153a12130e2d2d2bb6dc2cdc8a4764eb1b @@ -8716,6 +9664,13 @@ __metadata: languageName: node linkType: hard +"lodash.sortby@npm:^4.7.0": + version: 4.7.0 + resolution: "lodash.sortby@npm:4.7.0" + checksum: 43cde11276c66da7b3eda5e9f00dc6edc276d2bcf0a5969ffc62b612cd1c4baf2eff5e84cee11383005722c460a9ca0f521fad4fa1cd2dc1ef013ee4da2dfe63 + languageName: node + linkType: hard + "lodash.template@npm:^4.5.0": version: 4.5.0 resolution: "lodash.template@npm:4.5.0" @@ -8773,6 +9728,31 @@ __metadata: languageName: node linkType: hard +"loglevel@npm:^1.6.7": + version: 1.7.1 + resolution: "loglevel@npm:1.7.1" + checksum: abee97e346afb3c7e4130eff3025b4e8da1450cf92495bd12f3cc5faff46d6f658f73529c21e7d75634677f48ab1e14ceb5167d1952f53e8aceba5cb795029c2 + languageName: node + linkType: hard + +"long@npm:^4.0.0": + version: 4.0.0 + resolution: "long@npm:4.0.0" + checksum: 9cebc1ee8b9ea15278c977f61250ac41becdf7216104905f0d198c147ed2a7a090a2d83bb212878d3dc3ccb0199e6428862f848ec4b0ecfeab4dfe24eccf21b3 + languageName: node + linkType: hard + +"loose-envify@npm:^1.4.0": + version: 1.4.0 + resolution: "loose-envify@npm:1.4.0" + dependencies: + js-tokens: ^3.0.0 || ^4.0.0 + bin: + loose-envify: cli.js + checksum: 5c3b47bbe5f597a3889fb001a3a98aaea2a3fafa48089c19034de1e0121bf57dbee609d184478514d74d5c5a7e9cfa3d846343455e5123b060040d46c39e91dc + languageName: node + linkType: hard + "loud-rejection@npm:^1.0.0": version: 1.6.0 resolution: "loud-rejection@npm:1.6.0" @@ -8922,6 +9902,13 @@ __metadata: languageName: node linkType: hard +"media-typer@npm:0.3.0": + version: 0.3.0 + resolution: "media-typer@npm:0.3.0" + checksum: be1c825782df7f38eebd451d778f6407bb15a59c8807a69e7f2ad74a25440e474536441c6bf583fdf2803ea23b866e91ff68f565cda297211dd89147758c8df3 + languageName: node + linkType: hard + "mem@npm:^8.1.1": version: 8.1.1 resolution: "mem@npm:8.1.1" @@ -8988,6 +9975,13 @@ __metadata: languageName: node linkType: hard +"merge-descriptors@npm:1.0.1": + version: 1.0.1 + resolution: "merge-descriptors@npm:1.0.1" + checksum: 2d2a09eaac840a7ceac7a13b44b7c8abf3ecccd93a609c3525d8290cb5d814336cc7c0b1dd485ae3bc471ed354eeefb153475ce2e1604ccdf79eebe74021c192 + languageName: node + linkType: hard + "merge-source-map@npm:^1.1.0": version: 1.1.0 resolution: "merge-source-map@npm:1.1.0" @@ -9011,6 +10005,13 @@ __metadata: languageName: node linkType: hard +"methods@npm:~1.1.2": + version: 1.1.2 + resolution: "methods@npm:1.1.2" + checksum: 450e4ea0fd4a0f3de8c0593d753c7d6c8f2ee49766f5ef35c68cc2ac41699d5e295b7d6330fc2b7271b8569a07857e3eb0b5df0599a353c5808265b4b5066168 + languageName: node + linkType: hard + "micromatch@npm:^4.0.2, micromatch@npm:^4.0.4": version: 4.0.4 resolution: "micromatch@npm:4.0.4" @@ -9028,7 +10029,7 @@ __metadata: languageName: node linkType: hard -"mime-types@npm:^2.1.12, mime-types@npm:^2.1.27, mime-types@npm:^2.1.31, mime-types@npm:~2.1.19": +"mime-types@npm:^2.1.12, mime-types@npm:^2.1.27, mime-types@npm:^2.1.31, mime-types@npm:~2.1.19, mime-types@npm:~2.1.24": version: 2.1.31 resolution: "mime-types@npm:2.1.31" dependencies: @@ -9367,7 +10368,7 @@ __metadata: languageName: node linkType: hard -"negotiator@npm:^0.6.2": +"negotiator@npm:0.6.2, negotiator@npm:^0.6.2": version: 0.6.2 resolution: "negotiator@npm:0.6.2" checksum: 4b230bd15f0862d16c54ce0243fcfcf835ad59c8e58c467b4504dd28c9868cff71ff485b02cc575dc69dca819b58a1fadc9fb28403f45721f38a8fffde007d54 @@ -9840,7 +10841,7 @@ __metadata: languageName: node linkType: hard -"object-assign@npm:^4.0.1, object-assign@npm:^4.1.0": +"object-assign@npm:^4, object-assign@npm:^4.0.1, object-assign@npm:^4.1.0, object-assign@npm:^4.1.1": version: 4.1.1 resolution: "object-assign@npm:4.1.1" checksum: 66cf021898fc1b13ea573ea8635fbd5a76533f50cecbc2fcd5eee1e8029af41bcebe7023788b6d0e06cbe4401ecea075d972f78ec74467cdc571a0f1a4d1a081 @@ -9868,6 +10869,13 @@ __metadata: languageName: node linkType: hard +"object-path@npm:^0.11.4": + version: 0.11.5 + resolution: "object-path@npm:0.11.5" + checksum: a2be57f65eb247161763280e857ddbafcfbb41ad7cfcfb0a78aca2e8adb990a7b5afe6b182c20baf0e218e541ec75c1807fd04d50e3049920c2ec65e6eb9c900 + languageName: node + linkType: hard + "object.assign@npm:^4.1.2": version: 4.1.2 resolution: "object.assign@npm:4.1.2" @@ -9880,7 +10888,7 @@ __metadata: languageName: node linkType: hard -"object.getownpropertydescriptors@npm:^2.0.3": +"object.getownpropertydescriptors@npm:^2.0.3, object.getownpropertydescriptors@npm:^2.1.1": version: 2.1.2 resolution: "object.getownpropertydescriptors@npm:2.1.2" dependencies: @@ -9960,6 +10968,16 @@ __metadata: languageName: node linkType: hard +"optimism@npm:^0.16.0": + version: 0.16.1 + resolution: "optimism@npm:0.16.1" + dependencies: + "@wry/context": ^0.6.0 + "@wry/trie": ^0.3.0 + checksum: 760b1295525ba86592edf245736ed704670330a8997d91144c1b45bc9f76e392b53c170fb1eb3b265f67584a4f7e205bc777d0c8ed97774326dba9fbfe899e27 + languageName: node + linkType: hard + "optionator@npm:^0.8.1": version: 0.8.3 resolution: "optionator@npm:0.8.3" @@ -10281,7 +11299,7 @@ __metadata: languageName: node linkType: hard -"parseurl@npm:~1.3.3": +"parseurl@npm:^1.3.2, parseurl@npm:~1.3.3": version: 1.3.3 resolution: "parseurl@npm:1.3.3" checksum: 52c9e86cb58e38b28f1a50a6354d16648974ab7a2b91b209f97102840471de8adf524427774af6d5bc482fb7c0a6af6ba08ab37de9a1a7ae389ebe074015914b @@ -10339,6 +11357,13 @@ __metadata: languageName: node linkType: hard +"path-to-regexp@npm:0.1.7": + version: 0.1.7 + resolution: "path-to-regexp@npm:0.1.7" + checksum: 342fdb0ca48415d6eccdbe6d4180fd0fa4786ccc96ab3f74fcdf7acfc99e075af25e6077c8086c341dcfb4f5f84401ecd21e6cd7b24e0c3b556fb7ffb2570da7 + languageName: node + linkType: hard + "path-type@npm:^1.0.0": version: 1.1.0 resolution: "path-type@npm:1.1.0" @@ -11014,6 +12039,17 @@ __metadata: languageName: node linkType: hard +"prop-types@npm:^15.7.2": + version: 15.7.2 + resolution: "prop-types@npm:15.7.2" + dependencies: + loose-envify: ^1.4.0 + object-assign: ^4.1.1 + react-is: ^16.8.1 + checksum: a440dd406c5cf53bf39f3e898d2c65178511d34ca3c8c789b30c177992408b9e4273969726b274719aa69ccce5ab34b2fd8caa60b90f23cd2e910cdcf682de52 + languageName: node + linkType: hard + "proto-list@npm:~1.2.1": version: 1.2.4 resolution: "proto-list@npm:1.2.4" @@ -11028,6 +12064,16 @@ __metadata: languageName: node linkType: hard +"proxy-addr@npm:~2.0.5": + version: 2.0.7 + resolution: "proxy-addr@npm:2.0.7" + dependencies: + forwarded: 0.2.0 + ipaddr.js: 1.9.1 + checksum: ad78682246dc20ed6ca4080539349828bc2708cf0b69c55d6a3c41532780a8d05f563dcbac6ec4b74dce367421bff6fc4bc6b700b14319ecf57c93bd62727fc6 + languageName: node + linkType: hard + "prr@npm:~1.0.1": version: 1.0.1 resolution: "prr@npm:1.0.1" @@ -11066,6 +12112,13 @@ __metadata: languageName: node linkType: hard +"qs@npm:6.7.0": + version: 6.7.0 + resolution: "qs@npm:6.7.0" + checksum: 8590470436ff0a75ae35e6b45fd7260e2beb537ff8ec1104f9703a349b09ce1aa27e8e1c06b9ad25ac62fc098e12cc65df93042a233128a0276ccd6de4c7819a + languageName: node + linkType: hard + "qs@npm:^6.9.4": version: 6.10.1 resolution: "qs@npm:6.10.1" @@ -11131,6 +12184,18 @@ __metadata: languageName: node linkType: hard +"raw-body@npm:2.4.0": + version: 2.4.0 + resolution: "raw-body@npm:2.4.0" + dependencies: + bytes: 3.1.0 + http-errors: 1.7.2 + iconv-lite: 0.4.24 + unpipe: 1.0.0 + checksum: 46dc02f8b4f358786d41e18fb55533fbe4702d390e22bbe2b9c98c88dec41cab23ea2315f3ae0bf4bc0213a2872c89943d3df6857f4e21f996ea9d2d92f1bcaa + languageName: node + linkType: hard + "rc9@npm:^1.2.0": version: 1.2.0 resolution: "rc9@npm:1.2.0" @@ -11156,6 +12221,13 @@ __metadata: languageName: node linkType: hard +"react-is@npm:^16.7.0, react-is@npm:^16.8.1": + version: 16.13.1 + resolution: "react-is@npm:16.13.1" + checksum: 11bcf1267a314a522615f626f3ce3727a3a24cdbf61c4d452add3550a7875326669631326cfb1ba3e92b6f72244c32ffecf93ad21c0cad8455d3e169d0e3f060 + languageName: node + linkType: hard + "react-is@npm:^17.0.1": version: 17.0.2 resolution: "react-is@npm:17.0.2" @@ -11538,7 +12610,7 @@ __metadata: languageName: node linkType: hard -"retry@npm:^0.12.0": +"retry@npm:0.12.0, retry@npm:^0.12.0": version: 0.12.0 resolution: "retry@npm:0.12.0" checksum: 51f2fddddb2f157a0738c53c515682813a881df566da36992f3cf0a975ea84a19434c5abbc682056e97351540bcc7ea38fce2622d0b191c3b5cc1020b71ea0f2 @@ -11687,6 +12759,13 @@ __metadata: languageName: node linkType: hard +"safe-buffer@npm:5.1.2, safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1": + version: 5.1.2 + resolution: "safe-buffer@npm:5.1.2" + checksum: 2708587c1b5e70a5e420714ceb59f30f5791c6e831d39812125a008eca63a4ac18578abd020a0776ea497ff03b4543f2b2a223a7b9073bf2d6c7af9ec6829218 + languageName: node + linkType: hard + "safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:^5.1.2, safe-buffer@npm:~5.2.0": version: 5.2.1 resolution: "safe-buffer@npm:5.2.1" @@ -11694,13 +12773,6 @@ __metadata: languageName: node linkType: hard -"safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1": - version: 5.1.2 - resolution: "safe-buffer@npm:5.1.2" - checksum: 2708587c1b5e70a5e420714ceb59f30f5791c6e831d39812125a008eca63a4ac18578abd020a0776ea497ff03b4543f2b2a223a7b9073bf2d6c7af9ec6829218 - languageName: node - linkType: hard - "safe-regex@npm:^2.1.1": version: 2.1.1 resolution: "safe-regex@npm:2.1.1" @@ -11857,7 +12929,7 @@ __metadata: languageName: node linkType: hard -"serve-static@npm:^1.14.1": +"serve-static@npm:1.14.1, serve-static@npm:^1.14.1": version: 1.14.1 resolution: "serve-static@npm:1.14.1" dependencies: @@ -11883,6 +12955,25 @@ __metadata: languageName: node linkType: hard +"setprototypeof@npm:1.2.0": + version: 1.2.0 + resolution: "setprototypeof@npm:1.2.0" + checksum: 72691439857719aa33ec11ebc97960347f0f96e75c2fe65d0f2ca5c9c44fb1aa026e2ae528959624ed3ae3820fe06bfb1aded306402c5c941afd3dfdf47f79d0 + languageName: node + linkType: hard + +"sha.js@npm:^2.4.11": + version: 2.4.11 + resolution: "sha.js@npm:2.4.11" + dependencies: + inherits: ^2.0.1 + safe-buffer: ^5.0.1 + bin: + sha.js: ./bin.js + checksum: 7554240ab76e683f7115123eb4815aae16b5fc6f2cdff97009831ad5b17b107ffcef022526211f7306957bce7a67fa4d0ccad79a3040c5073414365595e90516 + languageName: node + linkType: hard + "shallow-clone@npm:^3.0.0": version: 3.0.1 resolution: "shallow-clone@npm:3.0.1" @@ -12245,6 +13336,13 @@ __metadata: languageName: node linkType: hard +"streamsearch@npm:0.1.2": + version: 0.1.2 + resolution: "streamsearch@npm:0.1.2" + checksum: f72befba95082d49be19cd4318112bc141f6cd7cbb201ee8079887f6f3cbcdf79c311977ce0eaa93d7d8c3e6b9727412f6177a87ced5b98d0fd4075723ad8eaf + languageName: node + linkType: hard + "strict-uri-encode@npm:^2.0.0": version: 2.0.0 resolution: "strict-uri-encode@npm:2.0.0" @@ -12475,6 +13573,21 @@ __metadata: languageName: node linkType: hard +"subscriptions-transport-ws@npm:^0.9.19": + version: 0.9.19 + resolution: "subscriptions-transport-ws@npm:0.9.19" + dependencies: + backo2: ^1.0.2 + eventemitter3: ^3.1.0 + iterall: ^1.2.1 + symbol-observable: ^1.0.4 + ws: ^5.2.0 || ^6.0.0 || ^7.0.0 + peerDependencies: + graphql: ">=0.10.0" + checksum: d305b2d9db46070edcbadca257df725d241253141d1a1ff019b47ba0f650678b4419e598bdda410d49913ffc2eb76695f4ae8e9cbf8b8cd124f057143a9250b7 + languageName: node + linkType: hard + "supports-color@npm:^2.0.0": version: 2.0.0 resolution: "supports-color@npm:2.0.0" @@ -12543,6 +13656,20 @@ __metadata: languageName: node linkType: hard +"symbol-observable@npm:^1.0.4": + version: 1.2.0 + resolution: "symbol-observable@npm:1.2.0" + checksum: 268834a1d4cba19d40f367e5c2755f612969c8418e43a3be17408e392802a667f8bb542893440d58a080a8ea8da05ea98e27e472b9f4ff6fbda78a21a1a41c53 + languageName: node + linkType: hard + +"symbol-observable@npm:^4.0.0": + version: 4.0.0 + resolution: "symbol-observable@npm:4.0.0" + checksum: 6d184cd370270ab53279d2737c6880d64bbe854dbdf3d759600efbc11bba3d006a9f805070c81c84fae949067c069cd001a1440295ca3b36f705b05293bf8e1e + languageName: node + linkType: hard + "symbol-tree@npm:^3.2.4": version: 3.2.4 resolution: "symbol-tree@npm:3.2.4" @@ -12711,6 +13838,13 @@ __metadata: languageName: node linkType: hard +"throttle-debounce@npm:^2.3.0": + version: 2.3.0 + resolution: "throttle-debounce@npm:2.3.0" + checksum: 1181acfa57488c87cc02d42e9249f0a304ad389d4a521af630fefc639b055a88a49debd62d86f41053c18fc743783c8020dd44a41b0a35d9d661b14237023255 + languageName: node + linkType: hard + "through2@npm:^2.0.0": version: 2.0.5 resolution: "through2@npm:2.0.5" @@ -12850,6 +13984,24 @@ __metadata: languageName: node linkType: hard +"ts-invariant@npm:^0.4.0": + version: 0.4.4 + resolution: "ts-invariant@npm:0.4.4" + dependencies: + tslib: ^1.9.3 + checksum: 0280fb0e853db923605d84d83a7587342b2fcf718af5eac858cc461fcaa95837543de5f6d0a9afd8caf84faa01ffcc2a21cf71f5f51894d3e854b8a9504786bc + languageName: node + linkType: hard + +"ts-invariant@npm:^0.7.0": + version: 0.7.5 + resolution: "ts-invariant@npm:0.7.5" + dependencies: + tslib: ^2.1.0 + checksum: c0bf00844e3ef3486323944d1e24e7c06ccfe175e78311832b5cc57a632a4fef8cc1caa86a084ae1708e3150610f824efdb190ae87f39f2abb3f0270281a1f96 + languageName: node + linkType: hard + "ts-jest@npm:^27.0.3": version: 27.0.3 resolution: "ts-jest@npm:27.0.3" @@ -12885,13 +14037,20 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^1.8.1, tslib@npm:^1.9.0": +"tslib@npm:^1.10.0, tslib@npm:^1.8.1, tslib@npm:^1.9.0, tslib@npm:^1.9.3": version: 1.14.1 resolution: "tslib@npm:1.14.1" checksum: f44fe7f216946b17d3e3074df3746372703cf24e9127b4c045511456e8e4bf25515fb0a1bb3937676cc305651c5d4fcb6377b0588a4c6a957e748c4c28905d17 languageName: node linkType: hard +"tslib@npm:^2.1.0": + version: 2.3.0 + resolution: "tslib@npm:2.3.0" + checksum: 7b4fc9feff0f704743c3760f5d8d708f6417fac6458159e63df3a6b1100f0736e3b99edb9fe370f274ad15160a1f49ff05cb49402534c818ff552c48e38c3e6e + languageName: node + linkType: hard + "tsutils@npm:^3.21.0": version: 3.21.0 resolution: "tsutils@npm:3.21.0" @@ -12993,6 +14152,16 @@ __metadata: languageName: node linkType: hard +"type-is@npm:^1.6.16, type-is@npm:~1.6.17, type-is@npm:~1.6.18": + version: 1.6.18 + resolution: "type-is@npm:1.6.18" + dependencies: + media-typer: 0.3.0 + mime-types: ~2.1.24 + checksum: 20a3514f1d835c979237995129d1f8c564325301e3a8f1c732bcbe1d7fa0ca1f65994e41a79e9030d79f31e5459bb9be5c377848fcb477cb3049a661b3713d74 + languageName: node + linkType: hard + "typedarray-to-buffer@npm:^3.1.5": version: 3.1.5 resolution: "typedarray-to-buffer@npm:3.1.5" @@ -13179,7 +14348,7 @@ typescript@^4.3.2: languageName: node linkType: hard -"unpipe@npm:~1.0.0": +"unpipe@npm:1.0.0, unpipe@npm:~1.0.0": version: 1.0.0 resolution: "unpipe@npm:1.0.0" checksum: ba244e8bf640475b2143af95be5d71353cd4d238d63abf5dfe700c67841f066eb0819fc60dee7f2348ef647a5644a06ba024b9a0ab6d399fc07a05eb72a30ac7 @@ -13260,6 +14429,19 @@ typescript@^4.3.2: languageName: node linkType: hard +"util.promisify@npm:^1.0.0": + version: 1.1.1 + resolution: "util.promisify@npm:1.1.1" + dependencies: + call-bind: ^1.0.0 + define-properties: ^1.1.3 + for-each: ^0.3.3 + has-symbols: ^1.0.1 + object.getownpropertydescriptors: ^2.1.1 + checksum: 5a6c33c88de7cea4fa313fc31f6d594d41fd75dbd27ced41f87763fd7972c4b618feb5478ce47fed6ff2d681b1157eeae966b22e290c4834714d526280408304 + languageName: node + linkType: hard + "util@npm:^0.12.3": version: 0.12.4 resolution: "util@npm:0.12.4" @@ -13281,7 +14463,7 @@ typescript@^4.3.2: languageName: node linkType: hard -"uuid@npm:^3.3.2": +"uuid@npm:^3.1.0, uuid@npm:^3.3.2": version: 3.4.0 resolution: "uuid@npm:3.4.0" bin: @@ -13290,6 +14472,15 @@ typescript@^4.3.2: languageName: node linkType: hard +"uuid@npm:^8.0.0": + version: 8.3.2 + resolution: "uuid@npm:8.3.2" + bin: + uuid: dist/bin/uuid + checksum: aed2bcef341f95635f308fea8831fb9038b18c485fe7e71feb89d2e05602dfecad0cb6f2246fae096d4da425cca6e8a71056f28abd97ad98cf770a2018853248 + languageName: node + linkType: hard + "v8-compile-cache@npm:^2.0.3, v8-compile-cache@npm:^2.3.0": version: 2.3.0 resolution: "v8-compile-cache@npm:2.3.0" @@ -13327,6 +14518,13 @@ typescript@^4.3.2: languageName: node linkType: hard +"vary@npm:^1, vary@npm:~1.1.2": + version: 1.1.2 + resolution: "vary@npm:1.1.2" + checksum: 591f059f727ac1ba0d97cb7767f8583a03fcbb07db7be2b7dce838ede520ec0e958a41cb19077054769077fdc49a9b9a2dc391c83426bfee89c054b8cc7404bf + languageName: node + linkType: hard + "vendors@npm:^1.0.3": version: 1.0.4 resolution: "vendors@npm:1.0.4" @@ -13372,6 +14570,17 @@ typescript@^4.3.2: languageName: node linkType: hard +"vue-demi@npm:^0.4.0": + version: 0.4.5 + resolution: "vue-demi@npm:0.4.5" + peerDependencies: + vue: ^2.6.0 || >=3.0.0-rc.1 + bin: + vue-demi-fix: scripts/postinstall.js + checksum: b315dfebdaf970f64fc546c3f137fa728e67442b48063e90f46309666cb7f90ac664674814a8dd178561c9f28d1a121588733c29c0351231bc7da492f08c88c4 + languageName: node + linkType: hard + "vue-eslint-parser@npm:^7.6.0": version: 7.6.0 resolution: "vue-eslint-parser@npm:7.6.0" @@ -13825,6 +15034,21 @@ typescript@^4.3.2: languageName: node linkType: hard +"ws@npm:^5.2.0 || ^6.0.0 || ^7.0.0": + version: 7.5.0 + resolution: "ws@npm:7.5.0" + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ^5.0.2 + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + checksum: f9ac36310e795995f13ac7abff9c3b104b2460864de7f0b6233d285f62c6929529e24f386ff87740c3646f818fefa014be587371aa9a5a6fffae2cd9d1e9e008 + languageName: node + linkType: hard + "ws@npm:^7.3.1, ws@npm:^7.4.5": version: 7.4.6 resolution: "ws@npm:7.4.6" @@ -13854,6 +15078,18 @@ typescript@^4.3.2: languageName: node linkType: hard +"xss@npm:^1.0.8": + version: 1.0.9 + resolution: "xss@npm:1.0.9" + dependencies: + commander: ^2.20.3 + cssfilter: 0.0.10 + bin: + xss: bin/xss + checksum: 95544f369dd740199e054810ca6124caa6fc20d806708a6dade6ca2c3277072c78197439213c1d317c9906558bec5ce8241ea433e6a0410d6ea721b86452dcb2 + languageName: node + linkType: hard + "xtend@npm:~4.0.1": version: 4.0.2 resolution: "xtend@npm:4.0.2" @@ -13925,6 +15161,23 @@ typescript@^4.3.2: languageName: node linkType: hard +"zen-observable-ts@npm:^0.8.21": + version: 0.8.21 + resolution: "zen-observable-ts@npm:0.8.21" + dependencies: + tslib: ^1.9.3 + zen-observable: ^0.8.0 + checksum: 031ac9c2441a9b2d388417ab402e759fcb72e74c926ecd2500708da309c54e4ecad2c3d1ce85f039d30f670fca092facd21f3e25d6dba5c055504eb08012acb0 + languageName: node + linkType: hard + +"zen-observable@npm:^0.8.0, zen-observable@npm:^0.8.14": + version: 0.8.15 + resolution: "zen-observable@npm:0.8.15" + checksum: 7d155f8a75b9314f9f31e70a31edcd897b0e8a1313737502ab84a573e49d2c333b738e415c156334a6e910c363ce546b59fa7921eff61440285caa99c843df74 + languageName: node + linkType: hard + "zip-stream@npm:^4.1.0": version: 4.1.0 resolution: "zip-stream@npm:4.1.0" From a6b3bbca600b995b0c14a770ada4b1643bd0a140 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 18 Jun 2021 12:37:52 +0100 Subject: [PATCH 12/13] refactor: remove express --- examples/vue-apollo/package.json | 4 +--- examples/vue-apollo/server/api/graphql.js | 7 +------ yarn.lock | 4 +--- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/examples/vue-apollo/package.json b/examples/vue-apollo/package.json index 7e9794ae89e..607a1862637 100644 --- a/examples/vue-apollo/package.json +++ b/examples/vue-apollo/package.json @@ -1,12 +1,10 @@ { "name": "example-vue-apollo", "dependencies": { - "apollo-server-express": "^2.25.1", - "express": "^4.17.1" + "apollo-server-express": "^2.25.1" }, "devDependencies": { "@apollo/client": "^3.3.14", - "@types/express": "^4", "@vue/apollo-composable": "^4.0.0-alpha.12", "graphql": "^15.5.0", "graphql-tag": "^2.11.0", diff --git a/examples/vue-apollo/server/api/graphql.js b/examples/vue-apollo/server/api/graphql.js index 04167fddb01..8c53e4d9338 100644 --- a/examples/vue-apollo/server/api/graphql.js +++ b/examples/vue-apollo/server/api/graphql.js @@ -1,4 +1,3 @@ -import express from 'express' import { ApolloServer, gql } from 'apollo-server-express' // Construct a schema, using GraphQL schema language @@ -44,8 +43,4 @@ const server = new ApolloServer({ } }) -const app = express() - -app.use(server.getMiddleware({ path: '/' })) - -export default app +export default server.getMiddleware({ path: '/' }) diff --git a/yarn.lock b/yarn.lock index 602301890b9..7ef564a3f50 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2520,7 +2520,7 @@ __metadata: languageName: node linkType: hard -"@types/express@npm:*, @types/express@npm:^4": +"@types/express@npm:*": version: 4.17.12 resolution: "@types/express@npm:4.17.12" dependencies: @@ -6764,10 +6764,8 @@ __metadata: resolution: "example-vue-apollo@workspace:examples/vue-apollo" dependencies: "@apollo/client": ^3.3.14 - "@types/express": ^4 "@vue/apollo-composable": ^4.0.0-alpha.12 apollo-server-express: ^2.25.1 - express: ^4.17.1 graphql: ^15.5.0 graphql-tag: ^2.11.0 nuxt3: latest From 9e011c5cc3620634740f2d7f040b96e01900f5e6 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 15 Jul 2021 12:35:58 +0100 Subject: [PATCH 13/13] fix: workaround upstream packaging issues --- examples/vue-apollo/nuxt.config.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 examples/vue-apollo/nuxt.config.js diff --git a/examples/vue-apollo/nuxt.config.js b/examples/vue-apollo/nuxt.config.js new file mode 100644 index 00000000000..eb9cce8a03c --- /dev/null +++ b/examples/vue-apollo/nuxt.config.js @@ -0,0 +1,13 @@ +export default { + alias: { + '@apollo/client/core': require.resolve('@apollo/client/core/index.js'), + '@apollo/client': require.resolve('@apollo/client/index.js') + }, + build: { + transpile: [ + '@vue/apollo-composable', + '@apollo/client', + 'tslib' + ] + } +}