@lszio/zio 0.2.0 → 0.2.1
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/install.js +6 -1
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -18,7 +18,12 @@ const path = require("path");
|
|
|
18
18
|
const { spawnSync } = require("child_process");
|
|
19
19
|
|
|
20
20
|
const REPO = "lszio/zio";
|
|
21
|
-
|
|
21
|
+
// The version this package installs is its own version. It has to be
|
|
22
|
+
// read from the package root, not from a parent directory: npm publishes
|
|
23
|
+
// the files listed in `files` rooted at the package, so `../package.json`
|
|
24
|
+
// exists in the repository (it is the engine package next door) and
|
|
25
|
+
// resolves to nothing at all once published.
|
|
26
|
+
const VERSION = require("./package.json").version;
|
|
22
27
|
const BASE = `https://github.com/${REPO}/releases/download/v${VERSION}`;
|
|
23
28
|
|
|
24
29
|
const TARGETS = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lszio/zio",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "The Zio language: a general-purpose Lisp with a self-hosting compiler, an image runtime, and one CLI — REPL, script runner, compiler, formatter and language server",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|