Skip to content

Commit

Permalink
Use local-dev-lib for ignoreRules
Browse files Browse the repository at this point in the history
  • Loading branch information
camden11 committed Nov 3, 2023
1 parent ee6d86b commit 4f2f6ad
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/cli/commands/cms/convertFields.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const path = require('path');
const fs = require('fs');
const { createIgnoreFilter } = require('@hubspot/cli-lib/ignoreRules');
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/cli-lib/lib/walk');
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/commands/filemanager/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const {
} = require('../../lib/errorHandlers/apiErrors');
const { logErrorInstance } = require('../../lib/errorHandlers/standardErrors');
const { validateSrcAndDestPaths } = require('@hubspot/cli-lib/modules');
const { shouldIgnoreFile } = require('@hubspot/cli-lib/ignoreRules');
const { shouldIgnoreFile } = require('@hubspot/local-dev-lib/ignoreRules');

const {
addConfigOptions,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/commands/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const {
} = require('../lib/errorHandlers/apiErrors');
const { logErrorInstance } = require('../lib/errorHandlers/standardErrors');
const { validateSrcAndDestPaths } = require('@hubspot/cli-lib/modules');
const { shouldIgnoreFile } = require('@hubspot/cli-lib/ignoreRules');
const { shouldIgnoreFile } = require('@hubspot/local-dev-lib/ignoreRules');

const {
addConfigOptions,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/lib/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const {
fetchProject,
uploadProject,
} = require('@hubspot/cli-lib/api/dfs');
const { shouldIgnoreFile } = require('@hubspot/cli-lib/ignoreRules');
const { shouldIgnoreFile } = require('@hubspot/local-dev-lib/ignoreRules');
const { getCwd, getAbsoluteFilePath } = require('@hubspot/cli-lib/path');
const { downloadGitHubRepoContents } = require('@hubspot/cli-lib/github');
const { promptUser } = require('./prompts/promptUtils');
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/lib/projectsWatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const {
const { i18n } = require('@hubspot/cli-lib/lib/lang');
const { logger } = require('@hubspot/cli-lib/logger');
const { isAllowedExtension } = require('@hubspot/cli-lib/path');
const { shouldIgnoreFile } = require('@hubspot/cli-lib/ignoreRules');
const { shouldIgnoreFile } = require('@hubspot/local-dev-lib/ignoreRules');
const {
cancelStagedBuild,
provisionBuild,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/lib/upload.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const path = require('path');
const { walk } = require('@hubspot/cli-lib/lib/walk');
const { createIgnoreFilter } = require('@hubspot/cli-lib/ignoreRules');
const { createIgnoreFilter } = require('@hubspot/local-dev-lib/ignoreRules');
const { fieldsJsPrompt } = require('../lib/prompts/cmsFieldPrompt');
const { isAllowedExtension } = require('@hubspot/cli-lib/path');
const { isConvertableFieldJs } = require('@hubspot/cli-lib/lib/handleFieldsJs');
Expand Down

0 comments on commit 4f2f6ad

Please sign in to comment.