build: bump typst.ts to v0.6.0-rc1 (#1707)

* build: bump typst.ts to v0.6.0-rc1

* build: update lock and docs
This commit is contained in:
Myriad-Dreamin 2025-04-29 12:46:16 +08:00 committed by GitHub
parent f503298f48
commit f33ea4913c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 65 additions and 39 deletions

21
Cargo.lock generated
View file

@ -2947,8 +2947,9 @@ dependencies = [
[[package]]
name = "reflexo"
version = "0.5.5-rc7"
source = "git+https://github.com/Myriad-Dreamin/typst.ts/?rev=72e6c9653ca410c5df0b5a01b4c4a8c8cdb1acc8#72e6c9653ca410c5df0b5a01b4c4a8c8cdb1acc8"
version = "0.6.0-rc1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6443e5fa969316c0d17cf5008d1e251aa481e35f56a9ac80cbee6fc9d4f0972a"
dependencies = [
"base64",
"bitvec",
@ -2969,13 +2970,13 @@ dependencies = [
"tinymist-std",
"tinymist-world",
"typst",
"web-time",
]
[[package]]
name = "reflexo-typst"
version = "0.5.5-rc7"
source = "git+https://github.com/Myriad-Dreamin/typst.ts/?rev=72e6c9653ca410c5df0b5a01b4c4a8c8cdb1acc8#72e6c9653ca410c5df0b5a01b4c4a8c8cdb1acc8"
version = "0.6.0-rc1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45d3f83df1cb1adde4e12bd08f492b130fb5a15809f9abd77319117bf35280ae"
dependencies = [
"codespan-reporting",
"comemo",
@ -3006,8 +3007,9 @@ dependencies = [
[[package]]
name = "reflexo-typst2vec"
version = "0.5.5-rc7"
source = "git+https://github.com/Myriad-Dreamin/typst.ts/?rev=72e6c9653ca410c5df0b5a01b4c4a8c8cdb1acc8#72e6c9653ca410c5df0b5a01b4c4a8c8cdb1acc8"
version = "0.6.0-rc1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b634221961a616a8113dde18c0211e31e6b0e914cb58b88b1b016dd5ccd196da"
dependencies = [
"bitvec",
"comemo",
@ -3032,8 +3034,9 @@ dependencies = [
[[package]]
name = "reflexo-vec2svg"
version = "0.5.5-rc7"
source = "git+https://github.com/Myriad-Dreamin/typst.ts/?rev=72e6c9653ca410c5df0b5a01b4c4a8c8cdb1acc8#72e6c9653ca410c5df0b5a01b4c4a8c8cdb1acc8"
version = "0.6.0-rc1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e05cab4dbbce6158f783181971b1b70bf25e0be46ab44cd9695f41eba8843b32"
dependencies = [
"base64",
"comemo",

View file

@ -128,11 +128,11 @@ env_logger = "0.11.3"
log = "0.4"
# Typst
reflexo = { version = "=0.5.5-rc7", default-features = false, features = [
reflexo = { version = "=0.6.0-rc1", default-features = false, features = [
"flat-vector",
] }
reflexo-typst = { version = "=0.5.5-rc7", default-features = false }
reflexo-vec2svg = { version = "=0.5.5-rc7" }
reflexo-typst = { version = "=0.6.0-rc1", default-features = false }
reflexo-vec2svg = { version = "=0.6.0-rc1" }
typst = "0.13.1"
typst-html = "0.13.1"
@ -284,9 +284,9 @@ typst-eval = { git = "https://github.com/Myriad-Dreamin/typst.git", tag = "tinym
# These patches use a different version of `reflexo`.
#
# A regular build MUST use `tag` or `rev` to specify the version of the patched crate to ensure stability.
reflexo = { git = "https://github.com/Myriad-Dreamin/typst.ts/", rev = "72e6c9653ca410c5df0b5a01b4c4a8c8cdb1acc8" }
reflexo-typst = { git = "https://github.com/Myriad-Dreamin/typst.ts/", rev = "72e6c9653ca410c5df0b5a01b4c4a8c8cdb1acc8" }
reflexo-vec2svg = { git = "https://github.com/Myriad-Dreamin/typst.ts/", rev = "72e6c9653ca410c5df0b5a01b4c4a8c8cdb1acc8" }
# reflexo = { git = "https://github.com/Myriad-Dreamin/typst.ts/", rev = "72e6c9653ca410c5df0b5a01b4c4a8c8cdb1acc8" }
# reflexo-typst = { git = "https://github.com/Myriad-Dreamin/typst.ts/", rev = "72e6c9653ca410c5df0b5a01b4c4a8c8cdb1acc8" }
# reflexo-vec2svg = { git = "https://github.com/Myriad-Dreamin/typst.ts/", rev = "72e6c9653ca410c5df0b5a01b4c4a8c8cdb1acc8" }
# These patches use local `reflexo` for development.
# reflexo = { path = "../typst.ts/crates/reflexo/" }
@ -294,16 +294,6 @@ reflexo-vec2svg = { git = "https://github.com/Myriad-Dreamin/typst.ts/", rev = "
# reflexo-vec2svg = { path = "../typst.ts/crates/conversion/vec2svg/" }
# typstyle-core = { git = "https://github.com/ParaN3xus/typstyle/", tag = "tinymist-nightly-v0.12.21-rc1" }
# typst-shim = { path = "crates/typst-shim" }
# tinymist-analysis = { path = "crates/tinymist-analysis" }
# tinymist-std = { path = "crates/tinymist-std" }
# tinymist-vfs = { path = "crates/tinymist-vfs" }
# tinymist-world = { path = "crates/tinymist-world" }
# tinymist-project = { path = "crates/tinymist-project" }
# tinymist-task = { path = "crates/tinymist-task" }
# If reflexo use the tinymist from git, you should use the following patch.
[patch."https://github.com/Myriad-Dreamin/tinymist.git"]
typst-shim = { path = "crates/typst-shim" }
tinymist-analysis = { path = "crates/tinymist-analysis" }
tinymist-std = { path = "crates/tinymist-std" }
@ -311,3 +301,13 @@ tinymist-vfs = { path = "crates/tinymist-vfs" }
tinymist-world = { path = "crates/tinymist-world" }
tinymist-project = { path = "crates/tinymist-project" }
tinymist-task = { path = "crates/tinymist-task" }
# If reflexo use the tinymist from git, you should use the following patch.
# [patch."https://github.com/Myriad-Dreamin/tinymist.git"]
# typst-shim = { path = "crates/typst-shim" }
# tinymist-analysis = { path = "crates/tinymist-analysis" }
# tinymist-std = { path = "crates/tinymist-std" }
# tinymist-vfs = { path = "crates/tinymist-vfs" }
# tinymist-world = { path = "crates/tinymist-world" }
# tinymist-project = { path = "crates/tinymist-project" }
# tinymist-task = { path = "crates/tinymist-task" }

View file

@ -115,6 +115,16 @@ Whether to trigger completions on arguments (placeholders) of snippets. For exam
- **Type**: `boolean`
## `completion.symbol`
Whether to make symbol completion stepless. For example, `$ar|$` will be completed to `$arrow.r$`. Hint: Restarting the editor is required to change this setting.
- **Type**: `string`
- **Enum**:
- `step`: Complete symbols step by step
- `stepless`: Complete symbols steplessly
- **Default**: `"step"`
## `completion.postfix`
Whether to enable postfix code completion. For example, `[A].box|` will be completed to `box[A]|`. Hint: Restarting the editor is required to change this setting.

View file

@ -221,6 +221,16 @@ Whether to trigger completions on arguments (placeholders) of snippets. For exam
- **Type**: `boolean`
## `tinymist.completion.symbol`
Whether to make symbol completion stepless. For example, `$ar|$` will be completed to `$arrow.r$`. Hint: Restarting the editor is required to change this setting.
- **Type**: `string`
- **Enum**:
- `step`: Complete symbols step by step
- `stepless`: Complete symbols steplessly
- **Default**: `"step"`
## `tinymist.completion.postfix`
Whether to enable postfix code completion. For example, `[A].box|` will be completed to `box[A]|`. Hint: Restarting the editor is required to change this setting.

View file

@ -13,12 +13,12 @@
"unlink:local": "yarn unlink @myriaddreamin/typst.ts @myriaddreamin/typst-ts-renderer"
},
"peerDependencies": {
"@myriaddreamin/typst-ts-renderer": "=0.5.5-rc7",
"@myriaddreamin/typst.ts": "=0.5.5-rc7"
"@myriaddreamin/typst-ts-renderer": "=0.6.0-rc1",
"@myriaddreamin/typst.ts": "=0.6.0-rc1"
},
"devDependencies": {
"@myriaddreamin/typst-ts-renderer": "=0.5.5-rc7",
"@myriaddreamin/typst.ts": "=0.5.5-rc7",
"@myriaddreamin/typst-ts-renderer": "=0.6.0-rc1",
"@myriaddreamin/typst.ts": "=0.6.0-rc1",
"typescript": "^5.0.2"
},
"exports": {

View file

@ -13,8 +13,8 @@
"unlink:local": "yarn unlink @myriaddreamin/typst.ts @myriaddreamin/typst-ts-renderer"
},
"dependencies": {
"@myriaddreamin/typst-ts-renderer": "=0.5.5-rc7",
"@myriaddreamin/typst.ts": "=0.5.5-rc7",
"@myriaddreamin/typst-ts-renderer": "=0.6.0-rc1",
"@myriaddreamin/typst.ts": "=0.6.0-rc1",
"typst-dom": "link:../typst-dom",
"rxjs": "^7.8.1"
}

View file

@ -363,15 +363,15 @@
resolved "https://registry.yarnpkg.com/@jspm/core/-/core-2.1.0.tgz#ee21ff64591d68de98b79ca8e4bd6c5249fded53"
integrity sha512-3sRl+pkyFY/kLmHl0cgHiFp2xEqErA8N3ECjMs7serSUBmoJ70lBa0PG5t0IM6WJgdZNyyI0R8YFfi5wM8+mzg==
"@myriaddreamin/typst-ts-renderer@=0.5.5-rc7":
version "0.5.5-rc7"
resolved "https://registry.yarnpkg.com/@myriaddreamin/typst-ts-renderer/-/typst-ts-renderer-0.5.5-rc7.tgz#df3ed6ac39cba7923d015f1f3e836b0ec325d489"
integrity sha512-DVMr2dVVhvMcKhRvveetdhPMwvr0Ck5hHGPAOmf0Z6l5QKLUduJde+0ydo+SHifPsd6N67ZJnH5bNxHsO7hIhQ==
"@myriaddreamin/typst-ts-renderer@=0.6.0-rc1":
version "0.6.0-rc1"
resolved "https://registry.yarnpkg.com/@myriaddreamin/typst-ts-renderer/-/typst-ts-renderer-0.6.0-rc1.tgz#1798933317d37204f96491d9f6a35d8885cbe35a"
integrity sha512-WZ3VpkGch2dOIZnAp73n5FpZNMntbL4D+TvywqPgfcKJFvTeKtYWcVOwGUnlf2LkDWsGCWxw723AreLkVcUyLw==
"@myriaddreamin/typst.ts@=0.5.5-rc7":
version "0.5.5-rc7"
resolved "https://registry.yarnpkg.com/@myriaddreamin/typst.ts/-/typst.ts-0.5.5-rc7.tgz#8fedeb63999ddd70a64ed402bcd8ceae2283a274"
integrity sha512-ATGhPQSoIAThRZlqcdBkCROso7UQBV4vEmE8FQZYDcOQ12JpbkJUMop/3UV0kdRhJ1XzbJxckztFxWUmDbF9/g==
"@myriaddreamin/typst.ts@=0.6.0-rc1":
version "0.6.0-rc1"
resolved "https://registry.yarnpkg.com/@myriaddreamin/typst.ts/-/typst.ts-0.6.0-rc1.tgz#678507db94bf988be5ede7266e2b2309a97955c5"
integrity sha512-RQFiiIFzzX6HCmpW2sj8kOBLZfd4W/NP6E+4sRCAItJmCJ+qoD6F0yZM3gVtRJiz0/Ll4hRfOPbuKLJyL1buOQ==
dependencies:
idb "^7.1.1"
@ -3809,6 +3809,7 @@ stoppable@^1.1.0:
integrity sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw==
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0:
name string-width-cjs
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@ -3878,6 +3879,7 @@ string_decoder@~1.1.1:
safe-buffer "~5.1.0"
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
name strip-ansi-cjs
version "6.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@ -4383,6 +4385,7 @@ workerpool@^6.5.1:
integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
name wrap-ansi-cjs
version "7.0.0"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==