Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions resources/gen-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,15 @@ if (!versionMatch) {
const [, major, minor, patch, preReleaseTag] = versionMatch;

const body = `
/** @category Version */

// Note: This file is autogenerated using "resources/gen-version.js" script and
// automatically updated by "npm version" command.

/**
* A string containing the version of the GraphQL.js library
*/
/** A string containing the version of the GraphQL.js library */
export const version = '${version}' as string;

/**
* An object containing the components of the GraphQL.js version string
*/
/** An object containing the components of the GraphQL.js version string */
export const versionInfo: Readonly<{
major: number;
minor: number;
Expand Down
Loading