You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tweak: (zenflux-cli) - Refactor README.md for better readability (#45)
* Tweak: (`zenflux-cli`) - Refactor README.md for better readability
The README.md file in 'zenflux-cli' package has been updated to improve readability. Major changes include reformatting of text, better organization of information, and the addition of visual screenshots showcasing usage examples of the tool. Higher priority has been given to making instructions, tool features and configurations more understandable.
* Update packages/zenflux-cli/README.md
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
* Update packages/zenflux-cli/README.md
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
* Update packages/zenflux-cli/README.md
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
* Update packages/zenflux-cli/README.md
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
* Update README.md
* Update README.md
---------
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: packages/zenflux-cli/README.md
+62-43Lines changed: 62 additions & 43 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,13 @@
2
2
3
3
## 📍 Overview
4
4
5
-
The repository contains a CLI tool called `@z-cli` that offers functionalities related to building, publishing, and watching **monorepo** workspaces. It utilizes technologies like Babel, Rollup, TypeScript, and Verdaccio. The tool is designed to simplify the development process by providing a command-line interface with various commands for managing and building projects. It includes modules for handling npm registry operations. The tool's value proposition lies in its ability to automate repetitive tasks and streamline project workflows, ultimately enhancing developer productivity.
5
+
The repository contains a CLI tool called `@z-cli` that offers functionalities related to building, publishing, and watching **monorepo** workspaces.
6
+
7
+
It utilizes technologies like `Babel`, `Rollup`, `TypeScript`, and `Verdaccio`.
8
+
9
+
The tool is designed to simplify the development process by providing a command-line interface with various commands for managing and building projects. It includes modules for handling npm registry operations.
10
+
11
+
The tool's value proposition lies in its ability to automate repetitive tasks and streamline project workflows, ultimately enhancing developer productivity.
6
12
7
13
---
8
14
@@ -13,22 +19,29 @@ Via package manager, `bun install @zenflux/cli`
13
19
14
20
## 📦 Features
15
21
22
+
The CLI provides several commands, each starting with the `@` symbol.
23
+
24
+
These commands are designed to help you manage and build your projects efficiently.
25
+
16
26
### Building Projects
17
27
18
-
The CLI tool provides a command for building projects. It utilizes technologies such as SWC, Rollup, ApiExtractor, and more to bundle and transpile code for distribution. Developers can use this feature to create distribution-ready packages.
28
+
* The CLI tool provides a command for building projects.
29
+
* It utilizes technologies such as `SWC`, `Rollup`, `ApiExtractor`, and more to bundle and transpile code for distribution.
30
+
* Developers can use this feature to create distribution-ready packages.
31
+
* When workspace has multiple packages, the tool can build all packages or a specific package, with support of multiple formats and extension.
32
+
* It can also generate declaration files and handle external dependencies.
33
+
* Utilizing multithreading, the tool can build multiple packages simultaneously, improving performance.
- **Change Detection**: Whenever a file in a package changes, the watcher triggers the build process for that package. The build process is triggered after a delay to ensure that multiple rapid changes do not trigger multiple builds.
223
+
- **Post-Build**: After each build process, it performs TypeScript pre-diagnostics for all configurations. This helps to catch and report any TypeScript errors that might have been introduced during the changes.
224
+
- **Watch Method**: The `watch` method is used to set up a watcher for a specific package. It triggers a build process whenever a change is detected in the package. The build process is debounced to avoid triggering multiple builds for rapid successive changes.
225
+
- **Debounce Function**: The `debounce` function ensures that the build process is not triggered more than once within a specified delay.
<br/> Thedebouncefunction works by delaying the execution of the build process until a certain amount of time has passed without any new changes being detected. This ensures that if multiple changes are made in quick succession, the build process will only be triggered once, after the last change.
- **Change Detection**: Whenever a file in a package changes, the watcher triggers the build process for that package. The build process is triggered after a delay to ensure that multiple rapid changes do not trigger multiple builds.
216
-
- **Post-Build**: After each build process, it performs TypeScript pre-diagnostics for all configurations. This helps to catch and report any TypeScript errors that might have been introduced during the changes.
217
-
- **TypeScript Pre-Diagnostics**: After each build process, it performs TypeScript pre-diagnostics for all configurations. This helps to catch and report any TypeScript errors that might have been introduced during the changes.
218
-
- **Watch Method**: The `watch` method is used to set up a watcher for a specific package. It triggers a build process whenever a change is detected in the package. The build process is debounced to avoid triggering multiple builds for rapid successive changes.
219
-
- **Debounce Function**: The `debounce` function ensures that the build process is not triggered more than once within a specified delay. This is useful to avoid triggering multiple builds for rapid successive changes. The debounce function works by delaying the execution of the build process until a certain amount of time has passed without any new changes being detected. This ensures that if multiple changes are made in quick succession, the build process will only be triggered once, after the last change.
220
-
<br /><br />
221
-
222
230
223
231
### PublishingPackages
224
232
@@ -266,9 +274,20 @@ The tool handles interactions with npm registries, creating a local npm registry
0 commit comments