get-shit-pretty 0.8.2 → 0.8.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 CHANGED
@@ -12,7 +12,9 @@
12
12
  <br>
13
13
 
14
14
  ```bash
15
- npx get-shit-pretty
15
+ pnpm dlx get-shit-pretty
16
+ # or with bun
17
+ bunx get-shit-pretty
16
18
  ```
17
19
 
18
20
  **Works on Mac, Windows, and Linux.**
@@ -50,8 +52,9 @@ Both disciplines. Same pipeline. Same environment. The missing half of the bridg
50
52
  ## Quick Start
51
53
 
52
54
  ```bash
53
- # 1. Install
54
- npx get-shit-pretty
55
+ # 1. Install (pnpm or bun)
56
+ pnpm dlx get-shit-pretty
57
+ # bunx get-shit-pretty
55
58
 
56
59
  # 2. Define your brand — or skip with a style preset
57
60
  /gsp-brand-brief # guided brand definition
@@ -418,7 +421,9 @@ GSP works across all major AI coding tools. The installer converts Claude Code's
418
421
  ## Install
419
422
 
420
423
  ```bash
421
- npx get-shit-pretty
424
+ pnpm dlx get-shit-pretty
425
+ # or with bun
426
+ bunx get-shit-pretty
422
427
  ```
423
428
 
424
429
  The installer prompts you to choose:
@@ -430,32 +435,34 @@ The installer prompts you to choose:
430
435
 
431
436
  ```bash
432
437
  # Claude Code
433
- npx get-shit-pretty --claude --global
434
- npx get-shit-pretty --claude --local
438
+ pnpm dlx get-shit-pretty --claude --global
439
+ pnpm dlx get-shit-pretty --claude --local
435
440
 
436
441
  # OpenCode
437
- npx get-shit-pretty --opencode --global
442
+ pnpm dlx get-shit-pretty --opencode --global
438
443
 
439
444
  # Gemini CLI
440
- npx get-shit-pretty --gemini --global
445
+ pnpm dlx get-shit-pretty --gemini --global
441
446
 
442
447
  # Codex CLI
443
- npx get-shit-pretty --codex --global
448
+ pnpm dlx get-shit-pretty --codex --global
444
449
 
445
450
  # All runtimes
446
- npx get-shit-pretty --all --global
451
+ pnpm dlx get-shit-pretty --all --global
447
452
  ```
448
453
 
454
+ > Substitute `bunx` for `pnpm dlx` if you prefer bun.
455
+
449
456
  </details>
450
457
 
451
458
  <details>
452
459
  <summary><strong>Uninstall</strong></summary>
453
460
 
454
461
  ```bash
455
- npx get-shit-pretty --claude --global --uninstall
456
- npx get-shit-pretty --opencode --global --uninstall
457
- npx get-shit-pretty --gemini --global --uninstall
458
- npx get-shit-pretty --codex --global --uninstall
462
+ pnpm dlx get-shit-pretty --claude --global --uninstall
463
+ pnpm dlx get-shit-pretty --opencode --global --uninstall
464
+ pnpm dlx get-shit-pretty --gemini --global --uninstall
465
+ pnpm dlx get-shit-pretty --codex --global --uninstall
459
466
  ```
460
467
 
461
468
  </details>
package/bin/install.js CHANGED
@@ -204,7 +204,7 @@ console.log(banner);
204
204
 
205
205
  // Help
206
206
  if (hasHelp) {
207
- console.log(` ${yellow}Usage:${reset} npx get-shit-pretty [options]\n
207
+ console.log(` ${yellow}Usage:${reset} pnpm dlx get-shit-pretty [options] ${dim}# or: bunx get-shit-pretty [options]${reset}\n
208
208
  ${yellow}Options:${reset}
209
209
  ${cyan}-g, --global${reset} Install globally (to config directory)
210
210
  ${cyan}-l, --local${reset} Install locally (to current directory)
@@ -221,19 +221,19 @@ if (hasHelp) {
221
221
 
222
222
  ${yellow}Examples:${reset}
223
223
  ${dim}# Interactive install (prompts for runtime and location)${reset}
224
- npx get-shit-pretty
224
+ pnpm dlx get-shit-pretty
225
225
 
226
226
  ${dim}# Install for Claude Code globally${reset}
227
- npx get-shit-pretty --claude --global
227
+ pnpm dlx get-shit-pretty --claude --global
228
228
 
229
229
  ${dim}# Install for all runtimes globally${reset}
230
- npx get-shit-pretty --all --global
230
+ pnpm dlx get-shit-pretty --all --global
231
231
 
232
232
  ${dim}# Install to current project only${reset}
233
- npx get-shit-pretty --claude --local
233
+ pnpm dlx get-shit-pretty --claude --local
234
234
 
235
235
  ${dim}# Uninstall GSP from Claude Code globally${reset}
236
- npx get-shit-pretty --claude --global --uninstall
236
+ pnpm dlx get-shit-pretty --claude --global --uninstall
237
237
  `);
238
238
  process.exit(0);
239
239
  }
@@ -1817,8 +1817,8 @@ function promptRuntime(callback) {
1817
1817
 
1818
1818
  function promptLocation(runtimes) {
1819
1819
  if (!process.stdin.isTTY) {
1820
- console.log(` ${yellow}Non-interactive terminal detected, defaulting to global install${reset}\n`);
1821
- installAllRuntimes(runtimes, true, false);
1820
+ console.log(` ${yellow}Non-interactive terminal detected, defaulting to local (project) install${reset}\n`);
1821
+ installAllRuntimes(runtimes, false, false);
1822
1822
  return;
1823
1823
  }
1824
1824
 
@@ -1898,8 +1898,8 @@ if (require.main === module) {
1898
1898
  installAllRuntimes(['claude'], hasGlobal, false);
1899
1899
  } else {
1900
1900
  if (!process.stdin.isTTY) {
1901
- console.log(` ${yellow}Non-interactive terminal detected, defaulting to Claude Code global install${reset}\n`);
1902
- installAllRuntimes(['claude'], true, false);
1901
+ console.log(` ${yellow}Non-interactive terminal detected, defaulting to Claude Code local (project) install${reset}\n`);
1902
+ installAllRuntimes(['claude'], false, false);
1903
1903
  } else {
1904
1904
  promptRuntime((runtimes) => {
1905
1905
  promptLocation(runtimes);
@@ -11,7 +11,9 @@ Design engineering system for AI coding tools. Brand identity + design projects,
11
11
  ## Install
12
12
 
13
13
  ```bash
14
- npx get-shit-pretty
14
+ pnpm dlx get-shit-pretty
15
+ # or with bun
16
+ bunx get-shit-pretty
15
17
  ```
16
18
 
17
19
  Pick your runtime (Claude Code, OpenCode, Gemini CLI, or Codex CLI), choose global or local install, and you're set.
@@ -245,12 +245,12 @@ Glob for all SKILL.md files in the skills directory (`{runtime-dir}/skills/*/SKI
245
245
  **Check I2: Skill directories are complete (not just SKILL.md)**
246
246
  For each gsp-* skill directory, check if `SKILL.md` references sibling files via `${CLAUDE_SKILL_DIR}/` paths (e.g. `styles/INDEX.yml`). If it does, verify those files/dirs exist in the installed skill directory.
247
247
  - All referenced siblings present → PASS
248
- - Missing siblings → FAIL: "Skill {name} references {path} but it's missing. Re-run the installer: `npx get-shit-pretty`"
248
+ - Missing siblings → FAIL: "Skill {name} references {path} but it's missing. Re-run the installer: `pnpm dlx get-shit-pretty` (or `bunx get-shit-pretty`)"
249
249
 
250
250
  **Check I3: Bundle directories accessible**
251
251
  Check that the runtime bundle directories exist (`{runtime-dir}/templates/`, `{runtime-dir}/references/`). Skills reference these via `${CLAUDE_SKILL_DIR}/../../`.
252
252
  - All present → PASS
253
- - Missing → FAIL: "Bundle directory {dir} missing. Re-run the installer: `npx get-shit-pretty`"
253
+ - Missing → FAIL: "Bundle directory {dir} missing. Re-run the installer: `pnpm dlx get-shit-pretty` (or `bunx get-shit-pretty`)"
254
254
 
255
255
  **Check I4: VERSION file present**
256
256
  Check `{runtime-dir}/VERSION` exists and contains a valid semver string.
@@ -262,7 +262,7 @@ Check `{runtime-dir}/VERSION` exists and contains a valid semver string.
262
262
  Check if `~/.claude/skills/` contains `gsp-*` directories when running from a local install. These cause duplicates between global and local.
263
263
  - Run: `ls ~/.claude/skills/ | grep '^gsp-'`
264
264
  - No matches → PASS
265
- - Matches found → FAIL: "Found {N} stale GSP skills in ~/.claude/skills/. Fix: run `npx get-shit-pretty --claude --local` to reinstall (the installer cleans stale globals automatically), or manually remove: `rm -rf ~/.claude/skills/gsp-*`"
265
+ - Matches found → FAIL: "Found {N} stale GSP skills in ~/.claude/skills/. Fix: run `pnpm dlx get-shit-pretty --claude --local` (or `bunx get-shit-pretty --claude --local`) to reinstall (the installer cleans stale globals automatically), or manually remove: `rm -rf ~/.claude/skills/gsp-*`"
266
266
 
267
267
  ### Stack Compliance Checks (shadcn targets)
268
268
 
@@ -402,7 +402,7 @@ Check `base` from `npx shadcn@latest info` before writing any component code. Th
402
402
  <DialogTrigger render={<Button />}>Open</DialogTrigger>
403
403
  ```
404
404
 
405
- For full API differences with code examples, read `${CLAUDE_SKILL_DIR}/../../gsp-scaffold/shadcn-theming.md` or run `npx shadcn@latest docs <component>`.
405
+ For full API differences with code examples, read `${CLAUDE_SKILL_DIR}/shadcn-theming.md` or run `npx shadcn@latest docs <component>`.
406
406
 
407
407
  ---
408
408
 
@@ -39,7 +39,9 @@ Record which runtime(s) and install type (local/global) were found.
39
39
 
40
40
  If no VERSION file exists anywhere, tell the user GSP doesn't appear to be installed and suggest:
41
41
  ```
42
- npx get-shit-pretty
42
+ pnpm dlx get-shit-pretty
43
+ # or with bun
44
+ bunx get-shit-pretty
43
45
  ```
44
46
  Then stop.
45
47
 
@@ -103,14 +105,15 @@ Build the installer command based on what was detected in Step 1:
103
105
  **Scope flag:** `--local` if local install was detected, `--global` if global.
104
106
 
105
107
  ```bash
106
- npx get-shit-pretty@latest {runtime-flag} {scope-flag}
108
+ pnpm dlx get-shit-pretty@latest {runtime-flag} {scope-flag}
109
+ # or: bunx get-shit-pretty@latest {runtime-flag} {scope-flag}
107
110
  ```
108
111
 
109
112
  Examples:
110
- - Local Claude: `npx get-shit-pretty@latest --claude --local`
111
- - Global Claude: `npx get-shit-pretty@latest --claude --global`
112
- - Global OpenCode: `npx get-shit-pretty@latest --opencode --global`
113
- - Multiple runtimes: `npx get-shit-pretty@latest --all --global`
113
+ - Local Claude: `pnpm dlx get-shit-pretty@latest --claude --local`
114
+ - Global Claude: `pnpm dlx get-shit-pretty@latest --claude --global`
115
+ - Global OpenCode: `pnpm dlx get-shit-pretty@latest --opencode --global`
116
+ - Multiple runtimes: `pnpm dlx get-shit-pretty@latest --all --global`
114
117
 
115
118
  Show the output to the user.
116
119
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.8.2",
2
+ "version": "0.8.3",
3
3
  "project_type": "brand",
4
4
  "brand": {
5
5
  "name": "",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.8.2",
2
+ "version": "0.8.3",
3
3
  "project_type": "design",
4
4
  "project": {
5
5
  "name": "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "get-shit-pretty",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "Design engineering system for AI coding agents. Brand identity + design projects, from strategy to code.",
5
5
  "bin": {
6
6
  "get-shit-pretty": "bin/install.js"