feat: move world implementation (#1183)

* feat: move world implementation

* dev: remove vector ir

* fix: errors

* fix: clippy

* fix: don't build world in web

* fix: unused patches

* fix: fmt

* fix: docs example

* fix: doc examples
This commit is contained in:
Myriad-Dreamin 2025-01-19 08:25:35 +08:00 committed by GitHub
parent a9437b2772
commit 6180e343e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
122 changed files with 7829 additions and 439 deletions

View file

@ -2,8 +2,7 @@ use std::sync::{Arc, LazyLock};
use ecow::{eco_format, EcoString};
use parking_lot::Mutex;
use tinymist_world::base::{EntryState, ShadowApi};
use tinymist_world::TaskInputs;
use tinymist_world::{EntryState, ShadowApi, TaskInputs};
use typlite::scopes::Scopes;
use typlite::value::Value;
use typlite::TypliteFeat;

View file

@ -6,7 +6,7 @@ mod module;
mod package;
mod tidy;
use reflexo::path::unix_slash;
use tinymist_std::path::unix_slash;
use typst::syntax::FileId;
pub(crate) use convert::convert_docs;

View file

@ -348,7 +348,7 @@ fn remove_list_annotations(s: &str) -> String {
#[cfg(test)]
mod tests {
use reflexo_typst::package::{PackageRegistry, PackageSpec};
use tinymist_world::package::{PackageRegistry, PackageSpec};
use super::{package_docs, PackageInfo};
use crate::tests::*;