@servicetitan/docs-uikit 23.5.2 → 24.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.
- package/docs/startup.mdx +20 -1
- package/package.json +2 -2
package/docs/startup.mdx
CHANGED
|
@@ -8,6 +8,22 @@ import { VersionHistory, Changes } from '@site/src/components/version-history';
|
|
|
8
8
|
[@servicetitan/startup](https://github.com/servicetitan/uikit/tree/master/packages/startup) is a command-line interface (CLI) to create multi-package Lerna projects with the support of TypeScript Project References and React. It offers a modern build setup with no configuration.
|
|
9
9
|
|
|
10
10
|
<VersionHistory>
|
|
11
|
+
<Changes forVersion="24.0.0">
|
|
12
|
+
<Admonition type="caution">
|
|
13
|
+
<p>
|
|
14
|
+
Upgraded <code>Typescript</code> from version v4 to v5.
|
|
15
|
+
Version 5 adds correctness improvements that will reveal
|
|
16
|
+
previously undetected ambiguities. In particular,
|
|
17
|
+
</p>
|
|
18
|
+
<ul>
|
|
19
|
+
<li>Type checks for enums are stricter because all enum values get their own type</li>
|
|
20
|
+
<li>String and boolean values aren't implicitly converted to numbers.
|
|
21
|
+
Use the <code>+</code> operator to explicitly convert values to numbers in mathematical expressions.
|
|
22
|
+
(e.g., <code>return +str > 42;</code>)</li>
|
|
23
|
+
</ul>
|
|
24
|
+
<p>See <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/">this blogpost</a> for the complete list of changes.</p>
|
|
25
|
+
</Admonition>
|
|
26
|
+
</Changes>
|
|
11
27
|
<Changes forVersion="23.0.0">
|
|
12
28
|
<Admonition type="caution">
|
|
13
29
|
Upgraded <code>Jest</code> from version v27.x to v29.
|
|
@@ -244,7 +260,10 @@ This project supports [CSS Modules](https://github.com/css-modules/css-modules)
|
|
|
244
260
|
## SVG Transformation
|
|
245
261
|
|
|
246
262
|
<Admonition type="note">
|
|
247
|
-
Type definitions are provided for the various ways of importing SVGs via the base tsconfig's
|
|
263
|
+
Type definitions are provided for the various ways of importing SVGs via the base tsconfig's{' '}
|
|
264
|
+
<code>"files"</code> property within <code>startup</code>. If you override the{' '}
|
|
265
|
+
<code>"files"</code> property within your tsconfig, you may lose access to these type
|
|
266
|
+
definitions, and will need to add them manually.
|
|
248
267
|
</Admonition>
|
|
249
268
|
|
|
250
269
|
By default, SVGs are loaded as assets. Depending on the file size, the asset is converted to a base64 URI string, or emitted as separate file.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@servicetitan/docs-uikit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "24.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"cli": {
|
|
17
17
|
"webpack": false
|
|
18
18
|
},
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "7cd2407a9025cfb84bddbd1241eaa7fd40311cb8"
|
|
20
20
|
}
|