@hubspot/cms-dev-server 1.2.19 → 1.2.20
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 +1 -1
- package/dist/run.js +1 -1
- package/package.json +3 -3
- package/dist/.DS_Store +0 -0
- package/types/lib/debugAuth.d.ts +0 -2
- package/types/lib/localComponentsLoader.d.ts +0 -2
- package/types/lib/viteAssetHandler.d.ts +0 -15
- package/types/plugins/hubspotStaticAssetPlugin.d.ts +0 -2
- package/types/plugins/remoteAssetsPlugin.d.ts +0 -7
- package/types/plugins/requestSigningPlugin.d.ts +0 -6
- package/types/routes/createAppServerRoutes.d.ts +0 -5
- package/types/routes/homeRouteHandler.d.ts +0 -3
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.
|
|
1634
|
+
version: "1.2.20",
|
|
1635
1635
|
os: getPlatform()
|
|
1636
1636
|
};
|
|
1637
1637
|
const url3 = isAuthedWithPersonalAccessKey ? DEV_SERVER_USAGE_ENDPOINT_AUTHENTICATED : DEV_SERVER_USAGE_ENDPOINT;
|
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.
|
|
2200
|
+
version: "1.2.20",
|
|
2201
2201
|
os: getPlatform()
|
|
2202
2202
|
};
|
|
2203
2203
|
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.
|
|
3
|
+
"version": "1.2.20",
|
|
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.
|
|
32
|
+
"@hubspot/cms-components": "^1.2.20",
|
|
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": "
|
|
136
|
+
"gitHead": "dce531c96148178239a2b81f92e78e81be041526"
|
|
137
137
|
}
|
package/dist/.DS_Store
DELETED
|
Binary file
|
package/types/lib/debugAuth.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ViteDevServer } from 'vite';
|
|
2
|
-
/**
|
|
3
|
-
* Processes HTML to find remote assets and replace with Vite-managed URLs
|
|
4
|
-
*/
|
|
5
|
-
export declare function processRemoteAssets(html: string, viteServer: ViteDevServer): Promise<string>;
|
|
6
|
-
/**
|
|
7
|
-
* Vite plugin to handle remote assets
|
|
8
|
-
*/
|
|
9
|
-
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>;
|
|
15
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
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;
|
|
5
|
-
export default createAppServerRoutes;
|