ui8kit 1.3.8 → 1.4.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 -0
- package/dist/index.js +367 -65
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,13 +38,16 @@ Options:
|
|
|
38
38
|
- `--registry-url <url>` Override registry CDN base URL
|
|
39
39
|
- `--registry-version <version>` Replace `@latest` in default URLs with a pinned version
|
|
40
40
|
- `--strict-cdn` Disable fallback CDN providers when an explicit URL is set
|
|
41
|
+
- `--import-style <alias|package>` Choose installed component import style (`alias` or package barrel `@ui8kit/core`; default: `alias`)
|
|
41
42
|
|
|
42
43
|
When running without `--yes`, `init` now asks for:
|
|
43
44
|
|
|
44
45
|
- Global CSS file path (default: `src/index.css`)
|
|
45
46
|
- Import alias for components (default: `@/components`)
|
|
47
|
+
- Import style for installed components (`alias` or `package`)
|
|
46
48
|
|
|
47
49
|
`typescript` is always set to `true` and `framework` is fixed to `vite-react`.
|
|
50
|
+
`init` now writes configuration and core utilities/variants. Empty category folders are created during bulk install (`add --all`).
|
|
48
51
|
|
|
49
52
|
### `add`
|
|
50
53
|
|
|
@@ -75,6 +78,13 @@ Options:
|
|
|
75
78
|
- `-f, --force` Overwrite existing files
|
|
76
79
|
- `-r, --registry <type>` Registry type (default: `ui`)
|
|
77
80
|
- `--dry-run` Show planned actions without writing files
|
|
81
|
+
- `--all` also creates base install directories before fetching and writing components:
|
|
82
|
+
- `src/lib`
|
|
83
|
+
- `src/components`
|
|
84
|
+
- `src/components/ui`
|
|
85
|
+
- `src/blocks`
|
|
86
|
+
- `src/layouts`
|
|
87
|
+
- `src/variants`
|
|
78
88
|
- `--retry` Enable retry logic for unstable connections
|
|
79
89
|
- `--no-cache` (root option) bypasses cache for this run.
|
|
80
90
|
- `--registry-url <url>` Override registry CDN base URL
|