@hubspot/cms-dev-server 1.2.13 → 1.2.17

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
@@ -1631,7 +1631,7 @@ function trackUsage(action) {
1631
1631
  eventName: EVENT_NAME,
1632
1632
  action,
1633
1633
  nodeVersion: getNodeVersionData(),
1634
- version: "1.2.13",
1634
+ version: "1.2.17",
1635
1635
  os: getPlatform()
1636
1636
  };
1637
1637
  const url3 = isAuthedWithPersonalAccessKey ? DEV_SERVER_USAGE_ENDPOINT_AUTHENTICATED : DEV_SERVER_USAGE_ENDPOINT;
@@ -5323,7 +5323,7 @@ var formatAsTypeName = (str) => {
5323
5323
  };
5324
5324
  var isInModulesFolder = (filePath, projectRoot) => {
5325
5325
  const getEntryPathFromId = (id) => {
5326
- return id.startsWith(projectRoot) ? id.replace(`${projectRoot}/`, "") : "";
5326
+ return id.startsWith(projectRoot) ? id.replace(`${projectRoot}${path15.sep}`, "") : "";
5327
5327
  };
5328
5328
  const currentModuleId = path15.normalize(filePath);
5329
5329
  const moduleEntryPath = getEntryPathFromId(currentModuleId);
@@ -5624,7 +5624,8 @@ Local proxy functionality and module preview routes will not work without settin
5624
5624
  secretNames
5625
5625
  );
5626
5626
  if (fieldGenEnabledOption) {
5627
- startFieldsTypeGenWatcher(viteServer, absoluteWebRoot);
5627
+ const normalizedAbsoluteWebRoot = path16.normalize(absoluteWebRoot);
5628
+ startFieldsTypeGenWatcher(viteServer, normalizedAbsoluteWebRoot);
5628
5629
  }
5629
5630
  const viteHTTPSConfig = viteServer.config.server.https;
5630
5631
  const httpsKey = viteHTTPSConfig ? viteHTTPSConfig.key : null;
package/dist/run.js CHANGED
@@ -2197,7 +2197,7 @@ function trackUsage(action) {
2197
2197
  eventName: EVENT_NAME,
2198
2198
  action,
2199
2199
  nodeVersion: getNodeVersionData(),
2200
- version: "1.2.13",
2200
+ version: "1.2.17",
2201
2201
  os: getPlatform()
2202
2202
  };
2203
2203
  const url3 = isAuthedWithPersonalAccessKey ? DEV_SERVER_USAGE_ENDPOINT_AUTHENTICATED : DEV_SERVER_USAGE_ENDPOINT;
@@ -5992,7 +5992,7 @@ var formatAsTypeName = (str) => {
5992
5992
  };
5993
5993
  var isInModulesFolder = (filePath, projectRoot) => {
5994
5994
  const getEntryPathFromId = (id) => {
5995
- return id.startsWith(projectRoot) ? id.replace(`${projectRoot}/`, "") : "";
5995
+ return id.startsWith(projectRoot) ? id.replace(`${projectRoot}${path16.sep}`, "") : "";
5996
5996
  };
5997
5997
  const currentModuleId = path16.normalize(filePath);
5998
5998
  const moduleEntryPath = getEntryPathFromId(currentModuleId);
@@ -6293,7 +6293,8 @@ Local proxy functionality and module preview routes will not work without settin
6293
6293
  secretNames
6294
6294
  );
6295
6295
  if (fieldGenEnabledOption2) {
6296
- startFieldsTypeGenWatcher(viteServer, absoluteWebRoot);
6296
+ const normalizedAbsoluteWebRoot = path17.normalize(absoluteWebRoot);
6297
+ startFieldsTypeGenWatcher(viteServer, normalizedAbsoluteWebRoot);
6297
6298
  }
6298
6299
  const viteHTTPSConfig = viteServer.config.server.https;
6299
6300
  const httpsKey = viteHTTPSConfig ? viteHTTPSConfig.key : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/cms-dev-server",
3
- "version": "1.2.13",
3
+ "version": "1.2.17",
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.2.13",
32
+ "@hubspot/cms-components": "^1.2.17",
33
33
  "@hubspot/local-dev-lib": "4.0.2",
34
34
  "@inquirer/select": "^2.0.0",
35
35
  "@originjs/vite-plugin-commonjs": "^1.0.3",
@@ -133,5 +133,5 @@
133
133
  "publishConfig": {
134
134
  "access": "public"
135
135
  },
136
- "gitHead": "c5e256b8d29fa086d92b1b6ce88829c1d25c05a0"
136
+ "gitHead": "fd40b66c0ab6e8f02927a9589e21fdcb5119a414"
137
137
  }