@nxara/olio 0.1.0-rc.1 → 0.1.0

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.
Files changed (2) hide show
  1. package/README.md +9 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  Modular, type-safe GraphQL applications. Each module owns its SDL, resolvers and middleware; `olio()` composes them into one executable `GraphQLSchema`. Every resolver and middleware key is checked against the `Application` type generated by [`@nxara/olio-codegen`](../codegen).
4
4
 
5
+ ## Install
6
+
7
+ ```sh
8
+ bun add @nxara/olio graphql@16
9
+ bun add -d @nxara/olio-codegen
10
+ ```
11
+
12
+ `graphql` 16 is a peer dependency (not 17, which is about 4× slower on small queries).
13
+
5
14
  ## Register your app
6
15
 
7
16
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxara/olio",
3
- "version": "0.1.0-rc.1",
3
+ "version": "0.1.0",
4
4
  "description": "Modular, type-safe GraphQL applications.",
5
5
  "keywords": [
6
6
  "graphql",
@@ -33,11 +33,11 @@
33
33
  "check-types": "bun test/typed/generate.ts && tsc -p tsconfig.test.json && tsc -p tsconfig.typed.json"
34
34
  },
35
35
  "dependencies": {
36
- "@nxara/olio-core": "0.1.0-rc.1",
37
- "@nxara/olio-schema": "0.1.0-rc.1"
36
+ "@nxara/olio-core": "0.1.0",
37
+ "@nxara/olio-schema": "0.1.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@nxara/olio-codegen": "0.1.0-rc.1",
40
+ "@nxara/olio-codegen": "0.1.0",
41
41
  "graphql": "^16.14.2"
42
42
  },
43
43
  "peerDependencies": {