@ratiu5/solidui-cli 0.7.2

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.
Files changed (2) hide show
  1. package/README.md +43 -0
  2. package/package.json +63 -0
package/README.md ADDED
@@ -0,0 +1,43 @@
1
+ # solid-ui
2
+
3
+ A CLI for adding components to your project.
4
+
5
+ ## Usage
6
+
7
+ Use the `init` command to initialize dependencies for a new project.
8
+
9
+ The `init` command installs dependencies, adds the `cn` util, configures `tailwind.config.cjs`, and sets up CSS variables for the project.
10
+
11
+ ```bash
12
+ npx solidui-cli@latest init
13
+ ```
14
+
15
+ ## add
16
+
17
+ Use the `add` command to add components to your project.
18
+
19
+ The `add` command adds a component to your project and installs all required dependencies.
20
+
21
+ ```bash
22
+ npx solidui-cli@latest add [component]
23
+ ```
24
+
25
+ ### Example
26
+
27
+ ```bash
28
+ npx solidui-cli@latest add alert-dialog
29
+ ```
30
+
31
+ You can also run the command without any arguments to view a list of all available components:
32
+
33
+ ```bash
34
+ npx solidui-cli@latest add
35
+ ```
36
+
37
+ ## Documentation
38
+
39
+ Visit https://solid-ui.com to view the documentation.
40
+
41
+ ## License
42
+
43
+ Licensed under the [MIT license](https://github.com/stefan-karger/solid-ui/blob/main/LICENSE).
package/package.json ADDED
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "@ratiu5/solidui-cli",
3
+ "version": "0.7.2",
4
+ "description": "Add Solid UI Components to your application using the Solid-UI CLI tool",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "license": "MIT",
9
+ "author": {
10
+ "name": "Stefan E-K & Michael Essiet",
11
+ "url": "https://twitter.com/stefan_e_k"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/stefan-karger/solid-ui.git",
16
+ "directory": "packages/cli"
17
+ },
18
+ "bugs": {
19
+ "url": "https://github.com/stefan-karger/solid-ui/issues"
20
+ },
21
+ "type": "module",
22
+ "files": [
23
+ "dist"
24
+ ],
25
+ "exports": "./dist/index.js",
26
+ "bin": "./dist/index.js",
27
+ "keywords": [
28
+ "components",
29
+ "ui",
30
+ "tailwind",
31
+ "kobalte",
32
+ "corvu",
33
+ "solid",
34
+ "solidjs",
35
+ "shadcn",
36
+ "tremor"
37
+ ],
38
+ "scripts": {
39
+ "build": "tsup",
40
+ "release": "changeset version",
41
+ "pub:beta": "pnpm build && pnpm publish --no-git-checks --access public --tag beta",
42
+ "pub:release": "pnpm build && pnpm publish --access public"
43
+ },
44
+ "dependencies": {
45
+ "@antfu/ni": "^0.23.0",
46
+ "@babel/core": "^7.25.2",
47
+ "@babel/parser": "^7.25.6",
48
+ "@babel/plugin-transform-typescript": "^7.25.2",
49
+ "@clack/prompts": "^0.10.0",
50
+ "chalk": "^5.4.1",
51
+ "commander": "^12.1.0",
52
+ "execa": "^9.4.0",
53
+ "recast": "^0.23.9",
54
+ "ts-morph": "^20.0.0",
55
+ "tsconfig-paths": "^4.2.0"
56
+ },
57
+ "devDependencies": {
58
+ "@types/babel__core": "^7.20.5",
59
+ "@types/node": "^20.14.12",
60
+ "tsup": "^8.3.0",
61
+ "typescript": "^5.6.2"
62
+ }
63
+ }