@devdogsuga/devtools 0.1.39 → 0.1.40
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/bin/devtools.mjs +4 -14
- package/package.json +4 -4
package/bin/devtools.mjs
CHANGED
|
@@ -14,17 +14,9 @@
|
|
|
14
14
|
* only programmatically (`src/repo/tsx-loader.ts`) to load that repo's own
|
|
15
15
|
* TypeScript (env manifests, cron contracts, `devdogs-source` packages).
|
|
16
16
|
*/
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const launchEntry = join(
|
|
21
|
-
dirname(fileURLToPath(import.meta.url)),
|
|
22
|
-
"..",
|
|
23
|
-
"dist",
|
|
24
|
-
"launch.js",
|
|
25
|
-
);
|
|
26
|
-
|
|
27
|
-
const { launch } = await import(launchEntry);
|
|
17
|
+
// Relative specifiers, not joined paths: `import()` takes URLs, and a Windows
|
|
18
|
+
// absolute path (`C:\...`) reads as the URL scheme `c:`.
|
|
19
|
+
const { launch } = await import("../dist/launch.js");
|
|
28
20
|
try {
|
|
29
21
|
await launch(process.argv.slice(2));
|
|
30
22
|
} catch (err) {
|
|
@@ -33,9 +25,7 @@ try {
|
|
|
33
25
|
process.stderr.write(
|
|
34
26
|
`devtools: ${err instanceof Error ? err.message : String(err)}\n`,
|
|
35
27
|
);
|
|
36
|
-
const { captureDevtoolsError } = await import(
|
|
37
|
-
join(dirname(fileURLToPath(import.meta.url)), "..", "dist", "telemetry.js")
|
|
38
|
-
);
|
|
28
|
+
const { captureDevtoolsError } = await import("../dist/telemetry.js");
|
|
39
29
|
await captureDevtoolsError(err);
|
|
40
30
|
process.exitCode = 1;
|
|
41
31
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devdogsuga/devtools",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.40",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Contributor CLI for a DevDogsUGA checkout: the real tools with the session's tier filled in, a menu over them, and the checks CI runs. Ships built JS; run via `pnpm dlx @devdogsuga/devtools` (or the `devtools` bin once installed) from inside a DevDogsUGA clone.",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"eslint": "^9.39.5",
|
|
52
52
|
"tsdown": "^0.23.0",
|
|
53
53
|
"vitest": "^4.1.11",
|
|
54
|
-
"@devdogsuga/
|
|
55
|
-
"@devdogsuga/env": "0.1.5",
|
|
54
|
+
"@devdogsuga/cli-core": "0.0.0",
|
|
56
55
|
"@devdogsuga/config": "0.1.3",
|
|
57
|
-
"@devdogsuga/
|
|
56
|
+
"@devdogsuga/env": "0.1.6",
|
|
57
|
+
"@devdogsuga/db": "0.1.4"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "tsdown && node scripts/write-build-info.mjs && node ../../scripts/check-bundle-imports.mjs",
|