@supacloud/compiler 0.29.0 → 0.31.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.
- package/README.md +9 -0
- package/dist/cli.js +861 -10701
- package/dist/delivery-bundle-worker.js +654 -10607
- package/dist/diagnostics.d.ts +22 -0
- package/dist/diagnostics.js +262 -2
- package/dist/fixes.d.ts +3 -0
- package/dist/graphql-schema-hashes.d.ts +5 -0
- package/dist/graphql-schema.d.ts +1 -0
- package/dist/index.js +1128 -11042
- package/dist/inspect.d.ts +6 -0
- package/dist/types.d.ts +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -143,6 +143,15 @@ export again and compile. Offline compilation cannot attest a snapshot's origin;
|
|
|
143
143
|
The starter's synthetic SDL is solely an offline test fixture, not a deployed
|
|
144
144
|
schema. Replace it with a database export before integration.
|
|
145
145
|
|
|
146
|
+
Schema export results and compiled GraphQL manifests retain `schemaHash` as the
|
|
147
|
+
SHA-256 of the original UTF-8 text. The additional `schemaNormalizedHash` hashes
|
|
148
|
+
the same text with physical CRLF/CR line endings converted to LF, helping identify
|
|
149
|
+
checkout line-ending drift. It does not normalize escaped `\r` sequences, field
|
|
150
|
+
order, descriptions or other content, and is not a semantic-equivalence or
|
|
151
|
+
integrity check. `graphql-schema --check` remains byte-strict and read-only;
|
|
152
|
+
an explicit export restores the generated file. Re-export and regenerate the
|
|
153
|
+
manifest rather than bypassing drift checks based on the normalized hash.
|
|
154
|
+
|
|
146
155
|
New `supacloud app init` projects preconfigure GraphQL query contracts and include
|
|
147
156
|
an offline example. Existing REST, Command-only and background-task projects
|
|
148
157
|
remain unchanged: general App/CLI configuration and `compileProject(options)`
|