File tree Expand file tree Collapse file tree 6 files changed +6033
-25557
lines changed Expand file tree Collapse file tree 6 files changed +6033
-25557
lines changed Original file line number Diff line number Diff line change 1+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+ // README at: https://github.com/devcontainers/templates/tree/main/src/rust
3+ {
4+ "name" : " Rust" ,
5+ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+ "image" : " mcr.microsoft.com/devcontainers/rust:1-1-bullseye" ,
7+ "runArgs" : [
8+ " --userns=keep-id" // For Podman
9+ ],
10+ "containerUser" : " vscode" // For Podman
11+ // Use 'mounts' to make the cargo cache persistent in a Docker Volume.
12+ // "mounts": [
13+ // {
14+ // "source": "devcontainer-cargo-cache-${devcontainerId}",
15+ // "target": "/usr/local/cargo",
16+ // "type": "volume"
17+ // }
18+ // ]
19+
20+ // Features to add to the dev container. More info: https://containers.dev/features.
21+ // "features": {},
22+
23+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
24+ // "forwardPorts": [],
25+
26+ // Use 'postCreateCommand' to run commands after the container is created.
27+ // "postCreateCommand": "rustc --version",
28+
29+ // Configure tool-specific properties.
30+ // "customizations": {},
31+
32+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
33+ // "remoteUser": "root"
34+ }
Original file line number Diff line number Diff line change @@ -60,4 +60,4 @@ https://typst.app/universe/package/ctxjs/
6060| 0.1.0 | 5.5.1 |
6161| 0.1.1 | 5.5.1<sup >1</sup > |
6262
63- <sup >1</sup > smaller bundle size & fix for # 2
63+ <sup >1</sup > smaller bundle size & new eval-later feature
Original file line number Diff line number Diff line change 1- cp README.md typst-package/
2- cp LICENSE typst-package/
3-
4- npm --prefix js run build
5-
6- cargo run --manifest-path typst-ctxjs-package/Cargo.toml --bin ctxjs_module_bytecode_builder echarm js/dist/echarm.js typst-package/echarm.kbc1
7- examples=" examples/*.typ"
8- for f in $examples
9- do
10- typst compile --root . $f " ${f% .* } .png"
11- done
1+ cp README.md typst-package/
2+ cp LICENSE typst-package/
3+
4+ npm --prefix js run build
5+
6+ cargo run --manifest-path typst-ctxjs-package/Cargo.toml --bin ctxjs_module_bytecode_builder echarm js/dist/echarm.js typst-package/echarm.kbc1
7+ examples=" examples/*.typ"
8+ for f in $examples
9+ do
10+ typst compile --root . $f " ${f% .* } .png"
11+ done
1212cp -r examples typst-package/
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments