@hubspot/cms-dev-server 0.14.4 → 0.14.5

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.
Files changed (2) hide show
  1. package/dist/run.js +4 -4
  2. package/package.json +3 -3
package/dist/run.js CHANGED
@@ -1023,7 +1023,7 @@ function trackUsage(action) {
1023
1023
  eventName: EVENT_NAME,
1024
1024
  action,
1025
1025
  nodeVersion: getNodeVersionData(),
1026
- version: "0.14.4",
1026
+ version: "0.14.5",
1027
1027
  os: getPlatform()
1028
1028
  };
1029
1029
  const uri = isAuthedWithPersonalAccessKey ? DEV_SERVER_USAGE_ENDPOINT_AUTHENTICATED : DEV_SERVER_USAGE_ENDPOINT;
@@ -3117,9 +3117,6 @@ Local proxy functionality will not work without setting up authentication.`
3117
3117
  }
3118
3118
  setTrackingInfo(authedPortalId, authedEnv);
3119
3119
  sendTrackingRequest("start-dev-server");
3120
- if (authedPortalId) {
3121
- await validateHSPlatform(webRoot2, authedPortalId);
3122
- }
3123
3120
  let domainsToProxy = [];
3124
3121
  if (sslEnabledOption2 && authedPortalId) {
3125
3122
  try {
@@ -3139,6 +3136,9 @@ Local proxy functionality will not work without setting up authentication.`
3139
3136
  const authedHublet = "na1";
3140
3137
  const absoluteWebRoot = normalizePath6(path9.resolve(process.cwd(), webRoot2));
3141
3138
  const [__webRootProjectFolder, webRootProjectComponentFolder] = absoluteWebRoot.replace(/\/$/, "").split("/").slice(-2);
3139
+ if (authedPortalId) {
3140
+ await validateHSPlatform(absoluteWebRoot, authedPortalId);
3141
+ }
3142
3142
  const viteServer = await createViteDevServer_default(
3143
3143
  absoluteWebRoot,
3144
3144
  PORT,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/cms-dev-server",
3
- "version": "0.14.4",
3
+ "version": "0.14.5",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "engines": {
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@hubspot/cli-lib": "^3.0.12",
29
- "@hubspot/cms-components": "^0.14.4",
29
+ "@hubspot/cms-components": "^0.14.5",
30
30
  "@inquirer/select": "^2.0.0",
31
31
  "@originjs/vite-plugin-commonjs": "^1.0.3",
32
32
  "@storybook/addon-actions": "7.0.7",
@@ -107,5 +107,5 @@
107
107
  "publishConfig": {
108
108
  "access": "public"
109
109
  },
110
- "gitHead": "9bfc94d44102ba7d992c58fb92ff26434cdeb085"
110
+ "gitHead": "606c5899215b3f31d248043e748bd37bcea948f7"
111
111
  }