Skip to content

Commit

Permalink
build: bump version to v0.4.1-rc1 (#396)
Browse files Browse the repository at this point in the history
* dev: bump version to v0.4.1-rc1

* dev: update cetz-editor logging

* build: update yarn.lock
  • Loading branch information
Myriad-Dreamin authored Nov 2, 2023
1 parent af20d0c commit 001c62f
Show file tree
Hide file tree
Showing 13 changed files with 362 additions and 46 deletions.
40 changes: 20 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[workspace.package]
description = "Run Typst in JavaScriptWorld."
authors = ["Typst.ts Developers", "The Typst Project Developers"]
version = "0.4.0"
version = "0.4.1-rc1"
edition = "2021"
readme = "README.md"
license = "Apache-2.0"
Expand Down Expand Up @@ -185,21 +185,21 @@ vergen = { version = "8.2.5", features = [
] }

# project core
typst-ts-core = { version = "0.4.0", default-features = false }
typst-ts-compiler = { version = "0.4.0", default-features = false }
typst-ts-test-common = { version = "0.4.0", path = "tests/common" }
typst-ts-core = { version = "0.4.1-rc1", default-features = false }
typst-ts-compiler = { version = "0.4.1-rc1", default-features = false }
typst-ts-test-common = { version = "0.4.1-rc1", path = "tests/common" }

# project exporters
typst-ts-ast-exporter = "0.4.0"
typst-ts-pdf-exporter = "0.4.0"
typst-ts-canvas-exporter = { version = "0.4.0", path = "exporter/canvas" }
typst-ts-raster-exporter = "0.4.0"
typst-ts-serde-exporter = "0.4.0"
typst-ts-svg-exporter = "0.4.0"
typst-ts-ast-exporter = "0.4.1-rc1"
typst-ts-pdf-exporter = "0.4.1-rc1"
typst-ts-canvas-exporter = { version = "0.4.1-rc1", path = "exporter/canvas" }
typst-ts-raster-exporter = "0.4.1-rc1"
typst-ts-serde-exporter = "0.4.1-rc1"
typst-ts-svg-exporter = "0.4.1-rc1"

# project common components
typst-ts-dev-server = { version = "0.4.0", path = "server/dev" }
typst-ts-cli = { version = "0.4.0", path = "cli" }
typst-ts-dev-server = { version = "0.4.1-rc1", path = "server/dev" }
typst-ts-cli = { version = "0.4.1-rc1", path = "cli" }

[patch.crates-io]
typst-ts-core = { path = "core" }
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@myriaddreamin/typst.ts",
"version": "0.4.0",
"version": "0.4.1-rc1",
"author": "Myriad-Dreamin",
"description": "Run Typst in JavaScriptWorld.",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ web-sys = { workspace = true, features = [
console_error_panic_hook.workspace = true

typst-ts-core.workspace = true
typst-ts-compiler = { version = "0.4.0", default-features = false, features = [
typst-ts-compiler = { version = "0.4.1-rc1", default-features = false, features = [
"web",
] }
typst-ts-ast-exporter.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@myriaddreamin/typst-ts-web-compiler",
"version": "0.4.0",
"version": "0.4.1-rc1",
"description": "WASM module for Compiling Typst documents in JavaScript environment.",
"author": "Myriad-Dreamin",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/renderer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ serde-wasm-bindgen.workspace = true
web-sys = { workspace = true, features = ["console", "Window"] }

typst-ts-core.workspace = true
typst-ts-compiler = { version = "0.4.0", default-features = false, features = [
typst-ts-compiler = { version = "0.4.1-rc1", default-features = false, features = [
"web-render",
] }
typst-ts-canvas-exporter = { workspace = true, optional = true }
Expand Down
2 changes: 1 addition & 1 deletion packages/renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@myriaddreamin/typst-ts-renderer",
"version": "0.4.0",
"version": "0.4.1-rc1",
"description": "WASM module for rendering Typst documents in browser.",
"author": "Myriad-Dreamin",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/typst.angular/projects/typst.angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@myriaddreamin/typst.angular",
"version": "0.4.0",
"version": "0.4.1-rc1",
"author": "Myriad-Dreamin",
"license": "Apache-2.0",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/typst.react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@myriaddreamin/typst.react",
"version": "0.4.0",
"version": "0.4.1-rc1",
"description": "Typst.ts for React",
"author": "Myriad-Dreamin",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/typst.ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@myriaddreamin/typst.ts",
"version": "0.4.0",
"version": "0.4.1-rc1",
"description": "Run Typst in JavaScriptWorld.",
"author": "Myriad-Dreamin",
"license": "Apache-2.0",
Expand Down
8 changes: 4 additions & 4 deletions projects/cetz-editor/src/index.mts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class PreviewState {

let isMain = () => false;
if (this.previewingDef === '' || this.previewingDef == 'main') {
console.log('previewing main', $typst, this);
// console.log('previewing main', $typst, this);
content = await this.drawInteractive();
isMain = () => true;
} else {
Expand Down Expand Up @@ -381,7 +381,7 @@ import cetz.draw: *
${instances.join(INEW_LINE)}
}, length: 1pt)
`;
console.log({ mainContent });
// console.log({ mainContent });

switch (kind) {
case 'svg':
Expand Down Expand Up @@ -523,12 +523,12 @@ import cetz.draw: *
sigs.push(def.sig);
}
});
console.log(sigs);
// console.log(sigs);
return sigs;
}

flushDefinitions(editor: EditorState) {
console.log('flushDefinitions', editor);
// console.log('flushDefinitions', editor);
if (editor.definitions) {
this.definitions = new Map();
for (const def of editor.definitions) {
Expand Down
2 changes: 1 addition & 1 deletion projects/hexo-renderer-typst/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hexo-renderer-typst",
"version": "0.4.0",
"version": "0.4.1-rc1",
"description": "Typst renderer plugin for Hexo",
"author": "Myriad Dreamin <camiyoru@gmail.com>",
"license": "Apache-2.0",
Expand Down
Loading

0 comments on commit 001c62f

Please sign in to comment.