Mirror: The small sibling of the graphql package, slimmed down for client-side libraries.

chore: Add CHANGELOG and update version.mjs

Changed files
+21 -2
scripts
+19
CHANGELOG.md
···
+
# graphql-web-lite
+
+
Starting with `16.6.0-1` `graphql-web-lite` is published to match the
+
`MAJOR.MINOR.PATCH` version of the aliased `graphql` version on `npm`.
+
The prerelease is incremented to indicate changes in `graphql-web-lite`.
+
+
## 16.6.0-1
+
+
- Replace `type/assertName` with a custom shim.
+
- Fix `type/validate` being broken due to incorrect Buble and Terser build
+
mangling.
+
- Use [`@0no-co/graphql.web@0.1.6`](https://github.com/0no-co/graphql.web) as a shim.
+
- This provides: `language/kind`, `language/parser`, `language/printer`, `language/visitor`, `language/printString`, and `language/blockString`
+
- [`@0no-co/graphql.web@0.1.6`](https://github.com/0no-co/graphql.web) is
+
built to replace GraphQL’s client-side query language parser, printer, and
+
visitor, and is tested to 100% coverage and to match graphql.js’s
+
performance.
+
- Updated to `graphql@16.6.0`
+
- Exports are now the intersection of `graphql@^16` and `graphql@15.8.0`
+2 -2
scripts/rollup/packageMetadata.mjs
···
major: parsedVersion.major,
minor: parsedVersion.minor,
patch: parsedVersion.patch,
-
preReleaseTag: 'lite',
+
preReleaseTag: parsedVersion.prerelease ? parsedVersion.prerelease.join('.') : null,
lite: true,
};
export const version = `
-
export const version = ${JSON.stringify(rootPkg.version)};
+
export const version = ${JSON.stringify(parsedVersion.raw)};
export const versionInfo = ${JSON.stringify(versionInfo)};
`.trim();