@servicetitan/docs-uikit 22.18.0 → 22.20.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 +14 -2
- package/package.json +2 -2
package/docs/startup.mdx
CHANGED
|
@@ -6,6 +6,12 @@ import Admonition from '@theme/Admonition';
|
|
|
6
6
|
import { VersionHistory, Changes } from '@site/src/components/version-history';
|
|
7
7
|
|
|
8
8
|
<VersionHistory>
|
|
9
|
+
<Changes forVersion="22.20.0">
|
|
10
|
+
Added <code>--experimental-bundlers</code> option to <code>build</code> command
|
|
11
|
+
</Changes>
|
|
12
|
+
<Changes forVersion="22.19.0">
|
|
13
|
+
Added <code>--registry</code> option to <code>mfe-publish</code> command
|
|
14
|
+
</Changes>
|
|
9
15
|
<Changes forVersion="22.18.0">
|
|
10
16
|
Fixed issue where <code>startup init</code> failed to create new project
|
|
11
17
|
</Changes>
|
|
@@ -87,6 +93,10 @@ Updating build tooling is typically a daunting and time-consuming task. When new
|
|
|
87
93
|
|
|
88
94
|
## Commands
|
|
89
95
|
|
|
96
|
+
:::caution
|
|
97
|
+
Experimental flags don't follow semver. There might be breaking changes in minor versions of `@servicetitan/startup` when you opt-in to experimental flags.
|
|
98
|
+
:::
|
|
99
|
+
|
|
90
100
|
### init
|
|
91
101
|
|
|
92
102
|
Generates initial project structure. This command should be run via `npx` in an empty folder.
|
|
@@ -110,18 +120,20 @@ Runs package in the development mode. Applications will be hosted on sequential
|
|
|
110
120
|
- `--scope <glob>` - Include only packages with names matching the given glob.
|
|
111
121
|
- `--ignore <glob>` - Exclude packages with names matching the given glob.
|
|
112
122
|
- `--esbuild` - Use [esbuild-loader](https://github.com/privatenumber/esbuild-loader) to process TypeScript files instead of ts-loader.
|
|
123
|
+
- `--experimental-bundlers` - Use experimental build optimizations (alternative loaders and bundlers)
|
|
113
124
|
|
|
114
125
|
### build
|
|
115
126
|
|
|
116
|
-
Build packages for production to the `dist/bundle` folders. It
|
|
127
|
+
Build packages for production to the `dist/bundle` folders. It bundles them in production mode and optimizes the build for the best performance. The builds are minified and the filenames include the hashes. Apps are ready to be deployed.
|
|
117
128
|
|
|
118
129
|
#### Arguments
|
|
119
130
|
|
|
120
131
|
- `--scope <glob>` - Include only packages with names matching the given glob.
|
|
121
132
|
- `--ignore <glob>` - Exclude packages with names matching the given glob.
|
|
122
133
|
- `--cdn-path <url>` - Specify the base path for all the assets within the application.
|
|
123
|
-
- `--esbuild` - Use [esbuild-loader](https://github.com/privatenumber/esbuild-loader) to process TypeScript files instead of ts-loader.
|
|
124
134
|
- `--stat` - Generate bundle report with [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer). Starting `v22.3.0` works for [MFEs](/docs/frontend/micro-frontends) too.
|
|
135
|
+
- `--esbuild` - Use [esbuild-loader](https://github.com/privatenumber/esbuild-loader) to process TypeScript files instead of ts-loader.
|
|
136
|
+
- `--experimental-bundlers` - Use experimental build optimizations (alternative loaders and bundlers)
|
|
125
137
|
|
|
126
138
|
### test
|
|
127
139
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@servicetitan/docs-uikit",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.20.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": "ec4a9c96e9927170b725720de33e97efed24c724"
|
|
20
20
|
}
|