zerozeeker 2.3.1 → 2.3.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.
Files changed (3) hide show
  1. package/README.md +37 -0
  2. package/dist/index.js +11 -2
  3. package/package.json +6 -2
package/README.md CHANGED
@@ -176,6 +176,43 @@ Then install using the exact name shown.
176
176
 
177
177
  ---
178
178
 
179
+ ## Maintainer Commands
180
+
181
+ These commands are for the ZeroZeeker team to manage releases from inside the `cli/` directory.
182
+
183
+ ### Bump Version
184
+
185
+ ```bash
186
+ npm run version:patch # e.g. 2.3.1 → 2.3.2 (bug fixes)
187
+ npm run version:minor # e.g. 2.3.1 → 2.4.0 (new components / features)
188
+ npm run version:major # e.g. 2.3.1 → 3.0.0 (breaking changes)
189
+ ```
190
+
191
+ These update `package.json` only — no git tag is created.
192
+
193
+ ### Publish to npm
194
+
195
+ ```bash
196
+ npm run release
197
+ ```
198
+
199
+ This automatically runs the build step (`prepublishOnly`) before publishing with public access.
200
+
201
+ ### Typical Release Flow
202
+
203
+ ```bash
204
+ # 1. Add new components / make changes in index.ts
205
+ # 2. Bump the version
206
+ npm run version:patch
207
+
208
+ # 3. Publish
209
+ npm run release
210
+ ```
211
+
212
+ The `VERSION` shown by `npx zerozeeker --version` is read directly from `package.json` at runtime — no manual sync needed.
213
+
214
+ ---
215
+
179
216
  ## About ZeroZeeker
180
217
 
181
218
  ZeroZeeker is a modern design system for developers who value:
package/dist/index.js CHANGED
@@ -3,10 +3,12 @@
3
3
  // index.ts
4
4
  import { Command } from "commander";
5
5
  import { execSync } from "child_process";
6
+ import { createRequire } from "module";
6
7
  import ora from "ora";
7
8
  import chalk from "chalk";
9
+ var _require = createRequire(import.meta.url);
10
+ var { version: VERSION } = _require("./package.json");
8
11
  var REGISTRY_URL = "https://www.zerozeeker.com/r";
9
- var VERSION = "2.3.1";
10
12
  var REGISTRY = [
11
13
  // Buttons
12
14
  { name: "rainbow-button", category: "Buttons", desc: "Animated rainbow gradient border" },
@@ -33,7 +35,14 @@ var REGISTRY = [
33
35
  { name: "split-alert-dialog", category: "Alert Dialogs", desc: "Two-column colored left panel + white right content" },
34
36
  { name: "slide-alert-dialog", category: "Alert Dialogs", desc: "Bottom-sheet slide-up with full-width confirm button" },
35
37
  { name: "gradient-alert-dialog", category: "Alert Dialogs", desc: "Rich gradient hero section with white action bar below" },
36
- { name: "float-alert-dialog", category: "Alert Dialogs", desc: "Icon badge floats above the dialog card overlapping its top edge" }
38
+ { name: "float-alert-dialog", category: "Alert Dialogs", desc: "Icon badge floats above the dialog card overlapping its top edge" },
39
+ // Alerts
40
+ { name: "stripe-alert", category: "Alerts", desc: "Bold left accent stripe with soft tinted background, 5 colors" },
41
+ { name: "glow-alert", category: "Alerts", desc: "Glowing ring border and ambient shadow, 5 colors" },
42
+ { name: "badge-alert", category: "Alerts", desc: "Floating pill badge overlapping the top-left corner of the card" },
43
+ { name: "split-alert", category: "Alerts", desc: "Solid colored left icon panel + white content body" },
44
+ { name: "terminal-alert", category: "Alerts", desc: "Dark terminal/console style with monospace font and log level label" },
45
+ { name: "fill-alert", category: "Alerts", desc: "Bold solid color fill \u2014 entire background is the accent color" }
37
46
  ];
38
47
  var COMPONENT_NAMES = REGISTRY.map((c) => c.name);
39
48
  function printHeader() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zerozeeker",
3
- "version": "2.3.1",
3
+ "version": "2.3.3",
4
4
  "description": "CLI for installing ZeroZeeker UI components",
5
5
  "type": "module",
6
6
  "bin": {
@@ -13,7 +13,11 @@
13
13
  "scripts": {
14
14
  "build": "tsup index.ts --format esm --dts --clean",
15
15
  "dev": "tsup index.ts --format esm --watch",
16
- "prepublishOnly": "npm run build"
16
+ "prepublishOnly": "npm run build",
17
+ "version:patch": "npm version patch --no-git-tag-version",
18
+ "version:minor": "npm version minor --no-git-tag-version",
19
+ "version:major": "npm version major --no-git-tag-version",
20
+ "release": "npm publish --access public"
17
21
  },
18
22
  "keywords": [
19
23
  "shadcn",