@servicetitan/docs-uikit 35.2.0 → 36.0.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.
@@ -3,6 +3,13 @@ title: BREAKING CHANGES
3
3
  sidebar_position: 0
4
4
  ---
5
5
 
6
+ ## v36.0.0
7
+
8
+ ### [@servicetitan/startup](./startup/)
9
+
10
+ - `mfe-publish` now throws an error instead of silently succeeding when the branch is not configured for publishing (without `--force`).
11
+ If your CI workflow calls `mfe-publish` on an unconfigured branch, either add the branch to the `web-component.branches` configuration in `package.json`, or pass `--force` to bypass the check.
12
+
6
13
  ## v35.0.0
7
14
 
8
15
  ### [@servicetitan/startup](./startup/)
@@ -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": "36.0.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": "73584720991027dd55eaeb24fb8e09bad656dbad"
20
20
  }