@stackvibe-studio/cli 0.1.0 → 0.2.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 ADDED
@@ -0,0 +1,33 @@
1
+ # @stackvibe-studio/cli
2
+
3
+ CLI for scaffolding and installing StackVibe packages into React apps.
4
+
5
+ ## Highlights
6
+
7
+ - Initialize a project with StackVibe UI dependencies
8
+ - Add individual components by name
9
+ - Keeps project setup quick for design-system adoption
10
+ - Updated in v0.2.0 with more package coverage and component commands
11
+
12
+ ## Install
13
+
14
+ ```bash
15
+ npm install -g @stackvibe-studio/cli
16
+ ```
17
+
18
+ ## Commands
19
+
20
+ ```bash
21
+ stackvibe init
22
+ stackvibe add button
23
+ stackvibe add tabs
24
+ stackvibe add spotlight-card
25
+ stackvibe add orb-cluster
26
+ ```
27
+
28
+ ## Usage
29
+
30
+ ```bash
31
+ npx @stackvibe-studio/cli init
32
+ npx @stackvibe-studio/cli add button
33
+ ```
package/dist/index.cjs CHANGED
@@ -19,8 +19,12 @@ Usage:
19
19
 
20
20
  Available components:
21
21
  button
22
+ tabs
23
+ skeleton
22
24
  spotlight-card
25
+ fade-in-section
23
26
  glass-3d-card
27
+ orb-cluster
24
28
  `);
25
29
  }
26
30
  function ensurePackageJson() {
@@ -39,8 +43,12 @@ function addComponent(component) {
39
43
  const pkg = ensurePackageJson();
40
44
  const packageMap = {
41
45
  button: "@stackvibe-studio/ui",
46
+ tabs: "@stackvibe-studio/ui",
47
+ skeleton: "@stackvibe-studio/ui",
42
48
  "spotlight-card": "@stackvibe-studio/motion",
43
- "glass-3d-card": "@stackvibe-studio/three"
49
+ "fade-in-section": "@stackvibe-studio/motion",
50
+ "glass-3d-card": "@stackvibe-studio/three",
51
+ "orb-cluster": "@stackvibe-studio/three"
44
52
  };
45
53
  const selected = packageMap[component];
46
54
  if (!selected) {
package/dist/index.js CHANGED
@@ -17,8 +17,12 @@ Usage:
17
17
 
18
18
  Available components:
19
19
  button
20
+ tabs
21
+ skeleton
20
22
  spotlight-card
23
+ fade-in-section
21
24
  glass-3d-card
25
+ orb-cluster
22
26
  `);
23
27
  }
24
28
  function ensurePackageJson() {
@@ -37,8 +41,12 @@ function addComponent(component) {
37
41
  const pkg = ensurePackageJson();
38
42
  const packageMap = {
39
43
  button: "@stackvibe-studio/ui",
44
+ tabs: "@stackvibe-studio/ui",
45
+ skeleton: "@stackvibe-studio/ui",
40
46
  "spotlight-card": "@stackvibe-studio/motion",
41
- "glass-3d-card": "@stackvibe-studio/three"
47
+ "fade-in-section": "@stackvibe-studio/motion",
48
+ "glass-3d-card": "@stackvibe-studio/three",
49
+ "orb-cluster": "@stackvibe-studio/three"
42
50
  };
43
51
  const selected = packageMap[component];
44
52
  if (!selected) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackvibe-studio/cli",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "CLI for installing and scaffolding StackVibe UI packages.",
6
6
  "repository": {