@scalar/api-reference 1.48.7 → 1.48.8

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.
@@ -1,6 +1,5 @@
1
1
  import { type AnyApiReferenceConfiguration } from '@scalar/types/api-reference';
2
2
  import type { TraversedEntry } from '@scalar/workspace-store/schemas/navigation';
3
- import '@scalar/agent-chat/style.css';
4
3
  type __VLS_Props = {
5
4
  /**
6
5
  * Configuration for the API reference.
@@ -1 +1 @@
1
- {"version":3,"file":"ApiReference.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReference.vue"],"names":[],"mappings":"AAkxCA,OAAO,EAEL,KAAK,4BAA4B,EAGlC,MAAM,6BAA6B,CAAA;AAOpC,OAAO,KAAK,EACV,cAAc,EAEf,MAAM,4CAA4C,CAAA;AAsBnD,OAAO,8BAA8B,CAAA;AAkCrC,KAAK,WAAW,GAAG;IACjB;;;OAGG;IACH,aAAa,CAAC,EAAE,4BAA4B,CAAA;CAC7C,CAAC;AAGF,KAAK,WAAW,GAAG;IACjB,eAAe,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IAC1C,aAAa,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IACxC,eAAe,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IAC1C,aAAa,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IACxC,oBAAoB,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IAC/C,MAAM,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;CAClC,CAAC;AA+2CF,QAAA,MAAM,UAAU;;;;oPAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ApiReference.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReference.vue"],"names":[],"mappings":"AAixCA,OAAO,EAEL,KAAK,4BAA4B,EAGlC,MAAM,6BAA6B,CAAA;AAOpC,OAAO,KAAK,EACV,cAAc,EAEf,MAAM,4CAA4C,CAAA;AAmDnD,KAAK,WAAW,GAAG;IACjB;;;OAGG;IACH,aAAa,CAAC,EAAE,4BAA4B,CAAA;CAC7C,CAAC;AAGF,KAAK,WAAW,GAAG;IACjB,eAAe,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IAC1C,aAAa,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IACxC,eAAe,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IAC1C,aAAa,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IACxC,oBAAoB,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;IAC/C,MAAM,CAAC,IAAI;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAA;CAClC,CAAC;AAi3CF,QAAA,MAAM,UAAU;;;;oPAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -4,7 +4,7 @@ import _sfc_main from "./ApiReference.vue2.js";
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
7
- const ApiReference = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-148cccbd"]]);
7
+ const ApiReference = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5197a9d8"]]);
8
8
  export {
9
9
  ApiReference as default
10
10
  };
@@ -4,6 +4,7 @@ import { OpenApiClientButton } from "@scalar/api-client/components";
4
4
  import { createApiClientModal } from "@scalar/api-client/v2/features/modal";
5
5
  import { getActiveEnvironment, getServers } from "@scalar/api-client/v2/helpers";
6
6
  import { addScalarClassesToHeadless, ScalarSidebarFooter, ScalarColorModeToggleButton, ScalarColorModeToggleIcon } from "@scalar/components";
7
+ import { isLocalUrl } from "@scalar/helpers/url/is-local-url";
7
8
  import { createSidebarState, scrollSidebarToTop, ScalarSidebar } from "@scalar/sidebar";
8
9
  import { hasObtrusiveScrollbars, getThemeStyles } from "@scalar/themes";
9
10
  import { apiReferenceConfigurationSchema } from "@scalar/types/api-reference";
@@ -13,11 +14,8 @@ import { useColorMode } from "@scalar/use-hooks/useColorMode";
13
14
  import { ScalarToasts } from "@scalar/use-toasts";
14
15
  import { createWorkspaceStore } from "@scalar/workspace-store/client";
15
16
  import { createWorkspaceEventBus } from "@scalar/workspace-store/events";
16
- import diff from "microdiff";
17
- import { useAgent, AGENT_CONTEXT_SYMBOL } from "../hooks/use-agent.js";
18
- import "@scalar/agent-chat/style.css";
19
- import { isLocalUrl } from "@scalar/helpers/url/is-local-url";
20
17
  import { useScrollLock } from "@vueuse/core";
18
+ import diff from "microdiff";
21
19
  import ClassicHeader from "./ClassicHeader.vue.js";
22
20
  import _sfc_main$5 from "./Content/Content.vue.js";
23
21
  /* empty css */
@@ -32,6 +30,7 @@ import { loadClientFromStorage, loadAuthFromStorage } from "../helpers/load-from
32
30
  import { mapConfigPlugins } from "../helpers/map-config-plugins.js";
33
31
  import { mapConfigToWorkspaceStore } from "../helpers/map-config-to-workspace-store.js";
34
32
  import { normalizeConfigurations } from "../helpers/normalize-configurations.js";
33
+ import { useAgent, AGENT_CONTEXT_SYMBOL } from "../hooks/use-agent.js";
35
34
  import { useIntersection } from "../hooks/use-intersection.js";
36
35
  import { persistencePlugin } from "../plugins/persistance-plugin.js";
37
36
  import { PLUGIN_MANAGER_SYMBOL } from "../plugins/hooks/usePluginManager.js";
@@ -521,7 +520,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
521
520
  }
522
521
  return mode;
523
522
  });
524
- const bodyScrollLocked = useScrollLock(document.body);
523
+ const bodyScrollLocked = useScrollLock(
524
+ typeof document !== "undefined" ? document.body : null
525
+ );
525
526
  watch(agent.showAgent, () => bodyScrollLocked.value = agent.showAgent.value);
526
527
  const showMCPButton = computed(() => {
527
528
  if (mergedConfig.value.mcp?.disabled) {
@@ -1 +1 @@
1
- {"version":3,"file":"get-default-security.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Auth/helpers/get-default-security.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAA;AACpG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAA;AAG9E,OAAO,KAAK,EACV,yBAAyB,EACzB,oBAAoB,EACrB,MAAM,8DAA8D,CAAA;AAErE;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAAI,QAAQ,oBAAoB,GAAG,SAAS,KAAG,MAAM,EAMjF,CAAA;AA2CD;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,GAC7B,sBAAsB,yBAAyB,EAAE,EACjD,yBAAyB,2BAA2B,CAAC,yBAAyB,CAAC,EAC/E,iBAAiB,qBAAqB,KACrC,yBAAyB,GAAG,IAW9B,CAAA"}
1
+ {"version":3,"file":"get-default-security.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Auth/helpers/get-default-security.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAA;AACpG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAA;AAG9E,OAAO,KAAK,EACV,yBAAyB,EACzB,oBAAoB,EACrB,MAAM,8DAA8D,CAAA;AAErE;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAAI,QAAQ,oBAAoB,GAAG,SAAS,KAAG,MAAM,EAMjF,CAAA;AAkED;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,GAC7B,sBAAsB,yBAAyB,EAAE,EACjD,yBAAyB,2BAA2B,CAAC,yBAAyB,CAAC,EAC/E,iBAAiB,qBAAqB,KACrC,yBAAyB,GAAG,IAW9B,CAAA"}
@@ -6,6 +6,18 @@ const getDefaultScopes = (scheme) => {
6
6
  }
7
7
  return scheme["x-default-scopes"] ?? [];
8
8
  };
9
+ const hydrateSecurityRequirement = (requirement, securitySchemes) => {
10
+ const hydratedRequirement = {};
11
+ for (const [schemeName, scopes] of Object.entries(unpackProxyObject(requirement, { depth: 1 }) ?? requirement)) {
12
+ if (Array.isArray(scopes) && scopes.length > 0) {
13
+ hydratedRequirement[schemeName] = scopes;
14
+ continue;
15
+ }
16
+ const scheme = getResolvedRef(securitySchemes[schemeName]);
17
+ hydratedRequirement[schemeName] = getDefaultScopes(scheme);
18
+ }
19
+ return hydratedRequirement;
20
+ };
9
21
  const addSchemeToRequirement = (acc, schemeName, securitySchemes) => {
10
22
  const scheme = getResolvedRef(securitySchemes[schemeName]);
11
23
  acc[schemeName] = getDefaultScopes(scheme);
@@ -33,7 +45,7 @@ const getDefaultSecurity = (securityRequirements, preferredSecurityScheme, secur
33
45
  }
34
46
  const firstRequirement = securityRequirements[0];
35
47
  if (firstRequirement) {
36
- return unpackProxyObject(firstRequirement, { depth: 1 });
48
+ return hydrateSecurityRequirement(firstRequirement, securitySchemes);
37
49
  }
38
50
  return null;
39
51
  };
@@ -88,10 +88,10 @@ export declare const authStorage: () => {
88
88
  }) | undefined;
89
89
  }) | {
90
90
  implicit?: ({
91
- refreshUrl: string;
92
91
  scopes: {
93
92
  [x: string]: string;
94
93
  };
94
+ refreshUrl: string;
95
95
  } & {
96
96
  'x-scalar-security-query'?: {
97
97
  [x: string]: string;
@@ -118,10 +118,10 @@ export declare const authStorage: () => {
118
118
  'x-scalar-secret-redirect-uri': string;
119
119
  }) | undefined;
120
120
  password?: ({
121
- refreshUrl: string;
122
121
  scopes: {
123
122
  [x: string]: string;
124
123
  };
124
+ refreshUrl: string;
125
125
  } & {
126
126
  'x-scalar-security-query'?: {
127
127
  [x: string]: string;
@@ -155,10 +155,10 @@ export declare const authStorage: () => {
155
155
  'x-scalar-credentials-location'?: "body" | "header" | undefined;
156
156
  }) | undefined;
157
157
  clientCredentials?: ({
158
- refreshUrl: string;
159
158
  scopes: {
160
159
  [x: string]: string;
161
160
  };
161
+ refreshUrl: string;
162
162
  } & {
163
163
  'x-scalar-security-query'?: {
164
164
  [x: string]: string;
@@ -189,10 +189,10 @@ export declare const authStorage: () => {
189
189
  'x-scalar-credentials-location'?: "body" | "header" | undefined;
190
190
  }) | undefined;
191
191
  authorizationCode?: ({
192
- refreshUrl: string;
193
192
  scopes: {
194
193
  [x: string]: string;
195
194
  };
195
+ refreshUrl: string;
196
196
  } & {
197
197
  'x-scalar-security-query'?: {
198
198
  [x: string]: string;
package/dist/ssr.d.ts ADDED
@@ -0,0 +1,22 @@
1
+ /**
2
+ * SSR entry point for @scalar/api-reference.
3
+ *
4
+ * Re-exports the same components as the main entry. The ApiReference component
5
+ * is SSR-compatible and works with createSSRApp and renderToString from
6
+ * @vue/server-renderer.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * import { createSSRApp } from 'vue'
11
+ * import { renderToString } from '@vue/server-renderer'
12
+ * import { ApiReference } from '@scalar/api-reference/ssr'
13
+ *
14
+ * const app = createSSRApp({
15
+ * render: () => h(ApiReference, { configuration: { url: '/openapi.json' } }),
16
+ * })
17
+ * const html = await renderToString(app)
18
+ * ```
19
+ */
20
+ export type { ApiReferenceConfiguration, ReferenceProps } from './index.js';
21
+ export { ApiReference, GettingStarted, SearchButton, SearchModal, createApiReference, createEmptySpecification, } from './index.js';
22
+ //# sourceMappingURL=ssr.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ssr.d.ts","sourceRoot":"","sources":["../src/ssr.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,YAAY,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AACxE,OAAO,EACL,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,SAAS,CAAA"}
package/dist/ssr.js ADDED
@@ -0,0 +1,14 @@
1
+ import { default as default2 } from "./features/Search/components/SearchButton.vue.js";
2
+ import { default as default3 } from "./components/ApiReference.vue.js";
3
+ import { default as default4 } from "./components/GettingStarted.vue.js";
4
+ import { default as default5 } from "./features/Search/components/SearchModal.vue.js";
5
+ import { createApiReference } from "./standalone/lib/html-api.js";
6
+ import { createEmptySpecification } from "./helpers/openapi.js";
7
+ export {
8
+ default3 as ApiReference,
9
+ default4 as GettingStarted,
10
+ default2 as SearchButton,
11
+ default5 as SearchModal,
12
+ createApiReference,
13
+ createEmptySpecification
14
+ };
package/dist/style.css CHANGED
@@ -9955,6 +9955,9 @@ to {
9955
9955
  .app-platform-mac :is(.scalar-app .mac\:h-12) {
9956
9956
  height: 48px;
9957
9957
  }
9958
+ .app-platform-mac :is(.scalar-app .mac\:pt-12) {
9959
+ padding-top: 48px;
9960
+ }
9958
9961
  .app-platform-mac :is(.scalar-app .mac\:pl-\[72px\]) {
9959
9962
  padding-left: 72px;
9960
9963
  }
@@ -10997,7 +11000,7 @@ to {
10997
11000
  -webkit-mask-image: linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);
10998
11001
  mask-image: linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);
10999
11002
  }
11000
- [data-v-fd127758] .cm-content {
11003
+ [data-v-0fdec6da] .cm-content {
11001
11004
  font-size: var(--scalar-small);
11002
11005
  }
11003
11006
  .form-group[data-v-43df1726] {
@@ -12623,7 +12626,7 @@ to {
12623
12626
 
12624
12627
  /* Configurable Layout Variables */
12625
12628
  @layer scalar-config {
12626
- .scalar-api-reference[data-v-148cccbd] {
12629
+ .scalar-api-reference[data-v-5197a9d8] {
12627
12630
  /* The header height */
12628
12631
  --refs-header-height: calc(
12629
12632
  var(--scalar-custom-header-height, 0px) + var(--scalar-header-height, 0px)
@@ -12645,20 +12648,20 @@ to {
12645
12648
  /* The maximum width of the content column */
12646
12649
  --refs-content-max-width: var(--scalar-content-max-width, 1540px);
12647
12650
  }
12648
- .scalar-api-reference.references-classic[data-v-148cccbd] {
12651
+ .scalar-api-reference.references-classic[data-v-5197a9d8] {
12649
12652
  /* Classic layout is wider */
12650
12653
  --refs-content-max-width: var(--scalar-content-max-width, 1420px);
12651
12654
  min-height: 100dvh;
12652
12655
  --refs-sidebar-width: 0;
12653
12656
  }
12654
12657
  }
12655
- .t-doc__sidebar[data-v-148cccbd] {
12658
+ .t-doc__sidebar[data-v-5197a9d8] {
12656
12659
  z-index: 10;
12657
12660
  }
12658
12661
 
12659
12662
  /* ----------------------------------------------------- */
12660
12663
  /* References Layout */
12661
- .references-layout[data-v-148cccbd] {
12664
+ .references-layout[data-v-5197a9d8] {
12662
12665
  /* Try to fill the container */
12663
12666
  min-height: 100dvh;
12664
12667
  min-width: 100%;
@@ -12682,39 +12685,39 @@ to {
12682
12685
 
12683
12686
  background: var(--scalar-background-1);
12684
12687
  }
12685
- .references-editor[data-v-148cccbd] {
12688
+ .references-editor[data-v-5197a9d8] {
12686
12689
  grid-area: editor;
12687
12690
  display: flex;
12688
12691
  min-width: 0;
12689
12692
  background: var(--scalar-background-1);
12690
12693
  }
12691
- .references-rendered[data-v-148cccbd] {
12694
+ .references-rendered[data-v-5197a9d8] {
12692
12695
  position: relative;
12693
12696
  grid-area: rendered;
12694
12697
  min-width: 0;
12695
12698
  background: var(--scalar-background-1);
12696
12699
  }
12697
- .scalar-api-reference.references-classic[data-v-148cccbd],
12698
- .references-classic .references-rendered[data-v-148cccbd] {
12700
+ .scalar-api-reference.references-classic[data-v-5197a9d8],
12701
+ .references-classic .references-rendered[data-v-5197a9d8] {
12699
12702
  height: initial !important;
12700
12703
  max-height: initial !important;
12701
12704
  }
12702
12705
  @layer scalar-config {
12703
- .references-sidebar[data-v-148cccbd] {
12706
+ .references-sidebar[data-v-5197a9d8] {
12704
12707
  /* Set a default width if references are enabled */
12705
12708
  --refs-sidebar-width: var(--scalar-sidebar-width, 288px);
12706
12709
  }
12707
12710
  }
12708
12711
 
12709
12712
  /* Footer */
12710
- .references-footer[data-v-148cccbd] {
12713
+ .references-footer[data-v-5197a9d8] {
12711
12714
  grid-area: footer;
12712
12715
  }
12713
12716
  /* ----------------------------------------------------- */
12714
12717
  /* Responsive / Mobile Layout */
12715
12718
  @media (max-width: 1000px) {
12716
12719
  /* Stack view on mobile */
12717
- .references-layout[data-v-148cccbd] {
12720
+ .references-layout[data-v-5197a9d8] {
12718
12721
  /* Adjust the sidebar height to the viewport height minus the header height */
12719
12722
  --refs-sidebar-height: calc(
12720
12723
  var(--full-height, 100dvh) - var(--scalar-custom-header-height, 0px)
@@ -12729,13 +12732,13 @@ to {
12729
12732
  'rendered'
12730
12733
  'footer';
12731
12734
  }
12732
- .references-editable[data-v-148cccbd] {
12735
+ .references-editable[data-v-5197a9d8] {
12733
12736
  grid-template-areas:
12734
12737
  'header'
12735
12738
  'navigation'
12736
12739
  'editor';
12737
12740
  }
12738
- .references-rendered[data-v-148cccbd] {
12741
+ .references-rendered[data-v-5197a9d8] {
12739
12742
  position: static;
12740
12743
  }
12741
12744
  }
@@ -12746,12 +12749,12 @@ to {
12746
12749
  * when the new elements are available
12747
12750
  */
12748
12751
  @media (max-width: 1000px) {
12749
- .scalar-api-references-standalone-mobile[data-v-148cccbd]:not(.references-classic) {
12752
+ .scalar-api-references-standalone-mobile[data-v-5197a9d8]:not(.references-classic) {
12750
12753
  --scalar-header-height: 50px;
12751
12754
  }
12752
12755
  }
12753
12756
 
12754
- .darklight-reference[data-v-148cccbd] {
12757
+ .darklight-reference[data-v-5197a9d8] {
12755
12758
  width: 100%;
12756
12759
  margin-top: auto;
12757
12760
  }
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "vue",
21
21
  "vue3"
22
22
  ],
23
- "version": "1.48.7",
23
+ "version": "1.48.8",
24
24
  "engines": {
25
25
  "node": ">=22"
26
26
  },
@@ -64,6 +64,11 @@
64
64
  "types": "./dist/helpers/index.d.ts",
65
65
  "default": "./dist/helpers/index.js"
66
66
  },
67
+ "./ssr": {
68
+ "import": "./dist/ssr.js",
69
+ "types": "./dist/ssr.d.ts",
70
+ "default": "./dist/ssr.js"
71
+ },
67
72
  "./style.css": "./dist/style.css",
68
73
  "./browser/standalone.js": "./dist/browser/standalone.js"
69
74
  },
@@ -85,22 +90,22 @@
85
90
  "microdiff": "^1.5.0",
86
91
  "nanoid": "^5.1.6",
87
92
  "vue": "^3.5.26",
88
- "@scalar/api-client": "2.37.0",
89
- "@scalar/agent-chat": "0.9.7",
93
+ "@scalar/agent-chat": "0.9.8",
94
+ "@scalar/api-client": "2.38.0",
90
95
  "@scalar/code-highlight": "0.3.0",
96
+ "@scalar/components": "0.20.8",
91
97
  "@scalar/helpers": "0.4.1",
92
- "@scalar/oas-utils": "0.10.6",
93
- "@scalar/components": "0.20.7",
94
- "@scalar/openapi-parser": "0.25.3",
95
98
  "@scalar/icons": "0.6.0",
99
+ "@scalar/openapi-parser": "0.25.3",
100
+ "@scalar/oas-utils": "0.10.7",
96
101
  "@scalar/openapi-types": "0.6.0",
97
- "@scalar/sidebar": "0.8.7",
102
+ "@scalar/sidebar": "0.8.8",
98
103
  "@scalar/snippetz": "0.7.4",
99
104
  "@scalar/themes": "0.15.0",
100
105
  "@scalar/types": "0.7.3",
101
- "@scalar/workspace-store": "0.40.0",
106
+ "@scalar/use-hooks": "0.4.0",
102
107
  "@scalar/use-toasts": "0.10.0",
103
- "@scalar/use-hooks": "0.4.0"
108
+ "@scalar/workspace-store": "0.40.1"
104
109
  },
105
110
  "devDependencies": {
106
111
  "@hono/node-server": "^1.19.7",
@@ -118,8 +123,8 @@
118
123
  "vite-plugin-banner": "^0.8.1",
119
124
  "vite-plugin-css-injected-by-js": "^3.5.2",
120
125
  "vitest": "4.0.16",
121
- "@scalar/core": "0.4.3",
122
126
  "@scalar/build-tooling": "0.5.0",
127
+ "@scalar/core": "0.4.3",
123
128
  "@scalar/galaxy": "0.6.0",
124
129
  "@scalar/react-renderer": "0.4.0"
125
130
  },
@@ -131,7 +136,6 @@
131
136
  "dev:standalone": "vite -c vite.standalone.config.ts",
132
137
  "playground:components": "vite ./playground/components -c ./playground/components/vite.config.ts",
133
138
  "playground:esm": "vite ./playground/esm -c ./playground/esm/vite.config.ts",
134
- "playground:ssr": "cd ./playground/ssr && pnpm dev",
135
139
  "playground:vue": "vite ./playground/vue -c ./playground/vue/vite.config.ts",
136
140
  "preview": "vite preview",
137
141
  "test": "vitest",