diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..7d1bc36 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,19 @@ +# 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` diff --git a/scripts/rollup/packageMetadata.mjs b/scripts/rollup/packageMetadata.mjs index 40cf08b..ea6e54b 100644 --- a/scripts/rollup/packageMetadata.mjs +++ b/scripts/rollup/packageMetadata.mjs @@ -11,12 +11,12 @@ const versionInfo = { 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();