Commit d56a742
committed
refactor(cli): drop dead re-exports from create/command.ts
The five re-exports in `create/command.ts` were a leftover from the
earlier consolidation pass:
- `ExecutionResult`, `RunCommandOptions`, `RunCommandResult` (type
re-exports): nobody imported them through `create/command.ts`. Three
dead bridges.
- `runCommand`, `runCommandSilently` (value re-exports): only
`create/templates/remote.ts` consumed them. Migrate that one file to
import directly from `'../../utils/command.ts'` and the bridge can
go.
`create/command.ts` is now strictly a create-flow module: it defines
`ExecutionWithProjectDir`, `runCommandAndDetectProjectDir`,
`getPackageRunner`, `formatDlxCommand`, `prependToPathToEnvs` — no
bridging from utils.1 parent f1fe113 commit d56a742
2 files changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 8 | | |
12 | 9 | | |
13 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | | - | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
0 commit comments