@vlandoss/run-run 0.0.16-git-4077faf.0 → 0.0.16-git-474ac67.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vlandoss/run-run",
3
- "version": "0.0.16-git-4077faf.0",
3
+ "version": "0.0.16-git-474ac67.0",
4
4
  "description": "The CLI toolbox to fullstack common scripts in Variable Land",
5
5
  "homepage": "https://github.com/variableland/dx/tree/main/packages/run-run#readme",
6
6
  "bugs": {
@@ -41,7 +41,7 @@
41
41
  "oxlint-tsgolint": "^0.15.0",
42
42
  "rimraf": "6.1.3",
43
43
  "typescript": "5.9.3",
44
- "@vlandoss/clibuddy": "0.0.8-git-4077faf.0",
44
+ "@vlandoss/clibuddy": "0.0.8-git-474ac67.0",
45
45
  "@vlandoss/loggy": "0.0.6"
46
46
  },
47
47
  "publishConfig": {
@@ -16,7 +16,16 @@ type TypecheckAtOptions = {
16
16
  const getPreScript = (scripts: Record<string, string | undefined> | undefined) => scripts?.pretsc ?? scripts?.pretypecheck;
17
17
 
18
18
  async function typecheckAt({ dir, scripts, log, shell, run }: TypecheckAtOptions) {
19
- const shellAt = cwd === dir ? shell : shell.at(dir);
19
+ let shellAt: ShellService;
20
+
21
+ log.debug(`checking types at ${dir}`);
22
+
23
+ if (cwd === dir) {
24
+ shellAt = shell;
25
+ } else {
26
+ log.debug(`Changing directory to ${dir} for typecheck`);
27
+ shellAt = shell.at(dir);
28
+ }
20
29
 
21
30
  try {
22
31
  const preScript = getPreScript(scripts);