@stainless-api/docs 0.1.0-beta.60 → 0.1.0-beta.61

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @stainless-api/docs
2
2
 
3
+ ## 0.1.0-beta.61
4
+
5
+ ### Patch Changes
6
+
7
+ - 88a9894: patch vite optimizeDeps for docs-ai-chat
8
+ - Updated dependencies [2a79bae]
9
+ - @stainless-api/ui-primitives@0.1.0-beta.38
10
+ - @stainless-api/docs-ui@0.1.0-beta.51
11
+ - @stainless-api/docs-search@0.1.0-beta.3
12
+
3
13
  ## 0.1.0-beta.60
4
14
 
5
15
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stainless-api/docs",
3
- "version": "0.1.0-beta.60",
3
+ "version": "0.1.0-beta.61",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -52,9 +52,9 @@
52
52
  "vite-plugin-prebundle-workers": "^0.2.0",
53
53
  "web-worker": "^1.5.0",
54
54
  "yaml": "^2.8.2",
55
- "@stainless-api/docs-ui": "0.1.0-beta.50",
56
- "@stainless-api/docs-search": "0.1.0-beta.2",
57
- "@stainless-api/ui-primitives": "0.1.0-beta.37"
55
+ "@stainless-api/docs-ui": "0.1.0-beta.51",
56
+ "@stainless-api/docs-search": "0.1.0-beta.3",
57
+ "@stainless-api/ui-primitives": "0.1.0-beta.38"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@astrojs/check": "^0.9.6",
package/stl-docs/index.ts CHANGED
@@ -198,6 +198,15 @@ function stainlessDocsIntegration(
198
198
  },
199
199
  },
200
200
  ],
201
+ optimizeDeps: {
202
+ include: config.aiChat
203
+ ? [
204
+ '@stainless-api/docs-ai-chat > motion',
205
+ '@stainless-api/docs-ai-chat > react-markdown',
206
+ '@stainless-api/docs-ai-chat > react-syntax-highlighter',
207
+ ]
208
+ : [],
209
+ },
201
210
  },
202
211
  build: {
203
212
  ...astroConfig.build,