wensity 0.1.7 → 0.1.9

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 (4) hide show
  1. package/README.md +5 -4
  2. package/dist/index.js +1626 -167
  3. package/package.json +10 -10
  4. package/LICENSE +0 -21
package/README.md CHANGED
@@ -7,8 +7,9 @@ Install open-code components and UI primitives from the Wensity registry into yo
7
7
  npx wensity@latest init
8
8
 
9
9
  # Or apply a shareable preset from https://ui.wensity.com/docs/primitives/setup
10
- # Preset support requires wensity 0.1.6 or later (pin — @latest may be older)
11
- npx wensity@0.1.6 init --preset <wsty1-code>
10
+ # Preset template support requires wensity 0.1.9 or later
11
+ npx wensity@latest init --preset <wsty1-code>
12
+ npx wensity@latest init --preset <wsty1-code> --template next
12
13
 
13
14
  # Install a primitive or component
14
15
  npx wensity@latest add button
@@ -31,14 +32,14 @@ Plain `init` (no `--preset`) refuses to overwrite an existing `wensity.json` unl
31
32
 
32
33
  | Command | Purpose |
33
34
  |---|---|
34
- | `wensity init [--preset <code>]` | Create / merge project config |
35
+ | `wensity init [--preset <code>] [--template next\|vite\|astro\|react-router]` | Create / merge project config |
35
36
  | `wensity login` | Save a dashboard API token for Pro |
36
37
  | `wensity logout` | Clear credentials |
37
38
  | `wensity whoami` | Show current user / plan |
38
39
  | `wensity list` | List registry entries |
39
40
  | `wensity add <slug>` | Install source (skips existing files) |
40
41
  | `wensity update <slug>` | Re-download and overwrite local source |
41
- | `wensity version` | Print `0.1.6` |
42
+ | `wensity version` | Print `0.1.9` |
42
43
 
43
44
  Premium components and blocks require an API token from the Wensity dashboard. Tokens are stored at `~/.config/wensity/credentials.json` with `0600` permissions.
44
45