@servicetitan/docs-uikit 35.2.0 → 35.3.0

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.
@@ -163,3 +163,21 @@ export default defineConfig({
163
163
  ```
164
164
 
165
165
  For details about the structure and options available in webpack overrides, see the [createWebpackConfig](./build#createwebpackconfig) section in the build documentation.
166
+
167
+ ### TypeScript Types
168
+
169
+ `@servicetitan/startup` exports TypeScript types for Cypress component testing via `@servicetitan/startup/@types/cypress`. These types augment the Cypress `Chainable` interface with the `mount` command.
170
+
171
+ To use them, add both `"cypress"` and `"@servicetitan/startup/@types/cypress"` to the `types` array in your `tsconfig.json`:
172
+
173
+ ```json title="tsconfig.json"
174
+ {
175
+ "extends": "@servicetitan/startup/tsconfig/base",
176
+ "compilerOptions": {
177
+ "outDir": "dist",
178
+ "rootDir": "src",
179
+ "types": ["cypress", "@servicetitan/startup/@types/cypress"]
180
+ },
181
+ "include": ["src/**/*"]
182
+ }
183
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicetitan/docs-uikit",
3
- "version": "35.2.0",
3
+ "version": "35.3.0",
4
4
  "description": "Documentation content for Uikit packages published at docs.st.dev",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,5 +16,5 @@
16
16
  "cli": {
17
17
  "webpack": false
18
18
  },
19
- "gitHead": "3dee12f1c7b7d2cf01180a187bd2b919a56c1fed"
19
+ "gitHead": "a978fa979eaba3487c32cd9f948391957974f7d1"
20
20
  }