From bbffe3de707b93695711e5468d62a110ffd5a9e4 Mon Sep 17 00:00:00 2001 From: Camden Phalen Date: Tue, 5 Dec 2023 16:41:56 -0500 Subject: [PATCH 1/2] fix themes import path --- packages/cli/commands/cms/convertFields.js | 2 +- packages/cli/commands/upload.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/commands/cms/convertFields.js b/packages/cli/commands/cms/convertFields.js index a526d854c..59b9163a4 100644 --- a/packages/cli/commands/cms/convertFields.js +++ b/packages/cli/commands/cms/convertFields.js @@ -4,7 +4,7 @@ const { createIgnoreFilter } = require('@hubspot/local-dev-lib/ignoreRules'); const { isAllowedExtension, getCwd } = require('@hubspot/cli-lib/path'); const { logger } = require('@hubspot/cli-lib/logger'); const { walk } = require('@hubspot/local-dev-lib/fs'); -const { getThemeJSONPath } = require('@hubspot/local-dev-lib/themes'); +const { getThemeJSONPath } = require('@hubspot/local-dev-lib/cms/themes'); const { i18n } = require('../../lib/lang'); const { FieldsJs, diff --git a/packages/cli/commands/upload.js b/packages/cli/commands/upload.js index bc01c69e6..45c555b65 100644 --- a/packages/cli/commands/upload.js +++ b/packages/cli/commands/upload.js @@ -33,7 +33,7 @@ const { getUploadableFileList } = require('../lib/upload'); const { getThemePreviewUrl, getThemeJSONPath, -} = require('@hubspot/local-dev-lib/themes'); +} = require('@hubspot/local-dev-lib/cms/themes'); const { i18n } = require('../lib/lang'); const i18nKey = 'cli.commands.upload'; const { EXIT_CODES } = require('../lib/enums/exitCodes'); From b10a0dbbcca9dd2679a75b5623c36178e4638d6b Mon Sep 17 00:00:00 2001 From: Camden Phalen Date: Wed, 6 Dec 2023 10:36:18 -0500 Subject: [PATCH 2/2] fix schema import --- packages/cli/commands/customObject/schema/fetch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/commands/customObject/schema/fetch.js b/packages/cli/commands/customObject/schema/fetch.js index ecd4a29ad..ba55e610e 100644 --- a/packages/cli/commands/customObject/schema/fetch.js +++ b/packages/cli/commands/customObject/schema/fetch.js @@ -8,7 +8,7 @@ const { ConfigFlags } = require('@hubspot/cli-lib/lib/constants'); const { downloadSchema, getResolvedPath, -} = require('@hubspot/local-dev-lib/schema'); +} = require('@hubspot/local-dev-lib/customObjects'); const { fetchSchema } = require('@hubspot/cli-lib/api/fileTransport'); const { getCwd } = require('@hubspot/cli-lib/path');