@holistics/cli-core 0.2.9 → 0.4.1

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,2 +1,10 @@
1
- # @holistics/cli-core
2
- [Changelog](./CHANGELOG.md)
1
+ # Holistics CLI design
2
+
3
+ The Holistics CLI contains 2 parts:
4
+ - The CLI app (https://github.com/holistics/holistics-cli): an open source repo that handles the downloading/upadting/installing of the CLI app. See its Readme for more details.
5
+ - The CLI core (this repo): private repo that contains the core logic of the CLI app.
6
+
7
+ The CLI core is using our private packages (such as aml, aml-std, etc...), so to expose these logic to the CLI app:
8
+ 1. We use `bun` to build all the dependencies into a single giant `commands.js` file.
9
+ 2. Publish this file to public npm registry (https://www.npmjs.com/package/@holistics/cli-core)
10
+ 3. The CLI app **directly download and use** the `commands.js` file from the npm registry. Note that it **won't** go through the normal package installation process e.g. `npm install` because it will fail since it cannot access private packages referenced by '@holistics/cli-core'