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.
- package/README.md +10 -2
- package/dist/index.mjs +1297 -0
- package/package.json +14 -1
- package/.github/workflows/release.yml +0 -51
- package/.release-it.json +0 -22
- package/CHANGELOG.md +0 -12
- package/docs/mvp-decisions.md +0 -77
- package/examples/README.md +0 -26
- package/examples/complex-ui-registry/registry.json +0 -35
- package/examples/simple-utils-registry/registry.json +0 -28
- package/src/commands/add.ts +0 -261
- package/src/commands/init.ts +0 -89
- package/src/commands/list.ts +0 -54
- package/src/commands/pack.ts +0 -97
- package/src/commands/update.ts +0 -139
- package/src/core/__tests__/result-errors.test.ts +0 -19
- package/src/core/errors.ts +0 -36
- package/src/core/result.ts +0 -19
- package/src/domain/__tests__/addPlan.test.ts +0 -64
- package/src/domain/__tests__/initCore.test.ts +0 -28
- package/src/domain/__tests__/listCore.test.ts +0 -29
- package/src/domain/__tests__/pathPolicy.test.ts +0 -64
- package/src/domain/__tests__/registryModel.test.ts +0 -32
- package/src/domain/__tests__/selection.test.ts +0 -58
- package/src/domain/addPlan.ts +0 -51
- package/src/domain/aliasCore.ts +0 -13
- package/src/domain/initCore.ts +0 -15
- package/src/domain/listCore.ts +0 -34
- package/src/domain/packCore.ts +0 -44
- package/src/domain/pathPolicy.ts +0 -61
- package/src/domain/registryModel.ts +0 -100
- package/src/domain/selection.ts +0 -47
- package/src/index.ts +0 -117
- package/src/shell/cli/args.ts +0 -37
- package/src/shell/config.ts +0 -105
- package/src/shell/installer.ts +0 -70
- package/src/shell/lockfile.ts +0 -35
- package/src/shell/packageManagers/__tests__/resolver.test.ts +0 -61
- package/src/shell/packageManagers/__tests__/strategy.test.ts +0 -40
- package/src/shell/packageManagers/resolver.ts +0 -27
- package/src/shell/packageManagers/strategy.ts +0 -65
- package/src/shell/registry.ts +0 -182
- package/src/shell/runtime/ports.ts +0 -200
- package/src/types.ts +0 -92
- package/test-clack.ts +0 -2
- package/tsconfig.json +0 -15
- 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`)
|