From ccb3a8bc85ec46811e8ba4bc68924df880ee7790 Mon Sep 17 00:00:00 2001 From: Scott Twiname Date: Fri, 9 Aug 2024 08:51:39 +1200 Subject: [PATCH] Update messages --- packages/cli/CHANGELOG.md | 4 ++-- packages/cli/src/commands/project/create-project.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 0137511439..7ae2593ed7 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -5,8 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] -### Added -- Support CLI selection for creating SubQuery and Subgraph projects. +### Changed +- Default deployment type to SubQuery when deploying to the managed service (#2523). ## [5.2.0] - 2024-08-05 ### Changed diff --git a/packages/cli/src/commands/project/create-project.ts b/packages/cli/src/commands/project/create-project.ts index d781b559a0..ce484df6b5 100644 --- a/packages/cli/src/commands/project/create-project.ts +++ b/packages/cli/src/commands/project/create-project.ts @@ -32,8 +32,8 @@ export default class Create_project extends Command { let {gitRepo, org, projectName} = flags; assert( - ['subquery', 'subgraph'].includes(flags.projectType), - 'Invalid project type, Only support subQuery and subgraph' + ['subquery'].includes(flags.projectType), + 'Invalid project type, only "subquery" is supported. Please deploy Subgraphs through the website.' ); const authToken = await checkToken();