@hubspot/cli 8.3.0-beta.0 → 8.3.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.
@@ -193,12 +193,13 @@ export async function updateHsMetaFilesWithAutoGeneratedFields(projectName, hsMe
193
193
  return component.uid;
194
194
  };
195
195
  let uid = getBaseUid();
196
- let differentiator = 1;
196
+ let differentiator = 2;
197
197
  while (existingUids.includes(uid)) {
198
- differentiator++;
199
198
  uid = `${getBaseUid()}_${differentiator}`;
199
+ differentiator++;
200
200
  }
201
201
  component.uid = uid;
202
+ existingUids.push(uid);
202
203
  if (component.type === AppKey && component.config) {
203
204
  component.config.name = `${projectName}-App`;
204
205
  }
@@ -113,11 +113,11 @@ export async function v2ComponentFlow(platformVersion, projectBase, providedAuth
113
113
  const projectContentsChoice = projectBase ||
114
114
  (await listPrompt(commands.project.create.prompts.parentComponents, {
115
115
  choices: [
116
+ { name: commands.project.create.prompts.app, value: PROJECT_WITH_APP },
116
117
  {
117
118
  name: commands.project.create.prompts.emptyProject,
118
119
  value: EMPTY_PROJECT,
119
120
  },
120
- { name: commands.project.create.prompts.app, value: PROJECT_WITH_APP },
121
121
  ],
122
122
  }));
123
123
  if (projectContentsChoice === PROJECT_WITH_APP) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/cli",
3
- "version": "8.3.0-beta.0",
3
+ "version": "8.3.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",