@things-factory/shell 7.0.0-alpha.9 → 7.0.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/shell",
3
- "version": "7.0.0-alpha.9",
3
+ "version": "7.0.1-alpha.1",
4
4
  "description": "Core module for framework",
5
5
  "bin": {
6
6
  "things-factory": "bin/things-factory",
@@ -35,15 +35,15 @@
35
35
  "@apollo/server": "^4.5.0",
36
36
  "@as-integrations/koa": "^0.3.0",
37
37
  "@fontsource/roboto": "^5.0.3",
38
- "@graphql-codegen/cli": "^3.2.2",
39
- "@graphql-codegen/typescript": "^3.0.2",
40
- "@graphql-codegen/typescript-resolvers": "^3.1.1",
41
- "@graphql-tools/merge": "^8.3.0",
38
+ "@graphql-codegen/cli": "^5.0.2",
39
+ "@graphql-codegen/typescript": "^4.0.6",
40
+ "@graphql-codegen/typescript-resolvers": "^4.0.6",
41
+ "@graphql-tools/merge": "^9.0.3",
42
42
  "@graphql-tools/schema": "^8.5.0",
43
- "@graphql-tools/utils": "^8.8.0",
44
- "@hatiolab/koa-webpack": "^7.0.0",
43
+ "@graphql-tools/utils": "^10.1.2",
44
+ "@hatiolab/koa-webpack": "^6.0.0",
45
45
  "@hatiolab/things-scene": "^3.2.0",
46
- "@koa/cors": "^3.3.0",
46
+ "@koa/cors": "^5.0.0",
47
47
  "@material-design-icons/font": "^0.14.9",
48
48
  "@material/mwc-button": "^0.27.0",
49
49
  "@material/mwc-fab": "^0.27.0",
@@ -60,11 +60,11 @@
60
60
  "@operato/shell": "^2.0.0-alpha.0",
61
61
  "@operato/typeorm-history": "^2.0.0-alpha.0",
62
62
  "@operato/utils": "^2.0.0-alpha.0",
63
- "@things-factory/ejs-remote": "^7.0.0-alpha.0",
64
- "@things-factory/env": "^7.0.0-alpha.0",
63
+ "@things-factory/ejs-remote": "^7.0.1-alpha.0",
64
+ "@things-factory/env": "^7.0.1-alpha.0",
65
65
  "@things-factory/operato-license-checker": "^4.0.4",
66
- "@things-factory/styles": "^7.0.0-alpha.0",
67
- "@things-factory/utils": "^7.0.0-alpha.0",
66
+ "@things-factory/styles": "^7.0.1-alpha.0",
67
+ "@things-factory/utils": "^7.0.1-alpha.0",
68
68
  "@webcomponents/webcomponentsjs": "^2.6.0",
69
69
  "args": "^5.0.0",
70
70
  "broadcastchannel-polyfill": "^1.0.1",
@@ -134,5 +134,5 @@
134
134
  "pg": "^8.7.3",
135
135
  "sqlite3": "^5.0.8"
136
136
  },
137
- "gitHead": "99fc5aead211b3c82e3ebbf76e8d5d1db01b1ddc"
137
+ "gitHead": "6cc9a9da9059f32f8c2968c57831c1d353a2ec97"
138
138
  }
@@ -19,10 +19,6 @@ const defaultOptions: any = {
19
19
  }
20
20
  }
21
21
 
22
- const cache = new InMemoryCache({
23
- addTypename: false
24
- })
25
-
26
22
  /**
27
23
  * GraphqlLocalClient is a utility class for initializing an Apollo Client for a local GraphQL schema.
28
24
  * It provides a static `init` method for setting up the client with a schema and an app context.
@@ -42,6 +38,10 @@ export class GraphqlLocalClient {
42
38
  * @param {object} app - The application context to be passed in as part of the execution context.
43
39
  */
44
40
  static init(schema, app) {
41
+ const cache = new InMemoryCache({
42
+ addTypename: false
43
+ })
44
+
45
45
  GraphqlLocalClient.client = new ApolloClient({
46
46
  defaultOptions,
47
47
  cache,