ssqch 0.5.1 → 0.5.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.
Files changed (2) hide show
  1. package/bin/ssqch.js +2 -1
  2. package/package.json +5 -5
package/bin/ssqch.js CHANGED
@@ -23,7 +23,8 @@ function findBinary() {
23
23
  try {
24
24
  return require.resolve(`${pkg}/bin/${exe}`);
25
25
  } catch {
26
- fail(`${pkg} isn't installed, so there's no binary to run. It's an optional dependency of ssqch: reinstall without \`--no-optional\` or \`--omit=optional\` (and with a lockfile made on another platform, run the install again here). Tracks lead here, but nobody's home.`);
26
+ const { version } = require("../package.json");
27
+ fail(`${pkg} isn't installed, so there's no binary to run. It's an optional dependency of ssqch, and npm skips one it can't download: check that ${pkg}@${version} is on the registry, and reinstall without \`--no-optional\` or \`--omit=optional\` (with a lockfile made on another platform, run the install again here). Tracks lead here, but nobody's home.`);
27
28
  }
28
29
  }
29
30
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ssqch",
3
3
  "description": "SiteSquatch, a fast static site generator configured with JavaScript",
4
- "version": "0.5.1",
4
+ "version": "0.5.2",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/reverentgeek/sitesquatch#readme",
7
7
  "repository": {
@@ -28,9 +28,9 @@
28
28
  "node": ">=18"
29
29
  },
30
30
  "optionalDependencies": {
31
- "@ssqch/darwin-arm64": "0.5.1",
32
- "@ssqch/darwin-x64": "0.5.1",
33
- "@ssqch/linux-x64": "0.5.1",
34
- "@ssqch/win32-x64": "0.5.1"
31
+ "@ssqch/darwin-arm64": "0.5.2",
32
+ "@ssqch/darwin-x64": "0.5.2",
33
+ "@ssqch/linux-x64": "0.5.2",
34
+ "@ssqch/win32-x64": "0.5.2"
35
35
  }
36
36
  }