comp-hub 0.44.11 → 0.44.12
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 +8 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -38,7 +38,13 @@ comphub
|
|
|
38
38
|
|
|
39
39
|
Once started, open the URL shown in the terminal (default `http://localhost:5478`).
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
**Without installing** — npx fetches the CLI on demand:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
npx comp-hub
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
> The CLI is published with three binary names — `comphub`, `ch` and `comp-hub` — all identical. Every command below works with any of them, e.g. `ch status`, `comp-hub -p 8080`.
|
|
42
48
|
|
|
43
49
|
### CLI Options
|
|
44
50
|
|
|
@@ -127,7 +133,7 @@ module.exports = {
|
|
|
127
133
|
- Upload components as **folders** — folder name is the component name
|
|
128
134
|
- Entry point: `index.vue` (Vue) or `index.jsx`/`index.tsx` (React)
|
|
129
135
|
- Include a `README.md` describing usage
|
|
130
|
-
-
|
|
136
|
+
- `comp.json` is generated by the platform and holds only `__id__`, `name` and `version` — dependencies are detected from your source `import` statements, not declared here
|
|
131
137
|
- Optional `demo/` directory for preview configs
|
|
132
138
|
|
|
133
139
|
## Links
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "comp-hub",
|
|
3
|
-
"version": "0.44.
|
|
3
|
+
"version": "0.44.12",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"bin": {
|
|
6
6
|
"comphub": "dist/cli.js",
|
|
7
|
-
"ch": "dist/cli.js"
|
|
7
|
+
"ch": "dist/cli.js",
|
|
8
|
+
"comp-hub": "dist/cli.js"
|
|
8
9
|
},
|
|
9
10
|
"scripts": {
|
|
10
11
|
"build": "node scripts/build.js && node scripts/build-cli.js",
|