@goodpuppies/workman 0.9.0 → 0.9.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
@@ -1,7 +1,7 @@
1
1
  # Workman
2
2
 
3
- Workman 0.9.0: the compiler, language server, REPL, test runner, TypeScript 7.1 content mapper and Vite/Bun integrations.
3
+ Workman 0.9.2: the compiler, language server, REPL, test runner, TypeScript 7.1 content mapper and Vite/Bun integrations.
4
4
 
5
- Install optional dependencies to obtain the platform binary, which embeds the Deno runtime; no separate Deno installation is needed. Node is required for the CLI and mapper launcher; Bun can use the integration directly.
5
+ Install optional dependencies to obtain the platform binary, which embeds the Deno runtime, tsrs (TypeScript 7.1 reflection), and esbuild (for running programs that import `node_modules` packages); no separate Deno installation is needed. Node is required for the CLI and mapper launcher; Bun can use the integration directly.
6
6
 
7
- This build does not yet support programs that import packages (bare, npm:, jsr: or remote specifiers), or building executables with --executable; use the Deno/JSR installation for those.
7
+ Local `node_modules` package imports (via `package.json`) work out of the box. Deno-specific features (`npm:`, `jsr:`, remote URL specifiers, and `--executable`) are enabled automatically whenever `deno` is available on `PATH` (or `WORKMAN_DENO_PATH`).
package/bin/resolve.cjs CHANGED
@@ -26,7 +26,11 @@ exports.resolveBinary = function () {
26
26
  const platform = JSON.parse(fs.readFileSync(metadata, "utf8"));
27
27
  if (platform.version !== manifest.version) {
28
28
  throw new Error(
29
- `Workman binary version mismatch: expected ${manifest.version}, found ${platform.version}`,
29
+ `Workman binary version mismatch: expected ${manifest.version}, found ${platform.version} at ${metadata}.\n` +
30
+ `Your package manager left an older optional dependency installed. Fix with:\n` +
31
+ ` bun install -g ${name}@${manifest.version}\n` +
32
+ `or:\n` +
33
+ ` npm install -g ${manifest.name}@${manifest.version}`,
30
34
  );
31
35
  }
32
36
  return path.join(path.dirname(metadata), "bin", process.platform === "win32" ? "wm.exe" : "wm");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodpuppies/workman",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "type": "module",
5
5
  "description": "Workman language tools and experimental TypeScript content mapper",
6
6
  "license": "MIT",
@@ -49,11 +49,11 @@
49
49
  }
50
50
  },
51
51
  "optionalDependencies": {
52
- "@goodpuppies/workman-linux-x64": "0.9.0",
53
- "@goodpuppies/workman-linux-arm64": "0.9.0",
54
- "@goodpuppies/workman-darwin-x64": "0.9.0",
55
- "@goodpuppies/workman-darwin-arm64": "0.9.0",
56
- "@goodpuppies/workman-win32-x64": "0.9.0",
57
- "@goodpuppies/workman-win32-arm64": "0.9.0"
52
+ "@goodpuppies/workman-linux-x64": "0.9.2",
53
+ "@goodpuppies/workman-linux-arm64": "0.9.2",
54
+ "@goodpuppies/workman-darwin-x64": "0.9.2",
55
+ "@goodpuppies/workman-darwin-arm64": "0.9.2",
56
+ "@goodpuppies/workman-win32-x64": "0.9.2",
57
+ "@goodpuppies/workman-win32-arm64": "0.9.2"
58
58
  }
59
59
  }