@kindlingai/tessera 0.4.0 → 0.4.3

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/tesserax.js +7 -0
  2. package/package.json +4 -4
package/bin/tesserax.js CHANGED
@@ -9,6 +9,13 @@ try {
9
9
  dir = path.dirname(require.resolve(`${pkg}/package.json`));
10
10
  } catch {
11
11
  console.error(`tesserax: no build for ${process.platform}-${process.arch} (${pkg} is not installed)`);
12
+ // npx keeps an install that ran before the platform package was served.
13
+ const npx = __dirname.match(/^(.*[\\/]_npx[\\/][^\\/]+)[\\/]/);
14
+ if (npx) {
15
+ console.error(`tesserax: if ${pkg} exists for this version, delete ${npx[1]} and run npx again`);
16
+ } else {
17
+ console.error(`tesserax: if ${pkg} exists for this version, reinstall @kindlingai/tessera`);
18
+ }
12
19
  process.exit(1);
13
20
  }
14
21
  const run = spawnSync(path.join(dir, "bin", "tesserax"), process.argv.slice(2), { stdio: "inherit" });
package/package.json CHANGED
@@ -9,13 +9,13 @@
9
9
  "license": "MIT",
10
10
  "name": "@kindlingai/tessera",
11
11
  "optionalDependencies": {
12
- "@kindlingai/tessera-darwin-arm64": "0.4.0",
13
- "@kindlingai/tessera-linux-arm64": "0.4.0",
14
- "@kindlingai/tessera-linux-x64": "0.4.0"
12
+ "@kindlingai/tessera-darwin-arm64": "0.4.3",
13
+ "@kindlingai/tessera-linux-arm64": "0.4.3",
14
+ "@kindlingai/tessera-linux-x64": "0.4.3"
15
15
  },
16
16
  "repository": {
17
17
  "type": "git",
18
18
  "url": "git+https://github.com/kindlingai/tessera.git"
19
19
  },
20
- "version": "0.4.0"
20
+ "version": "0.4.3"
21
21
  }