ricokahler / sanity-codegen

Generate TypeScript types from your Sanity.io schemas
sanity-codegen-dev.vercel.app
MIT License
270 stars 19 forks source link

next #193

Closed ricokahler closed 3 years ago

ricokahler commented 3 years ago

this is a staging branch for next alpha release

github-actions[bot] commented 3 years ago

Size Change: +3.04 kB (+9%) 🔍

Total Size: 35.2 kB

Filename Size Change
packages/groq-codegen/dist/generate-groq-types.js 1.36 kB +227 B (+20%) 🚨
packages/groq-codegen/dist/pluck-groq-from-files.js 2.82 kB +208 B (+8%) 🔍
packages/groq-codegen/dist/transform-schema-to-structure.js 1.67 kB +14 B (+1%)
packages/groq-codegen/dist/transform-structure-to-ts.js 2.1 kB -14 B (-1%)
packages/groq-codegen/dist/utils/access-attribute-in-structure.js 582 B -39 B (-6%) ✅
packages/groq-codegen/dist/utils/index.js 616 B +27 B (+5%) 🔍
packages/groq-codegen/dist/utils/narrow-structure.js 2.11 kB -11 B (-1%)
packages/groq-codegen/dist/utils/resolve-expression.js 1.75 kB +416 B (+31%) 🚨
packages/groq-codegen/dist/utils/resolve-identifier.js 1.61 kB +158 B (+11%) ⚠ī¸
packages/groq-codegen/dist/default-structures/geopoint.js 299 B +299 B (new file) 🆕
packages/groq-codegen/dist/default-structures/image.js 721 B +721 B (new file) 🆕
packages/groq-codegen/dist/default-structures/index.js 255 B +255 B (new file) 🆕
packages/groq-codegen/dist/utils/get-next-filename.js 372 B +372 B (new file) 🆕
packages/groq-codegen/dist/utils/simple-logger.js 404 B +404 B (new file) 🆕
ℹī¸ View Unchanged | Filename | Size | | :--- | :---: | | `packages/client/dist/index.cjs.js` | 917 B | | `packages/client/dist/index.esm.js` | 785 B | | `packages/groq-codegen/dist/index.js` | 430 B | | `packages/groq-codegen/dist/resolve-expression-error.js` | 151 B | | `packages/groq-codegen/dist/transform-groq-to-structure.js` | 3.15 kB | | `packages/groq-codegen/dist/utils/bounded-find.js` | 383 B | | `packages/groq-codegen/dist/utils/create-structure.js` | 1.14 kB | | `packages/groq-codegen/dist/utils/hash.js` | 605 B | | `packages/groq-codegen/dist/utils/is-structure.js` | 592 B | | `packages/groq-codegen/dist/utils/reduce-object-structures.js` | 919 B | | `packages/groq-codegen/dist/utils/transforms.js` | 979 B | | `packages/groq-codegen/dist/utils/wrap-array.js` | 344 B | | `packages/schema-codegen/dist/default-babel-options.js` | 798 B | | `packages/schema-codegen/dist/default-generate-type-name.js` | 301 B | | `packages/schema-codegen/dist/generate-schema-types.js` | 2.1 kB | | `packages/schema-codegen/dist/index.js` | 368 B | | `packages/schema-codegen/dist/no-op.js` | 192 B | | `packages/schema-codegen/dist/schema-creator-shim.js` | 271 B | | `packages/schema-codegen/dist/schema-executor.js` | 701 B | | `packages/schema-codegen/dist/schema-extractor.js` | 703 B | | `packages/schema-codegen/dist/schema-normalizer.js` | 2.56 kB | | `packages/schema-codegen/dist/schema-type-shim.js` | 162 B |

compressed-size-action