@servicetitan/docs-uikit 22.11.0 → 22.13.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/README.md CHANGED
@@ -1,48 +1,59 @@
1
1
  # `@servicetitan/docs-uikit`
2
2
 
3
- This package contains documentation for Frontend Platform packages that is hosted at https://docs.st.dev.
3
+ This package contains documentation for Uikit packages, published at https://docs.st.dev.
4
4
 
5
5
  ## Preview changes locally
6
6
 
7
- Use the `yalc` package to preview changes before they are published:
7
+ To preview changes use the local `docusaurus` project. See the `docusaurus` README for instructions.
8
+
9
+ ## Preview changes in situ
10
+
11
+ Use `yalc` to preview changes within the entire ServiceTitan Engineering documentation.
8
12
 
9
13
  1. Install the `yalc` package globally
10
14
 
11
- ```
15
+ ```sh
12
16
  $ npm i yalc -g
13
17
  ```
14
18
 
15
19
  2. Build the `uikit` packages
16
20
 
17
- ```
21
+ ```sh
18
22
  $ cd <path-to-uikit>
19
23
  $ npm run build
20
24
  ```
21
25
 
22
- 3. Run `yalc publish` in the `docs` package folder
26
+ 3. Run `yalc publish` in the `docs` package folder to publish the package locally
23
27
 
24
- ```
25
- $ cd .\packages\docs\
28
+ ```sh
29
+ $ cd .\packages\docs
26
30
  $ yalc publish
27
31
  ```
28
32
 
29
- 4. Run `yalc add @servicetitan/docs-uikit` in ServiceTitan Engineering `docs` project, which will cause it to use the location version of the `@servicetitan/docs-uikit` package
33
+ 4. Run `yalc add @servicetitan/docs-uikit` in the servicetitan `docs` repo to use the locally published package
30
34
 
31
- ```
32
- $ cd <path-to-your-servicetitan-docs>
35
+ ```sh
36
+ $ cd <path-to-servicetitan-docs>
33
37
  $ yalc add @servicetitan/docs-uikit
34
38
  ```
35
39
 
36
- 5. Update your dependencies
40
+ 5. Update dependencies and start Docusaurus
37
41
 
38
- ```
42
+ ```sh
39
43
  $ npm i
40
44
  ```
41
45
 
42
- 6. Start the local Docusaurus server
46
+ 6. Start Docusaurus
43
47
 
44
- ```
48
+ ```sh
45
49
  $ npm start
46
50
  ```
47
51
 
48
- This opens the documentation in a browser window. Changes are reflected live without having to restart the server.
52
+ This opens the documentation in a browser window.
53
+
54
+ To see further changes without having to restart the server, run `yalc push` in the Uikit `docs` package folder
55
+
56
+ ```sh
57
+ $ cd <path-to-uikit>/packages/docs
58
+ $ yalc push
59
+ ```
package/docs/startup.mdx CHANGED
@@ -79,7 +79,9 @@ npx -y @servicetitan/startup@latest init
79
79
 
80
80
  ### install
81
81
 
82
- Installs the package dependencies.
82
+ Installs the package dependencies. This command should be run via `npx` before the build.
83
+
84
+ See [configuration example in the `init` template](https://github.com/servicetitan/uikit/blob/master/packages/startup/template/package.json)
83
85
 
84
86
  ### start
85
87
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicetitan/docs-uikit",
3
- "version": "22.11.0",
3
+ "version": "22.13.0",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,5 +15,6 @@
15
15
  },
16
16
  "cli": {
17
17
  "webpack": false
18
- }
18
+ },
19
+ "gitHead": "0371ceba4ebc06491f4cb85fcc7ce9d4193617af"
19
20
  }