smart-registry 0.7.2 → 0.7.3
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 +11 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,9 +5,11 @@
|
|
|
5
5
|
[](https://www.npmjs.com/package/smart-registry)
|
|
6
6
|
[](https://github.com/nrjdalal/smart-registry)
|
|
7
7
|
|
|
8
|
-
A zero-configuration (no registry.json required), [shadcn add](https://ui.shadcn.com/docs/cli#add) / [open in v0](https://ui.shadcn.com/docs/registry/open-in-v0) compatible registry builder.
|
|
8
|
+
A `zero-configuration` (no registry.json required), [shadcn add](https://ui.shadcn.com/docs/cli#add) / [open in v0](https://ui.shadcn.com/docs/registry/open-in-v0) compatible registry builder. With amazing visual feedback like how many dependencies, files are being added to a component and much more.
|
|
9
9
|
|
|
10
|
-
> The best configuration is no configuration. Focus on developing building blocks, components, and
|
|
10
|
+
> The best configuration is no configuration. Focus on developing building blocks, components, pages and much more rather than spending time configuring the registry.
|
|
11
|
+
|
|
12
|
+

|
|
11
13
|
|
|
12
14
|
## What is Zero-Configuration?
|
|
13
15
|
|
|
@@ -36,6 +38,12 @@ Simplify your `registry.json` by removing properties like `registryDependencies`
|
|
|
36
38
|
}
|
|
37
39
|
```
|
|
38
40
|
|
|
41
|
+
Or delete the `registry.json` file entirely. No changes will be made to the generated `public/r/dialog.json` file. Smart right?
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
rm registry.json
|
|
45
|
+
```
|
|
46
|
+
|
|
39
47
|
<details><summary>Generated public/r/dialog.json</summary><br/>
|
|
40
48
|
|
|
41
49
|
```json
|
|
@@ -101,7 +109,7 @@ If your project contains a `registry`, `components`, or `src/components` directo
|
|
|
101
109
|
npx smart-registry
|
|
102
110
|
```
|
|
103
111
|
|
|
104
|
-
!
|
|
112
|
+
Yeah, that's it! You don't need to do anything else. `Smart Registry` has the word `smart` in it for a reason.
|
|
105
113
|
|
|
106
114
|
### Advanced Usage
|
|
107
115
|
|