Commite17c07f3Recorded1 Apr 2026Repositorysigil-web-repl

Migrate to 0.9.1 transitive deps with version ranges

Message
  • Trim deps to direct only (remove sigil-json, sigil-format)
  • Add version ranges (^0.9.0) to all dependencies
  • Remove variable indirection for repo URL
  • Generate lockfile with sigil deps install
  • Update README build instructions to show sigil deps install
Changed
 README.md   | 11 ++++-------
 package.sgl | 13 ++++---------
 sigil.lock  | 27 +++++++++++++++++++++++++++
 3 files changed, 35 insertions(+), 16 deletions(-)
Diff
README.mdmodified
@@ -21,11 +21,7 @@ Building this package requires [Emscripten](https://emscripten.org/) and the `si
21
- `sigil-web-run` - WebAssembly C runtime (from sigil monorepo)
22
- `sigil-stdlib` - Standard library
23
- `sigil-repl` - REPL commands
24
- `sigil-sxml` - SXML processing
25
- `sigil-json` - JSON handling
24
- `sigil-ansi` - Terminal color codes
27
- `sigil-format` - String formatting
28
- `sigil-markdown` - Markdown processing
25
26
## Building
27
@@ -35,14 +31,15 @@ Building requires the Emscripten SDK. On Guix systems, use the included helper s
31
# Enter an Emscripten shell (installs emsdk on first run, ~400MB)
32
./scripts/emsdk-shell
33
38
# Then build inside the shell
39
sigil build --redirects dev-redirects.sgl
+34
# Install dependencies and build inside the shell
+35
sigil deps install
+36
sigil build
37
```
38
39
Or run the build directly:
40
41
```bash
45
./scripts/emsdk-shell sigil build --redirects dev-redirects.sgl
+42
./scripts/emsdk-shell sigil deps install && ./scripts/emsdk-shell sigil build
43
```
44
45
This compiles the Sigil modules, links them into a web application (`sigil-web-repl.js` and `sigil-web-repl.wasm`), and copies the HTML assets to the output directory.
package.sglmodified
@@ -4,8 +4,6 @@
4
;;; Uses sigil-web-run as the runtime and delimited continuations for
5
;;; interactive input/output.
6
7
(define sigil-repo "codeberg:sigil/sigil")
8
7
(package
8
name: "sigil-web-repl"
9
version: "0.7.0"
@@ -44,13 +42,10 @@
42
features: '(web wasm)))
43
44
dependencies: (list
47
(from-git url: sigil-repo package: "sigil-web-run")
48
(from-git url: sigil-repo package: "sigil-stdlib")
49
(from-git url: sigil-repo package: "sigil-repl")
50
(from-git url: sigil-repo package: "sigil-json")
51
(from-git url: sigil-repo package: "sigil-ansi")
52
(from-git url: sigil-repo package: "sigil-format")
53
)
+45
(from-git url: "codeberg:sigil/sigil" package: "sigil-web-run" version: "^0.9.0")
+46
(from-git url: "codeberg:sigil/sigil" package: "sigil-stdlib" version: "^0.9.0")
+47
(from-git url: "codeberg:sigil/sigil" package: "sigil-repl" version: "^0.9.0")
+48
(from-git url: "codeberg:sigil/sigil" package: "sigil-ansi" version: "^0.9.0"))
49
50
tasks: (list
51
(task
sigil.lockadded
@@ -0,0 +1,27 @@
+1
;; Auto-generated by sigil deps install. Do not edit.
+2
(lock
+3
(package name: "sigil-web-run"
+4
url: "codeberg:sigil/sigil"
+5
ref: "^0.9.0"
+6
sha: "962b7e2788e982264792032d3ba31ed3c237334e"
+7
package-selector: "sigil-web-run"
+8
version: "0.9.1")
+9
(package name: "sigil-stdlib"
+10
url: "codeberg:sigil/sigil"
+11
ref: "^0.9.0"
+12
sha: "962b7e2788e982264792032d3ba31ed3c237334e"
+13
package-selector: "sigil-stdlib"
+14
version: "0.9.1")
+15
(package name: "sigil-repl"
+16
url: "codeberg:sigil/sigil"
+17
ref: "^0.9.0"
+18
sha: "962b7e2788e982264792032d3ba31ed3c237334e"
+19
package-selector: "sigil-repl"
+20
version: "0.9.1")
+21
(package name: "sigil-ansi"
+22
url: "codeberg:sigil/sigil"
+23
ref: "^0.9.0"
+24
sha: "962b7e2788e982264792032d3ba31ed3c237334e"
+25
package-selector: "sigil-ansi"
+26
version: "0.9.1")
+27
)