regpick 0.2.3 → 0.2.4

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 (47) hide show
  1. package/README.md +10 -2
  2. package/dist/index.mjs +1297 -0
  3. package/package.json +14 -1
  4. package/.github/workflows/release.yml +0 -51
  5. package/.release-it.json +0 -22
  6. package/CHANGELOG.md +0 -12
  7. package/docs/mvp-decisions.md +0 -77
  8. package/examples/README.md +0 -26
  9. package/examples/complex-ui-registry/registry.json +0 -35
  10. package/examples/simple-utils-registry/registry.json +0 -28
  11. package/src/commands/add.ts +0 -261
  12. package/src/commands/init.ts +0 -89
  13. package/src/commands/list.ts +0 -54
  14. package/src/commands/pack.ts +0 -97
  15. package/src/commands/update.ts +0 -139
  16. package/src/core/__tests__/result-errors.test.ts +0 -19
  17. package/src/core/errors.ts +0 -36
  18. package/src/core/result.ts +0 -19
  19. package/src/domain/__tests__/addPlan.test.ts +0 -64
  20. package/src/domain/__tests__/initCore.test.ts +0 -28
  21. package/src/domain/__tests__/listCore.test.ts +0 -29
  22. package/src/domain/__tests__/pathPolicy.test.ts +0 -64
  23. package/src/domain/__tests__/registryModel.test.ts +0 -32
  24. package/src/domain/__tests__/selection.test.ts +0 -58
  25. package/src/domain/addPlan.ts +0 -51
  26. package/src/domain/aliasCore.ts +0 -13
  27. package/src/domain/initCore.ts +0 -15
  28. package/src/domain/listCore.ts +0 -34
  29. package/src/domain/packCore.ts +0 -44
  30. package/src/domain/pathPolicy.ts +0 -61
  31. package/src/domain/registryModel.ts +0 -100
  32. package/src/domain/selection.ts +0 -47
  33. package/src/index.ts +0 -117
  34. package/src/shell/cli/args.ts +0 -37
  35. package/src/shell/config.ts +0 -105
  36. package/src/shell/installer.ts +0 -70
  37. package/src/shell/lockfile.ts +0 -35
  38. package/src/shell/packageManagers/__tests__/resolver.test.ts +0 -61
  39. package/src/shell/packageManagers/__tests__/strategy.test.ts +0 -40
  40. package/src/shell/packageManagers/resolver.ts +0 -27
  41. package/src/shell/packageManagers/strategy.ts +0 -65
  42. package/src/shell/registry.ts +0 -182
  43. package/src/shell/runtime/ports.ts +0 -200
  44. package/src/types.ts +0 -92
  45. package/test-clack.ts +0 -2
  46. package/tsconfig.json +0 -15
  47. package/tsdown.config.ts +0 -8
package/README.md CHANGED
@@ -10,13 +10,21 @@ Lightweight CLI for selecting and installing registry entries from shadcn-compat
10
10
 
11
11
  ## Quick start
12
12
 
13
+ The easiest way to use `regpick` is via `npx`. You don't need to install it globally.
14
+
15
+ ```bash
16
+ npx regpick init
17
+ npx regpick list tebra
18
+ npx regpick add tebra
19
+ ```
20
+
21
+ ## Local development
22
+
13
23
  ```bash
14
24
  cd /path/to/project
15
25
  cd /path/to/packages/regpick
16
26
  npm run build
17
27
  node ./dist/index.mjs init
18
- node ./dist/index.mjs list tebra
19
- node ./dist/index.mjs add tebra
20
28
  ```
21
29
 
22
30
  ## Config (`regpick.json`)