@hubspot/cms-dev-server 1.2.62 → 1.2.64

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
@@ -1651,7 +1651,7 @@ function trackUsage(action) {
1651
1651
  eventName: EVENT_NAME,
1652
1652
  action,
1653
1653
  nodeVersion: getNodeVersionData(),
1654
- version: "1.2.62",
1654
+ version: "1.2.64",
1655
1655
  os: getPlatform()
1656
1656
  };
1657
1657
  const url3 = isAuthedWithPersonalAccessKey ? DEV_SERVER_USAGE_ENDPOINT_AUTHENTICATED : DEV_SERVER_USAGE_ENDPOINT;
package/dist/run.js CHANGED
@@ -304,7 +304,7 @@ async function determineSrcAndDest(webRoot2, isUsingLocalWorkspace = false) {
304
304
  const { dir: themeDir } = path2.parse(themeJsonPath);
305
305
  absoluteSrc = themeDir;
306
306
  const { base: themeName } = path2.parse(themeDir);
307
- const platformVersion = projectConfig.platformVersion || "2025.1";
307
+ const platformVersion = projectConfig.platformVersion || "2025.2";
308
308
  const isNewStructure = hasNewDirectoryStructure(platformVersion);
309
309
  if (isNewStructure) {
310
310
  const srcDir = projectConfig.srcDir || "src";
@@ -2256,7 +2256,7 @@ function trackUsage(action) {
2256
2256
  eventName: EVENT_NAME,
2257
2257
  action,
2258
2258
  nodeVersion: getNodeVersionData(),
2259
- version: "1.2.62",
2259
+ version: "1.2.64",
2260
2260
  os: getPlatform()
2261
2261
  };
2262
2262
  const url3 = isAuthedWithPersonalAccessKey ? DEV_SERVER_USAGE_ENDPOINT_AUTHENTICATED : DEV_SERVER_USAGE_ENDPOINT;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/cms-dev-server",
3
- "version": "1.2.62",
3
+ "version": "1.2.64",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "engines": {
@@ -29,8 +29,8 @@
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.62",
33
- "@hubspot/local-dev-lib": "5.8.2",
32
+ "@hubspot/cms-components": "^1.2.64",
33
+ "@hubspot/local-dev-lib": "5.10.1",
34
34
  "@inquirer/select": "^2.0.0",
35
35
  "@originjs/vite-plugin-commonjs": "^1.0.3",
36
36
  "@radix-ui/react-dialog": "^1.1.2",
@@ -134,6 +134,5 @@
134
134
  },
135
135
  "publishConfig": {
136
136
  "access": "public"
137
- },
138
- "gitHead": "09647aaa9bc9c976ab73dd86ab7bd30e3b57ed4d"
137
+ }
139
138
  }
@@ -1,2 +1,8 @@
1
- export declare function debugAuthContext(authedPortalId: number, cookieValue: string): Promise<void>;
2
- export declare function compareUrls(originalUrl: string, signedUrl: string): void;
1
+ export declare function debugAuthContext(
2
+ authedPortalId: number,
3
+ cookieValue: string
4
+ ): Promise<void>;
5
+ export declare function compareUrls(
6
+ originalUrl: string,
7
+ signedUrl: string
8
+ ): void;
@@ -2,14 +2,17 @@ import { ViteDevServer } from 'vite';
2
2
  /**
3
3
  * Processes HTML to find remote assets and replace with Vite-managed URLs
4
4
  */
5
- export declare function processRemoteAssets(html: string, viteServer: ViteDevServer): Promise<string>;
5
+ export declare function processRemoteAssets(
6
+ html: string,
7
+ viteServer: ViteDevServer
8
+ ): Promise<string>;
6
9
  /**
7
10
  * Vite plugin to handle remote assets
8
11
  */
9
12
  export declare function remoteAssetsPlugin(): {
10
- name: string;
11
- apply: "serve";
12
- configResolved(config: any): void;
13
- resolveId(id: string): string;
14
- load(id: string): Promise<string>;
13
+ name: string;
14
+ apply: 'serve';
15
+ configResolved(config: any): void;
16
+ resolveId(id: string): string;
17
+ load(id: string): Promise<string>;
15
18
  };
@@ -3,5 +3,8 @@ import { ViteDevServer, Plugin } from 'vite';
3
3
  * Create a self-contained plugin with proper caching
4
4
  */
5
5
  export declare function remoteAssetsPlugin(): Plugin & {
6
- processRemoteAssets: (html: string, viteServer: ViteDevServer) => Promise<string>;
6
+ processRemoteAssets: (
7
+ html: string,
8
+ viteServer: ViteDevServer
9
+ ) => Promise<string>;
7
10
  };
@@ -1,5 +1,13 @@
1
1
  import { Request, Response, NextFunction } from 'express';
2
- export declare function handleGetModulePages(req: Request, res: Response, next: NextFunction): Promise<Response<any, Record<string, any>>>;
3
- export declare function handleOpenFile(req: Request, res: Response, next: NextFunction): Response<any, Record<string, any>>;
4
- export declare function createAppServerRoutes(): import("express-serve-static-core").Router;
2
+ export declare function handleGetModulePages(
3
+ req: Request,
4
+ res: Response,
5
+ next: NextFunction
6
+ ): Promise<Response<any, Record<string, any>>>;
7
+ export declare function handleOpenFile(
8
+ req: Request,
9
+ res: Response,
10
+ next: NextFunction
11
+ ): Response<any, Record<string, any>>;
12
+ export declare function createAppServerRoutes(): import('express-serve-static-core').Router;
5
13
  export default createAppServerRoutes;
@@ -1,3 +1,7 @@
1
1
  import { Request, Response } from 'express';
2
- declare const homeRouteHandler: (request: Request, response: Response, next: Function) => Promise<void>;
2
+ declare const homeRouteHandler: (
3
+ request: Request,
4
+ response: Response,
5
+ next: Function
6
+ ) => Promise<void>;
3
7
  export default homeRouteHandler;
package/dist/.DS_Store DELETED
Binary file