@chris-lally/cli 0.1.0-alpha.17 → 0.1.0-alpha.27
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 +27 -170
- package/dist/bin/lally.d.ts +0 -1
- package/dist/bin/lally.js +3131 -6
- package/dist/bin/lally.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3141 -4
- package/dist/index.js.map +1 -1
- package/package.json +6 -11
- package/LICENSE +0 -7
- package/dist/commands/add/db.d.ts +0 -3
- package/dist/commands/add/db.js +0 -118
- package/dist/commands/add/db.js.map +0 -1
- package/dist/commands/add/fumadocs.d.ts +0 -3
- package/dist/commands/add/fumadocs.js +0 -124
- package/dist/commands/add/fumadocs.js.map +0 -1
- package/dist/commands/add/index.d.ts +0 -1
- package/dist/commands/add/index.js +0 -110
- package/dist/commands/add/index.js.map +0 -1
- package/dist/commands/add/shared.d.ts +0 -25
- package/dist/commands/add/shared.js +0 -111
- package/dist/commands/add/shared.js.map +0 -1
- package/dist/commands/check/index.d.ts +0 -1
- package/dist/commands/check/index.js +0 -50
- package/dist/commands/check/index.js.map +0 -1
- package/dist/commands/check/shared.d.ts +0 -15
- package/dist/commands/check/shared.js +0 -64
- package/dist/commands/check/shared.js.map +0 -1
- package/dist/commands/check/targets/fumadocs.d.ts +0 -2
- package/dist/commands/check/targets/fumadocs.js +0 -167
- package/dist/commands/check/targets/fumadocs.js.map +0 -1
- package/dist/commands/clean/index.d.ts +0 -1
- package/dist/commands/clean/index.js +0 -156
- package/dist/commands/clean/index.js.map +0 -1
- package/dist/commands/clean/shared.d.ts +0 -17
- package/dist/commands/clean/shared.js +0 -162
- package/dist/commands/clean/shared.js.map +0 -1
- package/dist/commands/clean/targets/fumadocs.d.ts +0 -5
- package/dist/commands/clean/targets/fumadocs.js +0 -13
- package/dist/commands/clean/targets/fumadocs.js.map +0 -1
- package/dist/commands/fumadocs/layout-shared.d.ts +0 -12
- package/dist/commands/fumadocs/layout-shared.js +0 -94
- package/dist/commands/fumadocs/layout-shared.js.map +0 -1
- package/dist/commands/init/index.d.ts +0 -1
- package/dist/commands/init/index.js +0 -72
- package/dist/commands/init/index.js.map +0 -1
- package/dist/commands/init/presets/fumadocs-base-path.d.ts +0 -1
- package/dist/commands/init/presets/fumadocs-base-path.js +0 -36
- package/dist/commands/init/presets/fumadocs-base-path.js.map +0 -1
- package/dist/commands/init/shared.d.ts +0 -35
- package/dist/commands/init/shared.js +0 -122
- package/dist/commands/init/shared.js.map +0 -1
- package/dist/commands/release/args.d.ts +0 -7
- package/dist/commands/release/args.js +0 -69
- package/dist/commands/release/args.js.map +0 -1
- package/dist/commands/release/auth.d.ts +0 -7
- package/dist/commands/release/auth.js +0 -49
- package/dist/commands/release/auth.js.map +0 -1
- package/dist/commands/release/env.d.ts +0 -3
- package/dist/commands/release/env.js +0 -56
- package/dist/commands/release/env.js.map +0 -1
- package/dist/commands/release/exec.d.ts +0 -1
- package/dist/commands/release/exec.js +0 -18
- package/dist/commands/release/exec.js.map +0 -1
- package/dist/commands/release/index.d.ts +0 -1
- package/dist/commands/release/index.js +0 -138
- package/dist/commands/release/index.js.map +0 -1
- package/dist/commands/release/types.d.ts +0 -11
- package/dist/commands/release/types.js +0 -3
- package/dist/commands/release/types.js.map +0 -1
- package/dist/commands/release/version.d.ts +0 -7
- package/dist/commands/release/version.js +0 -26
- package/dist/commands/release/version.js.map +0 -1
- package/dist/commands/sync/args.d.ts +0 -16
- package/dist/commands/sync/args.js +0 -41
- package/dist/commands/sync/args.js.map +0 -1
- package/dist/commands/sync/config.d.ts +0 -23
- package/dist/commands/sync/config.js +0 -44
- package/dist/commands/sync/config.js.map +0 -1
- package/dist/commands/sync/exec.d.ts +0 -12
- package/dist/commands/sync/exec.js +0 -36
- package/dist/commands/sync/exec.js.map +0 -1
- package/dist/commands/sync/handlers.d.ts +0 -12
- package/dist/commands/sync/handlers.js +0 -319
- package/dist/commands/sync/handlers.js.map +0 -1
- package/dist/commands/sync/help.d.ts +0 -4
- package/dist/commands/sync/help.js +0 -28
- package/dist/commands/sync/help.js.map +0 -1
- package/dist/commands/sync/index.d.ts +0 -4
- package/dist/commands/sync/index.js +0 -26
- package/dist/commands/sync/index.js.map +0 -1
- package/dist/commands/sync/native.d.ts +0 -19
- package/dist/commands/sync/native.js +0 -160
- package/dist/commands/sync/native.js.map +0 -1
- package/dist/commands/sync/output.d.ts +0 -4
- package/dist/commands/sync/output.js +0 -10
- package/dist/commands/sync/output.js.map +0 -1
- package/dist/commands/sync/resolve.d.ts +0 -22
- package/dist/commands/sync/resolve.js +0 -41
- package/dist/commands/sync/resolve.js.map +0 -1
- package/dist/commands/update/args.d.ts +0 -7
- package/dist/commands/update/args.js +0 -32
- package/dist/commands/update/args.js.map +0 -1
- package/dist/commands/update/config.d.ts +0 -37
- package/dist/commands/update/config.js +0 -16
- package/dist/commands/update/config.js.map +0 -1
- package/dist/commands/update/docs/readme.d.ts +0 -1
- package/dist/commands/update/docs/readme.js +0 -198
- package/dist/commands/update/docs/readme.js.map +0 -1
- package/dist/commands/update/fumadocs/layout.d.ts +0 -1
- package/dist/commands/update/fumadocs/layout.js +0 -175
- package/dist/commands/update/fumadocs/layout.js.map +0 -1
- package/dist/commands/update/help.d.ts +0 -1
- package/dist/commands/update/help.js +0 -26
- package/dist/commands/update/help.js.map +0 -1
- package/dist/commands/update/index.d.ts +0 -1
- package/dist/commands/update/index.js +0 -26
- package/dist/commands/update/index.js.map +0 -1
- package/dist/commands/update/output.d.ts +0 -1
- package/dist/commands/update/output.js +0 -7
- package/dist/commands/update/output.js.map +0 -1
- package/dist/commands/update/repo.d.ts +0 -1
- package/dist/commands/update/repo.js +0 -18
- package/dist/commands/update/repo.js.map +0 -1
- package/dist/commands/update/subtree.d.ts +0 -1
- package/dist/commands/update/subtree.js +0 -79
- package/dist/commands/update/subtree.js.map +0 -1
- package/dist/main.d.ts +0 -1
- package/dist/main.js +0 -115
- package/dist/main.js.map +0 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
CLI for `@chris-lally/cli`.
|
|
4
4
|
|
|
5
|
-
> This README is auto-generated by `lally
|
|
5
|
+
> This README is auto-generated by `lally repo readme --target cli`.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -22,177 +22,34 @@ pnpm dlx @chris-lally/cli@alpha --help
|
|
|
22
22
|
lally
|
|
23
23
|
|
|
24
24
|
Usage:
|
|
25
|
-
lally <command> [options]
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
release
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
lally
|
|
37
|
-
lally
|
|
38
|
-
lally
|
|
39
|
-
lally
|
|
40
|
-
lally
|
|
41
|
-
lally
|
|
42
|
-
lally update readme --target <name> [--check]
|
|
43
|
-
lally release <target> --tag <tag> [--dry-run] [--json]
|
|
25
|
+
lally <domain> <command> [options]
|
|
26
|
+
|
|
27
|
+
Domains:
|
|
28
|
+
opensrc Fetch/list/remove source context via opensrc
|
|
29
|
+
fumadocs Fumadocs init/scaffold/check/clean/layout commands
|
|
30
|
+
db Database scaffolding commands
|
|
31
|
+
repo Repository maintenance commands
|
|
32
|
+
git Git-oriented sync workflows
|
|
33
|
+
npm npm release workflows
|
|
34
|
+
|
|
35
|
+
Domain usage:
|
|
36
|
+
lally opensrc <fetch|list|remove> [...args]
|
|
37
|
+
lally fumadocs <init|section|page-shell|sidebar-history|check|clean|layout> [options]
|
|
38
|
+
lally db <local-postgres|master-migration|seed-script> [options]
|
|
39
|
+
lally repo <readme> [options]
|
|
40
|
+
lally git sync <init|doctor|push|pull> [options]
|
|
41
|
+
lally npm release <target> --tag <tag> [--dry-run] [--json]
|
|
44
42
|
|
|
45
43
|
Examples:
|
|
46
|
-
lally
|
|
47
|
-
lally
|
|
48
|
-
lally
|
|
49
|
-
lally
|
|
50
|
-
lally
|
|
51
|
-
lally
|
|
52
|
-
lally
|
|
53
|
-
lally
|
|
54
|
-
lally
|
|
55
|
-
lally update subtree --target statements --action push
|
|
56
|
-
lally update layout --preset notebook-topnav --app apps/web
|
|
57
|
-
lally update readme --target cli
|
|
58
|
-
lally release fumadocs --tag alpha --dry-run
|
|
59
|
-
|
|
60
|
-
Notes:
|
|
61
|
-
- Use --app when running from monorepo root.
|
|
62
|
-
- `clean` is dry-run by default; add --apply to execute.
|
|
63
|
-
- For detailed help: lally <command> --help
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
### `lally init --help`
|
|
67
|
-
|
|
68
|
-
```text
|
|
69
|
-
Usage:
|
|
70
|
-
lally init [preset] [--app <path>]
|
|
71
|
-
|
|
72
|
-
Presets:
|
|
73
|
-
fumadocs/base-path Initialize content root + Next basePath from lally.config.json
|
|
74
|
-
|
|
75
|
-
Deprecated aliases:
|
|
76
|
-
fumadocs/dashboard Alias for fumadocs/base-path
|
|
77
|
-
|
|
78
|
-
Examples:
|
|
79
|
-
lally init --app apps/web
|
|
80
|
-
lally init fumadocs/base-path --app apps/web
|
|
81
|
-
|
|
82
|
-
Notes:
|
|
83
|
-
- If run from monorepo root, pass --app.
|
|
84
|
-
- Uses lally.config.json fumadocs.basePath/contentRoot defaults.
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
### `lally add --help`
|
|
88
|
-
|
|
89
|
-
```text
|
|
90
|
-
Usage:
|
|
91
|
-
lally add <namespace/item> [--app <path>]
|
|
92
|
-
|
|
93
|
-
Supported items:
|
|
94
|
-
fumadocs/section Add a root section under content/<contentRoot>
|
|
95
|
-
fumadocs/page-shell Add a notebook page shell component
|
|
96
|
-
fumadocs/sidebar-history Add global sidebar history banner wiring
|
|
97
|
-
db/local-postgres Add local DB create/migrate/reset scripts
|
|
98
|
-
db/master-migration Add db/migrations/tables.sql scaffold
|
|
99
|
-
db/seed-script Add local seed script + package scripts
|
|
100
|
-
|
|
101
|
-
Examples:
|
|
102
|
-
lally add fumadocs/section --name handbook --app apps/web
|
|
103
|
-
lally add fumadocs/page-shell --app apps/web
|
|
104
|
-
lally add db/local-postgres --app apps/web
|
|
105
|
-
|
|
106
|
-
Notes:
|
|
107
|
-
- If run from monorepo root, pass --app.
|
|
108
|
-
- Uses lally.config.json fumadocs.basePath/contentRoot when available.
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
### `lally check --help`
|
|
112
|
-
|
|
113
|
-
```text
|
|
114
|
-
Usage:
|
|
115
|
-
lally check fumadocs [--app <path>] [--strict-layout] [--json]
|
|
116
|
-
|
|
117
|
-
Checks:
|
|
118
|
-
- required .gitignore entries
|
|
119
|
-
- required app files (next.config, source.config, src/lib/source)
|
|
120
|
-
- optional strict layout preset wiring (with --strict-layout)
|
|
121
|
-
|
|
122
|
-
Examples:
|
|
123
|
-
lally check fumadocs --app apps/web
|
|
124
|
-
lally check fumadocs --app apps/web --strict-layout
|
|
125
|
-
lally check fumadocs --app apps/web --json
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
### `lally clean --help`
|
|
129
|
-
|
|
130
|
-
```text
|
|
131
|
-
Usage:
|
|
132
|
-
lally clean fumadocs [--app <path>] [--keep <glob>] [--archive-dir <path>] [--apply] [--delete] [--json]
|
|
133
|
-
|
|
134
|
-
Safety defaults:
|
|
135
|
-
- dry-run by default (no file changes)
|
|
136
|
-
- use --apply to execute
|
|
137
|
-
- apply mode archives files by default
|
|
138
|
-
- use --delete to permanently remove instead of archive
|
|
139
|
-
|
|
140
|
-
Examples:
|
|
141
|
-
lally clean fumadocs --app apps/web
|
|
142
|
-
lally clean fumadocs --app apps/web --keep 'content/docs/custom/**'
|
|
143
|
-
lally clean fumadocs --app apps/web --apply
|
|
144
|
-
lally clean fumadocs --app apps/web --apply --archive-dir .lally-clean-backup/manual-1
|
|
145
|
-
lally clean fumadocs --app apps/web --apply --delete
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
### `lally update --help`
|
|
149
|
-
|
|
150
|
-
```text
|
|
151
|
-
Usage:
|
|
152
|
-
lally update subtree --script <script-name> [--dir <path>] [--json]
|
|
153
|
-
lally update subtree --target <name> --action <push|pull> [--dir <path>] [--json]
|
|
154
|
-
lally update layout --preset notebook-topnav [--app <path>]
|
|
155
|
-
lally update readme [--target <name>] [--check] [--print]
|
|
156
|
-
|
|
157
|
-
Notes:
|
|
158
|
-
- subtree uses update.subtree config in lally.config.json
|
|
159
|
-
- project.subtree is still supported as a fallback
|
|
160
|
-
- readme uses readme.targets config in lally.config.json
|
|
161
|
-
- readme auto-discovers top-level commands from <bin> --help
|
|
162
|
-
|
|
163
|
-
Examples:
|
|
164
|
-
lally update subtree --script sync-push.sh
|
|
165
|
-
lally update subtree --target statements --action push
|
|
166
|
-
lally update layout --preset notebook-topnav --app apps/web
|
|
167
|
-
lally update readme --target cli
|
|
168
|
-
lally update readme --target cli --check
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
### `lally release --help`
|
|
172
|
-
|
|
173
|
-
```text
|
|
174
|
-
Usage:
|
|
175
|
-
lally release <target> --tag <tag> [--dry-run] [--json]
|
|
176
|
-
|
|
177
|
-
Targets:
|
|
178
|
-
fumadocs Publish @chris-lally/fumadocs
|
|
179
|
-
cli Publish @chris-lally/cli
|
|
180
|
-
|
|
181
|
-
Examples:
|
|
182
|
-
lally release fumadocs --tag alpha --dry-run
|
|
183
|
-
lally release fumadocs --tag alpha --json
|
|
184
|
-
|
|
185
|
-
Notes:
|
|
186
|
-
- For target=cli, README is regenerated automatically before build.
|
|
187
|
-
|
|
188
|
-
Auth resolution (first match wins):
|
|
189
|
-
1) NPM_CONFIG_USERCONFIG env var (explicit path)
|
|
190
|
-
2) generated temp npmrc from NPM_TOKEN (auto)
|
|
191
|
-
3) <repo>/.npmrc.publish
|
|
192
|
-
4) <repo>/.npmrc
|
|
193
|
-
5) default npm user config (e.g. ~/.npmrc from npm login)
|
|
194
|
-
|
|
195
|
-
NPM_TOKEN can be provided via shell env or repo .env.
|
|
44
|
+
lally opensrc fetch zod github:shadcn-ui/ui --modify=false
|
|
45
|
+
lally opensrc list
|
|
46
|
+
lally opensrc remove zod
|
|
47
|
+
lally fumadocs init --app apps/web
|
|
48
|
+
lally fumadocs section --name handbook --app apps/web
|
|
49
|
+
lally db local-postgres --app apps/web
|
|
50
|
+
lally repo readme --target cli
|
|
51
|
+
lally git sync doctor --target statements
|
|
52
|
+
lally npm release cli --tag alpha --dry-run
|
|
196
53
|
```
|
|
197
54
|
|
|
198
55
|
## License
|
package/dist/bin/lally.d.ts
CHANGED