@cloudwick/astral-ui-cli 0.1.0 → 0.1.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 +10 -10
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Astral CLI
|
|
1
|
+
# Astral UI CLI
|
|
2
2
|
|
|
3
3
|
A command-line tool for installing and managing Astral UI components in any codebase.
|
|
4
4
|
|
|
@@ -52,7 +52,7 @@ For the best experience, follow these steps in order:
|
|
|
52
52
|
Initialize a project with Astral Core configuration.
|
|
53
53
|
|
|
54
54
|
```bash
|
|
55
|
-
astral init
|
|
55
|
+
astral-ui init
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
This command will:
|
|
@@ -77,7 +77,7 @@ This command will:
|
|
|
77
77
|
Display instructions for setting up path aliases in your project.
|
|
78
78
|
|
|
79
79
|
```bash
|
|
80
|
-
astral setup-aliases
|
|
80
|
+
astral-ui setup-aliases
|
|
81
81
|
```
|
|
82
82
|
|
|
83
83
|
This command will:
|
|
@@ -97,10 +97,10 @@ This command will:
|
|
|
97
97
|
|
|
98
98
|
```bash
|
|
99
99
|
# Generate instructions for current directory
|
|
100
|
-
astral setup-aliases
|
|
100
|
+
astral-ui setup-aliases
|
|
101
101
|
|
|
102
102
|
# Generate instructions for a specific project
|
|
103
|
-
astral setup-aliases --cwd ./my-project
|
|
103
|
+
astral-ui setup-aliases --cwd ./my-project
|
|
104
104
|
```
|
|
105
105
|
|
|
106
106
|
### `add`
|
|
@@ -108,7 +108,7 @@ astral setup-aliases --cwd ./my-project
|
|
|
108
108
|
Add components to your project.
|
|
109
109
|
|
|
110
110
|
```bash
|
|
111
|
-
astral add [component...]
|
|
111
|
+
astral-ui add [component...]
|
|
112
112
|
```
|
|
113
113
|
|
|
114
114
|
#### Options
|
|
@@ -126,13 +126,13 @@ astral add [component...]
|
|
|
126
126
|
|
|
127
127
|
```bash
|
|
128
128
|
# Add specific components
|
|
129
|
-
astral add button card select
|
|
129
|
+
astral-ui add button card select
|
|
130
130
|
|
|
131
131
|
# Add all components
|
|
132
|
-
astral add --all
|
|
132
|
+
astral-ui add --all
|
|
133
133
|
|
|
134
134
|
# Add a component to a specific directory
|
|
135
|
-
astral add button --path ./components/custom
|
|
135
|
+
astral-ui add button --path ./components/custom
|
|
136
136
|
```
|
|
137
137
|
|
|
138
138
|
### `repair-tailwind`
|
|
@@ -140,7 +140,7 @@ astral add button --path ./components/custom
|
|
|
140
140
|
Repair Tailwind configuration when setup fails - only use if experiencing issues with Tailwind.
|
|
141
141
|
|
|
142
142
|
```bash
|
|
143
|
-
astral repair-tailwind
|
|
143
|
+
astral-ui repair-tailwind
|
|
144
144
|
```
|
|
145
145
|
|
|
146
146
|
This command will:
|
package/dist/index.js
CHANGED
|
@@ -3017,7 +3017,7 @@ async function installComponent({
|
|
|
3017
3017
|
console.warn(`
|
|
3018
3018
|
\u26A0\uFE0F Tailwind CSS may not be properly configured for components.
|
|
3019
3019
|
The installed components may not display correctly.
|
|
3020
|
-
Please run 'astral init' again or check the STYLING.md file.
|
|
3020
|
+
Please run 'astral-ui init' again or check the STYLING.md file.
|
|
3021
3021
|
`);
|
|
3022
3022
|
}
|
|
3023
3023
|
const componentsDir = resolveComponentsDir(cwd, config, componentPath);
|
|
@@ -3768,7 +3768,7 @@ import { cn } from '@utils';
|
|
|
3768
3768
|
var import_gradient_string = __toESM(require("gradient-string"));
|
|
3769
3769
|
var packageInfo = {
|
|
3770
3770
|
name: "@cloudwick/astral-ui-cli",
|
|
3771
|
-
version: "0.1.
|
|
3771
|
+
version: "0.1.1"
|
|
3772
3772
|
};
|
|
3773
3773
|
var program = new import_commander5.Command().name(packageInfo.name).description("CLI for installing Astral UI components in any codebase").version(
|
|
3774
3774
|
packageInfo.version,
|