From d89568839847829009d75172c6538a510050b9c3 Mon Sep 17 00:00:00 2001 From: zxypro1 <1018995004@qq.com> Date: Tue, 5 Mar 2024 10:38:04 +0800 Subject: [PATCH] fix: docs url Signed-off-by: zxypro1 <1018995004@qq.com> --- packages/engine/package.json | 2 +- packages/parse-spec/package.json | 2 +- packages/parse-spec/src/index.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/engine/package.json b/packages/engine/package.json index 6edcf5b..48134d4 100644 --- a/packages/engine/package.json +++ b/packages/engine/package.json @@ -1,6 +1,6 @@ { "name": "@serverless-devs/engine", - "version": "0.1.0", + "version": "0.1.1", "description": "a engine lib for serverless-devs", "main": "lib/index.js", "scripts": { diff --git a/packages/parse-spec/package.json b/packages/parse-spec/package.json index c490924..8197b05 100644 --- a/packages/parse-spec/package.json +++ b/packages/parse-spec/package.json @@ -1,6 +1,6 @@ { "name": "@serverless-devs/parse-spec", - "version": "0.0.24", + "version": "0.0.25", "description": "a parse yaml spec lib for serverless-devs", "main": "lib/index.js", "scripts": { diff --git a/packages/parse-spec/src/index.ts b/packages/parse-spec/src/index.ts index 02e3aaa..67b5905 100644 --- a/packages/parse-spec/src/index.ts +++ b/packages/parse-spec/src/index.ts @@ -219,7 +219,7 @@ class ParseSpec { const { steps, content, originSteps } = await new ParseContent(this.yaml.content, this.getParsedContentOptions(this.yaml.path)).start(); const services = get(this.yaml.content, 'services', {}); if (isEmpty(steps) && !isEmpty(services)) { - this.options.logger.tips('Check https://docs.serverless-devs.com/serverless-devs/yaml for more details. Use the \'s cli fc3 s2tos3\' command for automatic YAML transformation.'); + this.options.logger.tips('Check https://manual.serverless-devs.com/user-guide/spec/ for more details. Use the \'s cli fc3 s2tos3\' command for automatic YAML transformation.'); throw new DevsError(`Keyword 'services' has been replaced by 'resources' in 3.0.0 YAML.`, { trackerType: ETrackerType.parseException, });