opscope 0.4.0 → 0.6.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/README.md +4 -4
- package/package.json +4 -4
- package/platform.js +5 -6
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ npx opscope link # skip the menu; any widget name works
|
|
|
8
8
|
npx opscope@latest link # pin to latest, or @0.3.0, etc.
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
That is the launcher: a menu of the
|
|
11
|
+
That is the launcher: a menu of the fourteen widgets, or name one and skip
|
|
12
12
|
it. Only `opscope` is installed as a command; the other binaries stay beside
|
|
13
13
|
it, so `pr` and `link` never replace the coreutils commands of the same
|
|
14
14
|
name. The binaries it starts are the ones attached to the GitHub release of
|
|
@@ -17,9 +17,9 @@ commit and date.
|
|
|
17
17
|
|
|
18
18
|
## Platforms
|
|
19
19
|
|
|
20
|
-
Linux x86_64 (glibc 2.35 or newer)
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
- Linux x86_64 (glibc 2.35 or newer)
|
|
21
|
+
- macOS Apple Silicon
|
|
22
|
+
- macOS Intel
|
|
23
23
|
|
|
24
24
|
The launcher is a thin package. Each platform is an optional dependency
|
|
25
25
|
npm installs only when `os` / `cpu` / `libc` match, so a Mac never
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opscope",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Sci-fi terminal widgets that show only real data.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"opscope": "bin/opscope"
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"postinstall": "node postinstall.js"
|
|
10
10
|
},
|
|
11
11
|
"optionalDependencies": {
|
|
12
|
-
"opscope-linux-x64": "0.
|
|
13
|
-
"opscope-darwin-arm64": "0.
|
|
14
|
-
"opscope-darwin-x64": "0.
|
|
12
|
+
"opscope-linux-x64": "0.6.0",
|
|
13
|
+
"opscope-darwin-arm64": "0.6.0",
|
|
14
|
+
"opscope-darwin-x64": "0.6.0"
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"bin",
|
package/platform.js
CHANGED
|
@@ -25,10 +25,10 @@ const path = require('path');
|
|
|
25
25
|
const LAUNCHER = 'opscope';
|
|
26
26
|
|
|
27
27
|
// One row per artefact the release workflow actually produces. A
|
|
28
|
-
// platform that is only a wish is not a row:
|
|
29
|
-
//
|
|
30
|
-
//
|
|
31
|
-
//
|
|
28
|
+
// platform that is only a wish is not a row: anything absent here
|
|
29
|
+
// fails at install with a sentence saying what is published, which is
|
|
30
|
+
// what the issue asked for rather than a package that installs and
|
|
31
|
+
// then cannot run.
|
|
32
32
|
//
|
|
33
33
|
// `os` / `cpu` / `libc` are npm's own selectors. npm installs only
|
|
34
34
|
// the optionalDependency whose selectors match and skips the rest,
|
|
@@ -85,7 +85,7 @@ function glibcTooOld(h) {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
// Every binary, read from the manifest rather than restated.
|
|
88
|
-
// A restated list is how a
|
|
88
|
+
// A restated list is how a new widget ships in the tarball and
|
|
89
89
|
// not in the npm package, and the launcher then cannot launch it.
|
|
90
90
|
// `[[bin]]` is the same list `opscope` already asserts against.
|
|
91
91
|
function binsFromManifest(repoRoot) {
|
|
@@ -199,7 +199,6 @@ function unsupportedMessage(h) {
|
|
|
199
199
|
'It publishes:',
|
|
200
200
|
publishedPlatforms(),
|
|
201
201
|
'',
|
|
202
|
-
'Windows, Alpine/musl, 32-bit and Linux arm64 are not published.',
|
|
203
202
|
'Build from source: https://github.com/stealth-factory/opscope',
|
|
204
203
|
].join('\n');
|
|
205
204
|
}
|