@dbx-tools/cli 0.3.21 → 0.3.22
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/package.json +3 -3
- package/src/root.ts +1 -4
package/package.json
CHANGED
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
"commander": "^15.0.0",
|
|
19
19
|
"pnpm": "^11.0.6",
|
|
20
20
|
"tsx": "^4.23.0",
|
|
21
|
-
"@dbx-tools/core": "0.3.
|
|
22
|
-
"@dbx-tools/shared-core": "0.3.
|
|
21
|
+
"@dbx-tools/core": "0.3.22",
|
|
22
|
+
"@dbx-tools/shared-core": "0.3.22"
|
|
23
23
|
},
|
|
24
24
|
"main": "index.ts",
|
|
25
25
|
"license": "UNLICENSED",
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
-
"version": "0.3.
|
|
29
|
+
"version": "0.3.22",
|
|
30
30
|
"types": "index.ts",
|
|
31
31
|
"type": "module",
|
|
32
32
|
"exports": {
|
package/src/root.ts
CHANGED
|
@@ -67,10 +67,7 @@ export function needsInstall(root: string): boolean {
|
|
|
67
67
|
export function needsToolchain(root: string): boolean {
|
|
68
68
|
const modules = join(root, "node_modules");
|
|
69
69
|
if (!existsSync(modules)) return true;
|
|
70
|
-
return (
|
|
71
|
-
!existsSync(join(modules, "projen")) ||
|
|
72
|
-
!existsSync(join(modules, "@dbx-tools", "projen"))
|
|
73
|
-
);
|
|
70
|
+
return !existsSync(join(modules, "projen")) || !existsSync(join(modules, "@dbx-tools", "projen"));
|
|
74
71
|
}
|
|
75
72
|
|
|
76
73
|
/** Async, memoized root lookup from the process cwd at first use. */
|