femacs 0.0.1 → 0.0.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 +16 -14
- package/manifest.json +11 -11
- package/package.json +31 -31
package/README.md
CHANGED
|
@@ -33,14 +33,14 @@ fe -R -nw notes.org
|
|
|
33
33
|
|
|
34
34
|
## What Is Inside This Package
|
|
35
35
|
|
|
36
|
-
Every published tarball (`femacs@0.0.
|
|
36
|
+
Every published tarball (`femacs@0.0.2`) contains only 10 small files and **0 runtime npm dependencies**:
|
|
37
37
|
|
|
38
38
|
| Path in tarball | Purpose |
|
|
39
39
|
| --- | --- |
|
|
40
40
|
| `dist/bin/{elisp,femacs,fe}.mjs` | ESM CLI shim entrypoints exposed as npm `bin` commands |
|
|
41
41
|
| `dist/index.mjs` | Zero-dep launcher API (platform lookup, SHA-256 verification, atomic local cache) |
|
|
42
42
|
| `dist/postinstall.mjs` | Best-effort `postinstall` warm-up (warns instead of failing when offline) |
|
|
43
|
-
| `manifest.json` | Release version (`0.0.
|
|
43
|
+
| `manifest.json` | Release version (`0.0.2`), target triples, archive filenames, and expected SHA-256 digests |
|
|
44
44
|
| `types/index.d.ts` | TypeScript declarations for programmatic Node.js/ESM usage |
|
|
45
45
|
| `README.md` & `LICENSE` | Package guide and `GPL-3.0-or-later` license |
|
|
46
46
|
|
|
@@ -57,18 +57,18 @@ Once cached (in `~/Library/Caches/femacs-npm` on macOS or `${XDG_CACHE_HOME:-~/.
|
|
|
57
57
|
### What Is NOT Included
|
|
58
58
|
|
|
59
59
|
- **Cocoa `.app` bundle (`Femacs.app` / `Fe.app`)**: Not distributed inside this npm package; build from source on Apple Silicon macOS via `cargo run -p xtask -- build-macos` ([Build guide](https://femacs.com/pages/start.html)).
|
|
60
|
-
- **Prebuilt Windows binaries (`v0.0.
|
|
60
|
+
- **Prebuilt Windows binaries (`v0.0.2`)**: Windows does not have prebuilt archives in `v0.0.2`; install from Rust source via `cargo install elisp femacs` instead.
|
|
61
61
|
|
|
62
|
-
## Supported Prebuilt Platforms (`v0.0.
|
|
62
|
+
## Supported Prebuilt Platforms (`v0.0.2`)
|
|
63
63
|
|
|
64
64
|
| npm `platform-arch` | Target Triple | Archive SHA-256 Prefix | Verification Scope |
|
|
65
65
|
| --- | --- | --- | --- |
|
|
66
|
-
| `darwin-arm64` | `aarch64-apple-darwin` | `
|
|
67
|
-
| `darwin-x64` | `x86_64-apple-darwin` | `
|
|
68
|
-
| `linux-arm64` | `aarch64-unknown-linux-gnu` | `
|
|
69
|
-
| `linux-x64` | `x86_64-unknown-linux-gnu` | `
|
|
66
|
+
| `darwin-arm64` | `aarch64-apple-darwin` | `a0e9978b...` | Real Apple Silicon macOS host verified (`elisp`, `femacs`, `fe`, `otool -L` system dylibs only) |
|
|
67
|
+
| `darwin-x64` | `x86_64-apple-darwin` | `1b9e2b4b...` | Cross-compiled Mach-O + `otool -L` system-dylib inspection (no physical Intel Mac / Rosetta runtime test) |
|
|
68
|
+
| `linux-arm64` | `aarch64-unknown-linux-gnu` | `96d77559...` | Cross-compiled ELF via Zig (`glibc >= 2.31`); matches Debian 12 `aarch64` VM runtime |
|
|
69
|
+
| `linux-x64` | `x86_64-unknown-linux-gnu` | `a25d36e9...` | Cross-compiled ELF via Zig (`glibc >= 2.31`) |
|
|
70
70
|
|
|
71
|
-
Full SHA-256 digests are listed in `manifest.json` and [`SHA256SUMS.txt`](https://github.com/liuchong/femacs/releases/download/v0.0.
|
|
71
|
+
Full SHA-256 digests are listed in `manifest.json` and [`SHA256SUMS.txt`](https://github.com/liuchong/femacs/releases/download/v0.0.2/SHA256SUMS.txt).
|
|
72
72
|
|
|
73
73
|
## Programmatic Node.js / ESM API
|
|
74
74
|
|
|
@@ -91,15 +91,17 @@ const code = await runBinary("elisp", ["--no-auto-warm", "eval", "(+ 20 22)"]);
|
|
|
91
91
|
|
|
92
92
|
## Other Install Channels
|
|
93
93
|
|
|
94
|
-
- **Homebrew (macOS & Linux
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
- **
|
|
94
|
+
- **Homebrew (macOS & Linux — separate packages)**:
|
|
95
|
+
- Standalone Lisp runtime & REPL: `brew install liuchong/tap/elisp`
|
|
96
|
+
- macOS Fe editor launchers (`femacs`, `fe`): `brew install liuchong/tap/femacs`
|
|
97
|
+
- **Shell installer (macOS & Linux)**: `curl -fsSL https://femacs.com/install.sh | sh` (pass `--only elisp` or `--only femacs` to install a subset)
|
|
98
|
+
- **Cargo (from source, all targets)**: `cargo install elisp` and `cargo install femacs --locked`
|
|
99
|
+
- **Embed in Rust (`Cargo.toml`)**: `lisp = "0.0.2"` (`lisp-vm`, `lisp-std`, `lisp`, `elisp` on [crates.io](https://crates.io/crates/lisp))
|
|
98
100
|
|
|
99
101
|
## Links
|
|
100
102
|
|
|
101
103
|
- Project homepage & documentation: https://femacs.com/
|
|
102
104
|
- Standalone Lisp & CLI guide: https://femacs.com/pages/lisp.html
|
|
103
105
|
- GitHub Repository: https://github.com/liuchong/femacs
|
|
104
|
-
- GitHub Release (`v0.0.
|
|
106
|
+
- GitHub Release (`v0.0.2`): https://github.com/liuchong/femacs/releases/tag/v0.0.2
|
|
105
107
|
- License: `GPL-3.0-or-later`
|
package/manifest.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
3
|
-
"tag": "v0.0.
|
|
4
|
-
"releaseBaseUrl": "https://github.com/liuchong/femacs/releases/download/v0.0.
|
|
2
|
+
"version": "0.0.2",
|
|
3
|
+
"tag": "v0.0.2",
|
|
4
|
+
"releaseBaseUrl": "https://github.com/liuchong/femacs/releases/download/v0.0.2",
|
|
5
5
|
"binaries": ["elisp", "femacs", "fe"],
|
|
6
6
|
"targets": {
|
|
7
7
|
"darwin-arm64": {
|
|
8
8
|
"triple": "aarch64-apple-darwin",
|
|
9
|
-
"archive": "femacs-v0.0.
|
|
9
|
+
"archive": "femacs-v0.0.2-aarch64-apple-darwin.tar.gz",
|
|
10
10
|
"format": "tar.gz",
|
|
11
|
-
"sha256": "
|
|
11
|
+
"sha256": "a0e9978b824b7ec01ca11b0bb38f500ad7e256fa560c9ceac46fb36bda59b0b5",
|
|
12
12
|
"bins": {
|
|
13
13
|
"elisp": "elisp",
|
|
14
14
|
"femacs": "femacs",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
},
|
|
18
18
|
"darwin-x64": {
|
|
19
19
|
"triple": "x86_64-apple-darwin",
|
|
20
|
-
"archive": "femacs-v0.0.
|
|
20
|
+
"archive": "femacs-v0.0.2-x86_64-apple-darwin.tar.gz",
|
|
21
21
|
"format": "tar.gz",
|
|
22
|
-
"sha256": "
|
|
22
|
+
"sha256": "1b9e2b4b91a47cfde0befaddb857dc7b5c57c2ca8ccaa1a815fc0677564018ec",
|
|
23
23
|
"bins": {
|
|
24
24
|
"elisp": "elisp",
|
|
25
25
|
"femacs": "femacs",
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
},
|
|
29
29
|
"linux-arm64": {
|
|
30
30
|
"triple": "aarch64-unknown-linux-gnu",
|
|
31
|
-
"archive": "femacs-v0.0.
|
|
31
|
+
"archive": "femacs-v0.0.2-aarch64-unknown-linux-gnu.tar.gz",
|
|
32
32
|
"format": "tar.gz",
|
|
33
|
-
"sha256": "
|
|
33
|
+
"sha256": "96d775594d9de3adc77083c5384c96b38e6d4d51251d0aa9b91b1b0b8ef89fa5",
|
|
34
34
|
"bins": {
|
|
35
35
|
"elisp": "elisp",
|
|
36
36
|
"femacs": "femacs",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
},
|
|
40
40
|
"linux-x64": {
|
|
41
41
|
"triple": "x86_64-unknown-linux-gnu",
|
|
42
|
-
"archive": "femacs-v0.0.
|
|
42
|
+
"archive": "femacs-v0.0.2-x86_64-unknown-linux-gnu.tar.gz",
|
|
43
43
|
"format": "tar.gz",
|
|
44
|
-
"sha256": "
|
|
44
|
+
"sha256": "a25d36e97993b33aacdd1ec7e474f58fd969736d7e46ab33e61d9239d5523ae4",
|
|
45
45
|
"bins": {
|
|
46
46
|
"elisp": "elisp",
|
|
47
47
|
"femacs": "femacs",
|
package/package.json
CHANGED
|
@@ -1,44 +1,27 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "femacs",
|
|
3
|
-
"version": "0.0.1",
|
|
4
|
-
"description": "Prebuilt FEmacs & standalone Elisp CLI binaries (elisp, femacs, fe) distributed as a zero-dependency launcher.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.mjs",
|
|
7
|
-
"types": "./types/index.d.ts",
|
|
8
2
|
"bin": {
|
|
9
|
-
"
|
|
10
|
-
"fe": "
|
|
11
|
-
"
|
|
3
|
+
"elisp": "dist/bin/elisp.mjs",
|
|
4
|
+
"fe": "dist/bin/fe.mjs",
|
|
5
|
+
"femacs": "dist/bin/femacs.mjs"
|
|
12
6
|
},
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"types/",
|
|
16
|
-
"manifest.json",
|
|
17
|
-
"README.md",
|
|
18
|
-
"LICENSE"
|
|
19
|
-
],
|
|
20
|
-
"scripts": {
|
|
21
|
-
"build": "sh ./scripts/build.sh",
|
|
22
|
-
"prepack": "sh ./scripts/build.sh",
|
|
23
|
-
"postinstall": "node -e \"Promise.all([import('node:fs'),import('node:url')]).then(([fs,url])=>{if(fs.existsSync('./dist/postinstall.mjs'))return import(url.pathToFileURL('./dist/postinstall.mjs').href)})\"",
|
|
24
|
-
"test": "sh ./scripts/test.sh"
|
|
7
|
+
"bugs": {
|
|
8
|
+
"url": "https://github.com/liuchong/femacs/issues"
|
|
25
9
|
},
|
|
10
|
+
"description": "Prebuilt FEmacs & standalone Elisp CLI binaries (elisp, femacs, fe) distributed as a zero-dependency launcher.",
|
|
26
11
|
"devDependencies": {
|
|
27
12
|
"eliscript": "^0.1.4"
|
|
28
13
|
},
|
|
29
14
|
"engines": {
|
|
30
15
|
"node": ">=18"
|
|
31
16
|
},
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
17
|
+
"files": [
|
|
18
|
+
"dist/",
|
|
19
|
+
"types/",
|
|
20
|
+
"manifest.json",
|
|
21
|
+
"README.md",
|
|
22
|
+
"LICENSE"
|
|
23
|
+
],
|
|
37
24
|
"homepage": "https://femacs.com/",
|
|
38
|
-
"bugs": {
|
|
39
|
-
"url": "https://github.com/liuchong/femacs/issues"
|
|
40
|
-
},
|
|
41
|
-
"license": "GPL-3.0-or-later",
|
|
42
25
|
"keywords": [
|
|
43
26
|
"femacs",
|
|
44
27
|
"fe",
|
|
@@ -47,5 +30,22 @@
|
|
|
47
30
|
"editor",
|
|
48
31
|
"cli",
|
|
49
32
|
"repl"
|
|
50
|
-
]
|
|
33
|
+
],
|
|
34
|
+
"license": "GPL-3.0-or-later",
|
|
35
|
+
"main": "./dist/index.mjs",
|
|
36
|
+
"name": "femacs",
|
|
37
|
+
"repository": {
|
|
38
|
+
"directory": "packaging/npm/femacs",
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "git+https://github.com/liuchong/femacs.git"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"build": "elisp --batch -Q --script ./scripts/build.el",
|
|
44
|
+
"postinstall": "node -e \"Promise.all([import('node:fs'),import('node:url')]).then(([fs,url])=>{if(fs.existsSync('./dist/postinstall.mjs'))return import(url.pathToFileURL('./dist/postinstall.mjs').href)})\"",
|
|
45
|
+
"prepack": "elisp --batch -Q --script ./scripts/build.el",
|
|
46
|
+
"test": "elisp --batch -Q --script ./scripts/test.el"
|
|
47
|
+
},
|
|
48
|
+
"type": "module",
|
|
49
|
+
"types": "./types/index.d.ts",
|
|
50
|
+
"version": "0.0.2"
|
|
51
51
|
}
|