loor-cli 0.1.0 → 0.1.2
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
|
@@ -5,9 +5,9 @@ CLI scaffolding tool for loor monorepo projects.
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install -g loor
|
|
8
|
+
npm install -g loor-cli
|
|
9
9
|
# or
|
|
10
|
-
pnpm add -g loor
|
|
10
|
+
pnpm add -g loor-cli
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Commands
|
|
@@ -255,7 +255,7 @@ The MCP server is auto-registered via `loor ai init`.
|
|
|
255
255
|
| Variable | Description | Default |
|
|
256
256
|
|----------|-------------|---------|
|
|
257
257
|
| `LOOR_LOCAL` | Path to local loor repo (overrides config) | — |
|
|
258
|
-
| `LOOR_REPO` | GitHub repository | `ismailyagci/
|
|
258
|
+
| `LOOR_REPO` | GitHub repository | `ismailyagci/turbo-base` |
|
|
259
259
|
| `LOOR_BRANCH` | Git branch to use | `master` |
|
|
260
260
|
|
|
261
261
|
---
|
package/dist/bin.js
CHANGED
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
if (process.argv.includes("--debug")) enableDebug();
|
|
10
10
|
try {
|
|
11
11
|
if (process.argv.includes("--mcp")) {
|
|
12
|
-
const { startMcpServer } = await import("./server-
|
|
12
|
+
const { startMcpServer } = await import("./server-MCNT4AAN.js");
|
|
13
13
|
await startMcpServer();
|
|
14
14
|
} else {
|
|
15
|
-
const { cli } = await import("./cli-
|
|
15
|
+
const { cli } = await import("./cli-SUMLETWD.js");
|
|
16
16
|
await cli.parseAsync(process.argv);
|
|
17
17
|
}
|
|
18
18
|
} catch (err) {
|
|
@@ -178,7 +178,7 @@ import { execSync } from "child_process";
|
|
|
178
178
|
var CACHE_DIR = path4.join(os3.homedir(), ".loor");
|
|
179
179
|
var REGISTRY_DIR = path4.join(CACHE_DIR, "registry");
|
|
180
180
|
var META_PATH = path4.join(CACHE_DIR, "meta.json");
|
|
181
|
-
var DEFAULT_REPO = "ismailyagci/
|
|
181
|
+
var DEFAULT_REPO = "ismailyagci/turbo-base";
|
|
182
182
|
var DEFAULT_BRANCH = "master";
|
|
183
183
|
var CACHE_TTL = 24 * 60 * 60 * 1e3;
|
|
184
184
|
var GITHUB_TOKEN = "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";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
removeDependencies,
|
|
13
13
|
replaceInFile,
|
|
14
14
|
writeConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6C7Z2RVX.js";
|
|
16
16
|
import {
|
|
17
17
|
enableDebug,
|
|
18
18
|
log
|
|
@@ -528,6 +528,9 @@ Examples:
|
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
530
|
log.info(`Selected packages: ${selectedPackageNames.join(", ")}`);
|
|
531
|
+
} else if (opts.apps) {
|
|
532
|
+
selectedPackageNames = [];
|
|
533
|
+
log.info("Skipping optional packages (use --packages to include)");
|
|
531
534
|
} else {
|
|
532
535
|
const optionalPackages = allPackages.filter((pkg) => !requiredSet.has(pkg.name));
|
|
533
536
|
selectedPackageNames = await promptPackages(optionalPackages, appTypes);
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
PackageRegistry,
|
|
3
3
|
ensureCache,
|
|
4
4
|
getPackagesDir
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6C7Z2RVX.js";
|
|
6
6
|
import "./chunk-AUVNDYJL.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/server.ts
|
|
@@ -879,7 +879,7 @@ Comma-separated package names:
|
|
|
879
879
|
| Variable | Description |
|
|
880
880
|
|----------|-------------|
|
|
881
881
|
| \`LOOR_LOCAL\` | Override config to use local repo path |
|
|
882
|
-
| \`LOOR_REPO\` | GitHub repo (default: ismailyagci/
|
|
882
|
+
| \`LOOR_REPO\` | GitHub repo (default: ismailyagci/turbo-base) |
|
|
883
883
|
| \`LOOR_BRANCH\` | Branch (default: master) |
|
|
884
884
|
|
|
885
885
|
## Typical Workflows
|