@hubspot/cms-dev-server 0.8.5 → 0.8.6
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/run.js
CHANGED
|
@@ -2402,9 +2402,6 @@ var PORT = process.env.PORT ? parseInt(process.env.PORT, 10) : 3e3;
|
|
|
2402
2402
|
var SHADOW_PORT = 1442;
|
|
2403
2403
|
var STORYBOOK_PORT = process.env.STORYBOOK_PORT ? parseInt(process.env.STORYBOOK_PORT, 10) : 3123;
|
|
2404
2404
|
async function createDevServer(webRoot2, storybook2, hubspotCliConfigPathOption2, hubspotCliAccountNameOption2, sslEnabledOption2) {
|
|
2405
|
-
console.log(
|
|
2406
|
-
"Warning: this is a prerelease and requires specific HubSpot account configuration to work"
|
|
2407
|
-
);
|
|
2408
2405
|
let authedPortalId = null;
|
|
2409
2406
|
let authedEnv = null;
|
|
2410
2407
|
let jsRenderingGates = [];
|
|
@@ -2544,9 +2541,8 @@ HubSpot CMS dev server hosting: ${projectName}/${expressServer.locals.projectCom
|
|
|
2544
2541
|
const packageRoot = path6.dirname(url2.fileURLToPath(import.meta.url));
|
|
2545
2542
|
const configPath = path6.resolve(packageRoot, "./storybook-main");
|
|
2546
2543
|
const storybookProcess = spawn(
|
|
2547
|
-
"
|
|
2544
|
+
"sb",
|
|
2548
2545
|
[
|
|
2549
|
-
"sb",
|
|
2550
2546
|
"dev",
|
|
2551
2547
|
"-p",
|
|
2552
2548
|
STORYBOOK_PORT.toString(),
|
|
@@ -5,16 +5,17 @@ import {
|
|
|
5
5
|
ClientRenderContextProvider
|
|
6
6
|
} from "@hubspot/cms-components";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
var parameters = {
|
|
9
|
-
actions: { argTypesRegex: "^on[A-Z].*" }
|
|
10
|
-
};
|
|
11
8
|
var contextValue = createServerRenderContextV2("http://testUrl.com", {
|
|
12
9
|
environmentConfig: null
|
|
13
10
|
});
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
]
|
|
11
|
+
var preview_default = {
|
|
12
|
+
parameters: {
|
|
13
|
+
actions: { argTypesRegex: "^on[A-Z].*" }
|
|
14
|
+
},
|
|
15
|
+
decorators: [
|
|
16
|
+
(Story) => /* @__PURE__ */ jsx(ClientRenderContextProvider, { pageUrl: "http://test.com", islands: [], children: /* @__PURE__ */ jsx(ServerRenderContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx(Story, {}) }) })
|
|
17
|
+
]
|
|
18
|
+
};
|
|
17
19
|
export {
|
|
18
|
-
|
|
19
|
-
parameters
|
|
20
|
+
preview_default as default
|
|
20
21
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubspot/cms-dev-server",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.6",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@hubspot/cli-lib": "^3.0.12",
|
|
28
|
-
"@hubspot/cms-components": "^0.8.
|
|
28
|
+
"@hubspot/cms-components": "^0.8.6",
|
|
29
29
|
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
|
30
30
|
"@storybook/addon-actions": "7.0.7",
|
|
31
31
|
"@storybook/addon-essentials": "7.0.7",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"publishConfig": {
|
|
101
101
|
"access": "public"
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "803096069b28abd1842356254912bfa911db1884"
|
|
104
104
|
}
|