From d6c0cc5449bb3fd0cbe4a34ade7213107f343c38 Mon Sep 17 00:00:00 2001 From: Yaacov Rydzinski Date: Tue, 2 Jun 2026 02:11:56 +0300 Subject: [PATCH] fix: preserve generated version docs --- resources/gen-version.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/resources/gen-version.ts b/resources/gen-version.ts index f5e8c9fc73..3b71f231b0 100644 --- a/resources/gen-version.ts +++ b/resources/gen-version.ts @@ -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;