@suss/contract-appsync 0.23.0 → 0.24.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.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @suss/contract-appsync
2
2
 
3
+ Part of [suss](https://github.com/nimbuscloud-ai/suss), which reads both sides of every call in a repository and says where the two disagree.
4
+
3
5
  Generate suss `BehavioralSummary[]` from an [AWS AppSync](https://docs.aws.amazon.com/appsync/) API declared in a CloudFormation or [SAM](https://aws.amazon.com/serverless/sam/) template. AppSync is schema-first: the SDL is authored by hand and the template binds each `(TypeName, FieldName)` pair to a data source. This reader turns that wiring into resolver summaries you can check consumers against, without deploying the stack or exporting anything from AWS.
4
6
 
5
7
  ## What this package reads
@@ -79,6 +81,12 @@ const summaries = appsyncToSummaries(template, { baseDir: "infra" });
79
81
 
80
82
  Depends on `@suss/behavioral-ir` (for the IR types it produces), `@suss/contract-graphql` (for SDL parsing, the type conversion, and loading an external schema file), `@suss/manifest-aws` (for template loading, including CloudFormation YAML intrinsic shorthand), and `graphql`. It does not extract from source code and is independent of the language adapters.
81
83
 
84
+ ## More
85
+
86
+ - [Documentation](https://nimbuscloud-ai.github.io/suss/)
87
+ - [Every package and pack suss ships](https://nimbuscloud-ai.github.io/suss/reference/packages)
88
+ - [Source and issues](https://github.com/nimbuscloud-ai/suss)
89
+
82
90
  ## Coverage
83
91
 
84
92
  ![coverage](../../../.github/badges/coverage-contract-appsync.svg)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suss/contract-appsync",
3
- "version": "0.23.0",
3
+ "version": "0.24.1",
4
4
  "type": "module",
5
5
  "description": "Turn the AppSync API in a CloudFormation or SAM template into a suss contract and check it against the resolvers and clients on either side of it.",
6
6
  "keywords": [
@@ -48,9 +48,9 @@
48
48
  "typecheck": "tsc --noEmit"
49
49
  },
50
50
  "dependencies": {
51
- "@suss/behavioral-ir": "0.23.0",
52
- "@suss/contract-graphql": "0.23.0",
53
- "@suss/manifest-aws": "0.23.0",
51
+ "@suss/behavioral-ir": "0.24.1",
52
+ "@suss/contract-graphql": "0.24.1",
53
+ "@suss/manifest-aws": "0.24.1",
54
54
  "graphql": "^16.8.0"
55
55
  },
56
56
  "devDependencies": {