@hubspot/cms-dev-server 1.0.45 → 1.0.46
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/types/lib/cliUtils.d.ts +15 -0
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.0.
|
|
1634
|
+
version: "1.0.46",
|
|
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
|
@@ -2154,7 +2154,7 @@ function trackUsage(action) {
|
|
|
2154
2154
|
eventName: EVENT_NAME,
|
|
2155
2155
|
action,
|
|
2156
2156
|
nodeVersion: getNodeVersionData(),
|
|
2157
|
-
version: "1.0.
|
|
2157
|
+
version: "1.0.46",
|
|
2158
2158
|
os: getPlatform()
|
|
2159
2159
|
};
|
|
2160
2160
|
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.0.
|
|
3
|
+
"version": "1.0.46",
|
|
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.
|
|
32
|
+
"@hubspot/cms-components": "^1.0.46",
|
|
33
33
|
"@hubspot/local-dev-lib": "3.7.1",
|
|
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": "0f7615943ac08db14aa2dc7f3fd7fc0b16844046"
|
|
137
137
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare function hasThemeMeta(platformVersion: string): boolean;
|
|
2
|
+
export declare function determineSrcAndDest(webRoot: string, isUsingLocalWorkspace?: boolean): Promise<{
|
|
3
|
+
absoluteSrc: any;
|
|
4
|
+
dest: any;
|
|
5
|
+
}>;
|
|
6
|
+
export declare function getUploadableFileList(src: any, convertFields: any): Promise<any[]>;
|
|
7
|
+
export declare function fieldsJsPrompt(filePath: any, projectDir: any, skipFiles?: any[]): Promise<any[]>;
|
|
8
|
+
export declare function logError(error: any, context?: {}): void;
|
|
9
|
+
export declare class ApiErrorContext {
|
|
10
|
+
accountId: any;
|
|
11
|
+
request: any;
|
|
12
|
+
payload: any;
|
|
13
|
+
projectName: any;
|
|
14
|
+
constructor(props?: any);
|
|
15
|
+
}
|