unitbob 0.1.1 → 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/dist/config.js +3 -2
- package/dist/proc.js +3 -2
- package/package.json +1 -1
package/dist/config.js
CHANGED
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
import { existsSync, readFileSync } from 'node:fs';
|
|
6
6
|
import { dirname, join } from 'node:path';
|
|
7
7
|
const CONFIG_FILE = '.unitbob.json';
|
|
8
|
-
const SETUP_HINT = '
|
|
9
|
-
'
|
|
8
|
+
const SETUP_HINT = 'this project is not linked to Unitbob yet. Ask the user for the Unitbob ' +
|
|
9
|
+
'server URL and repo_id, then run `unitbob init` and put them in ' +
|
|
10
|
+
'`.unitbob.json` ({ "server": "https://your-unitbob-host", "repo_id": <number> })';
|
|
10
11
|
// Walk up from `startDir` to the filesystem root looking for `.unitbob.json`.
|
|
11
12
|
export function findConfigPath(startDir = process.cwd()) {
|
|
12
13
|
let dir = startDir;
|
package/dist/proc.js
CHANGED
|
@@ -51,8 +51,9 @@ export async function requireGraphify() {
|
|
|
51
51
|
throw new Error(result.stderr.trim() || result.stdout.trim() || `graphify --help exited ${result.code}`);
|
|
52
52
|
}
|
|
53
53
|
catch (err) {
|
|
54
|
-
throw new Error(`graphify is required but was not found or did not run. Install
|
|
55
|
-
|
|
54
|
+
throw new Error(`graphify is required but was not found or did not run. Install it with ` +
|
|
55
|
+
`\`pip install graphifyy && graphify install\` (PyPI package "graphifyy", command ` +
|
|
56
|
+
`"graphify", needs Python 3.10+), then retry (${err.message}).`);
|
|
56
57
|
}
|
|
57
58
|
}
|
|
58
59
|
export function ensureUnitbobIgnored(projectRoot) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unitbob",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Unitbob connector — thin local hands for the Unitbob Rails brain. Owns no domain logic: it runs tools, relays bytes over the wire, and prints what the server returns.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|