@hubspot/cli 8.7.0-beta.0 → 8.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -184,6 +184,9 @@ export async function getUieLintablePackageJsonLocations(projectConfig) {
184
184
  });
185
185
  }
186
186
  export const HUBSPOT_UI_EXTENSIONS_RULE_PREFIX = '@hubspot/ui-extensions/';
187
+ function getEnvironmentWithoutNpmConfig() {
188
+ return Object.fromEntries(Object.entries(process.env).filter(([key]) => !key.toLowerCase().startsWith('npm_config_')));
189
+ }
187
190
  export async function isHubSpotEslintConfigActive(directory) {
188
191
  const exec = util.promisify(execAsync);
189
192
  try {
@@ -208,6 +211,7 @@ export async function lintPackagesInDirectory(directory, projectDir) {
208
211
  const { stdout, stderr } = await exec(lintCommand, {
209
212
  cwd: directory,
210
213
  maxBuffer: 10 * 1024 * 1024, // 10MB buffer for large outputs
214
+ env: getEnvironmentWithoutNpmConfig(),
211
215
  });
212
216
  let output = `\n${displayPath}:\n`;
213
217
  if (stdout && stdout.trim()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/cli",
3
- "version": "8.7.0-beta.0",
3
+ "version": "8.7.0",
4
4
  "description": "The official CLI for developing on HubSpot",
5
5
  "license": "Apache-2.0",
6
6
  "repository": "https://github.com/HubSpot/hubspot-cli",