@hubspot/cms-dev-server 1.0.33 → 1.0.34

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.
package/dist/index.js CHANGED
@@ -1638,7 +1638,7 @@ function trackUsage(action) {
1638
1638
  eventName: EVENT_NAME,
1639
1639
  action,
1640
1640
  nodeVersion: getNodeVersionData(),
1641
- version: "1.0.33",
1641
+ version: "1.0.34",
1642
1642
  os: getPlatform()
1643
1643
  };
1644
1644
  const url3 = isAuthedWithPersonalAccessKey ? DEV_SERVER_USAGE_ENDPOINT_AUTHENTICATED : DEV_SERVER_USAGE_ENDPOINT;
@@ -4098,7 +4098,7 @@ var hublModuleRouteHandler = async (request2, response) => {
4098
4098
  response.status(200).set({ "Content-Type": "text/html" }).end(buildModuleIndex());
4099
4099
  return;
4100
4100
  }
4101
- const calculatedPath = `@preview/${localPreviewToken}/${modulePath}.module`;
4101
+ const calculatedPath = `@preview/${localPreviewToken}/@projects/${modulePath}.module`;
4102
4102
  let customWidgetInfo;
4103
4103
  try {
4104
4104
  customWidgetInfo = await fetchModuleByPath(authedPortalId, calculatedPath);
package/dist/run.js CHANGED
@@ -2166,7 +2166,7 @@ function trackUsage(action) {
2166
2166
  eventName: EVENT_NAME,
2167
2167
  action,
2168
2168
  nodeVersion: getNodeVersionData(),
2169
- version: "1.0.33",
2169
+ version: "1.0.34",
2170
2170
  os: getPlatform()
2171
2171
  };
2172
2172
  const url3 = isAuthedWithPersonalAccessKey ? DEV_SERVER_USAGE_ENDPOINT_AUTHENTICATED : DEV_SERVER_USAGE_ENDPOINT;
@@ -4626,7 +4626,7 @@ var hublModuleRouteHandler = async (request2, response) => {
4626
4626
  response.status(200).set({ "Content-Type": "text/html" }).end(buildModuleIndex());
4627
4627
  return;
4628
4628
  }
4629
- const calculatedPath = `@preview/${localPreviewToken}/${modulePath}.module`;
4629
+ const calculatedPath = `@preview/${localPreviewToken}/@projects/${modulePath}.module`;
4630
4630
  let customWidgetInfo;
4631
4631
  try {
4632
4632
  customWidgetInfo = await fetchModuleByPath(authedPortalId, calculatedPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/cms-dev-server",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "engines": {
@@ -29,7 +29,7 @@
29
29
  "@babel/parser": "^7.25.3",
30
30
  "@babel/traverse": "^7.25.3",
31
31
  "@babel/types": "^7.25.2",
32
- "@hubspot/cms-components": "^1.0.33",
32
+ "@hubspot/cms-components": "^1.0.34",
33
33
  "@hubspot/local-dev-lib": "2.0.1",
34
34
  "@inquirer/select": "^2.0.0",
35
35
  "@originjs/vite-plugin-commonjs": "^1.0.3",
@@ -132,5 +132,5 @@
132
132
  "publishConfig": {
133
133
  "access": "public"
134
134
  },
135
- "gitHead": "8d1de5f4c21428c7f8bf053007a30eddff290c7a"
135
+ "gitHead": "6ae0ea301c8f3423737b1eeb2af42730d9018bbd"
136
136
  }