Skip to content

Commit

Permalink
Merge pull request #942 from HubSpot/swap-cli-lib-deps-1
Browse files Browse the repository at this point in the history
Swap cli-lib 'text' dep for local-dev-lib version
  • Loading branch information
camden11 authored Oct 25, 2023
2 parents a4d2d5a + 1e67b01 commit abaebf1
Show file tree
Hide file tree
Showing 8 changed files with 845 additions and 28 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
}
},
"dependencies": {
"jest": "^26.6.3"
"jest": "^28.1.3"
},
"resolutions": {
"depcheck/sass": "~1.29.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/commands/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const {
getConfig,
getConfigPath,
} = require('@hubspot/cli-lib/lib/config');
const { commaSeparatedValues } = require('@hubspot/cli-lib/lib/text');
const { commaSeparatedValues } = require('@hubspot/local-dev-lib/text');
const { promptUser } = require('../lib/prompts/promptUtils');
const {
personalAccessKeyPrompt,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/commands/config/set/defaultMode.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { logger } = require('@hubspot/cli-lib/logger');
const { updateDefaultMode } = require('@hubspot/cli-lib/lib/config');
const { Mode } = require('@hubspot/cli-lib');
const { commaSeparatedValues } = require('@hubspot/cli-lib/lib/text');
const { commaSeparatedValues } = require('@hubspot/local-dev-lib/text');
const { trackCommandUsage } = require('../../../lib/usageTracking');
const { promptUser } = require('../../../lib/prompts/promptUtils');
const { i18n } = require('../../../lib/lang');
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/lib/validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const {
OAUTH_AUTH_METHOD,
PERSONAL_ACCESS_KEY_AUTH_METHOD,
} = require('@hubspot/cli-lib/lib/constants');
const { commaSeparatedValues } = require('@hubspot/cli-lib/lib/text');
const { commaSeparatedValues } = require('@hubspot/local-dev-lib/text');
const { getAbsoluteFilePath } = require('@hubspot/cli-lib/path');
const { getOauthManager } = require('@hubspot/cli-lib/oauth');
const {
Expand Down
1 change: 1 addition & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"dependencies": {
"@hubspot/cli-lib": "^5.0.1",
"@hubspot/local-dev-lib": "^0.0.7",
"@hubspot/serverless-dev-runtime": "4.2.1-beta.3",
"@hubspot/ui-extensions-dev-server": "^0.8.0",
"archiver": "^5.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/serverless-dev-runtime/lib/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path');
const util = require('util');
const fs = require('fs-extra');
const { logger } = require('@hubspot/cli-lib/logger');
const { commaSeparatedValues } = require('@hubspot/cli-lib/lib/text');
const { commaSeparatedValues } = require('@hubspot/local-dev-lib/text');
const { getFunctionDataContext } = require('./data');
const { loadEnvironmentVariables } = require('./environment');
const { logFunctionExecution } = require('./logging');
Expand Down
1 change: 1 addition & 0 deletions packages/serverless-dev-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"license": "Apache-2.0",
"dependencies": {
"@hubspot/cli-lib": "^4.2.2",
"@hubspot/local-dev-lib": "^0.0.7",
"body-parser": "^1.19.0",
"chalk": "^4.1.0",
"chokidar": "^3.4.3",
Expand Down
Loading

0 comments on commit abaebf1

Please sign in to comment.