From 5722d867b65ac59c3c5e9ce22c9c9f2dc387e9ef Mon Sep 17 00:00:00 2001 From: tsemachLi Date: Thu, 28 Mar 2024 15:23:09 +0200 Subject: [PATCH] Fix/tsemach/suffix spelling mistake (#91) * Feat: add command for generating app feature component * Fix: suffix spelling mistake * Fix: suffix spelling mistake --------- Co-authored-by: Tsemach Lifshitz --- package.json | 2 +- src/services/apps-service.ts | 2 +- src/services/schemas/manifest-service-schemas.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 3c722b2..19f6fa6 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mondaycom/apps-cli", - "version": "2.3.5", + "version": "2.4.0", "description": "A cli tool to manage apps (and monday-code projects) in monday.com", "author": "monday.com Apps Team", "type": "module", diff --git a/src/services/apps-service.ts b/src/services/apps-service.ts index e358c21..8692844 100644 --- a/src/services/apps-service.ts +++ b/src/services/apps-service.ts @@ -89,7 +89,7 @@ export const createFeatures = async (ctx: AppCreateCommandTasksContext) => { appFeatureType: feature.type, build: feature.build && { buildType: buildTypeManifestFormatMap[feature.build.source], - url: `https://${baseUrl}${feature.build.sufix}`, + url: `https://${baseUrl}${feature.build.suffix}`, }, options: { name: feature.name }, }); diff --git a/src/services/schemas/manifest-service-schemas.ts b/src/services/schemas/manifest-service-schemas.ts index 82943dd..a6279d4 100644 --- a/src/services/schemas/manifest-service-schemas.ts +++ b/src/services/schemas/manifest-service-schemas.ts @@ -16,7 +16,7 @@ export const ManifestFeatureSchema = z.object({ build: z .object({ source: z.nativeEnum(BUILD_TYPES_MANIFEST_FORMAT), - sufix: z.string().optional(), + suffix: z.string().optional(), }) .optional(), });