From 7679ef4862215d5c62732fe85d109976deb4cd74 Mon Sep 17 00:00:00 2001 From: DevEloperate Date: Thu, 6 Mar 2025 15:18:57 +0300 Subject: [PATCH 1/2] Update dead link version.ts --- packages/cli/src/command-helpers/version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/command-helpers/version.ts b/packages/cli/src/command-helpers/version.ts index 4a33cd1c1..77d144733 100644 --- a/packages/cli/src/command-helpers/version.ts +++ b/packages/cli/src/command-helpers/version.ts @@ -47,7 +47,7 @@ export const assertGraphTsVersion = async (sourceDir: string, minimumGraphTsVers if (graphTsVersion && semver.lt(semver.coerce(graphTsVersion)!, minimumGraphTsVersion)) { throw new Error( `To use this version of the graph-cli you must upgrade the graph-ts dependency to a version greater than or equal to ${minimumGraphTsVersion} -Also, you'll probably need to take a look at our AssemblyScript migration guide because of language breaking changes: https://thegraph.com/docs/developer/assemblyscript-migration-guide`, +Also, you'll probably need to take a look at our AssemblyScript migration guide because of language breaking changes: https://thegraph.com/docs/en/resources/migration-guides/assemblyscript-migration-guide/`, ); } }; From 4d40c35d03aecfc787b1b79464d796cd4ba8ba83 Mon Sep 17 00:00:00 2001 From: DevEloperate Date: Thu, 6 Mar 2025 15:19:26 +0300 Subject: [PATCH 2/2] Update dead link version.test.ts --- packages/cli/src/command-helpers/version.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/command-helpers/version.test.ts b/packages/cli/src/command-helpers/version.test.ts index 26aacc8d7..08c0cf63d 100644 --- a/packages/cli/src/command-helpers/version.test.ts +++ b/packages/cli/src/command-helpers/version.test.ts @@ -222,7 +222,7 @@ describe('Version Command Helpers', { concurrent: true }, () => { await expect(assertGraphTsVersion(fakeNodeModulesDir, minimumGraphTsVersion)).rejects.toThrow( new Error( `To use this version of the graph-cli you must upgrade the graph-ts dependency to a version greater than or equal to ${minimumGraphTsVersion} -Also, you'll probably need to take a look at our AssemblyScript migration guide because of language breaking changes: https://thegraph.com/docs/developer/assemblyscript-migration-guide`, +Also, you'll probably need to take a look at our AssemblyScript migration guide because of language breaking changes: https://thegraph.com/docs/en/resources/migration-guides/assemblyscript-migration-guide/`, ), ); });