From e43bd7dad88968eaed890cdf3c7438efc7cfe2d0 Mon Sep 17 00:00:00 2001 From: Teo Stocco Date: Tue, 16 May 2023 09:47:23 +0200 Subject: [PATCH] chore: prepare release 0.1.8 (#308) --- Cargo.lock | 16 ++++++++-------- dev/lock.yml | 2 +- dev/mod.ts | 5 +++-- examples/templates/new/compose.yml | 2 +- examples/templates/new/pyproject.toml | 4 ++-- libs/common/Cargo.toml | 2 +- libs/macros/Cargo.toml | 2 +- libs/typescript/Cargo.toml | 2 +- libs/xtask/Cargo.toml | 2 +- meta-cli/Cargo.toml | 2 +- typegate/native/Cargo.toml | 2 +- typegate/tests/runtimes/wasmedge/rust/Cargo.toml | 2 +- typegate/tests/utils.ts | 4 +--- typegraph/core/Cargo.toml | 2 +- typegraph/python/pyproject.toml | 2 +- typegraph/python/typegraph/__init__.py | 2 +- typegraph/rust/Cargo.toml | 2 +- website/src/components/ChoicePicker/index.tsx | 3 ++- website/src/components/MiniQL/index.tsx | 1 + 19 files changed, 30 insertions(+), 29 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 79b0df5724..2d71b75b38 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -918,7 +918,7 @@ dependencies = [ [[package]] name = "common" -version = "0.1.7" +version = "0.1.8" dependencies = [ "anyhow", "base64 0.21.0", @@ -3170,7 +3170,7 @@ dependencies = [ [[package]] name = "macros" -version = "0.1.7" +version = "0.1.8" dependencies = [ "proc-macro2", "quote", @@ -3253,7 +3253,7 @@ dependencies = [ [[package]] name = "meta-cli" -version = "0.1.7" +version = "0.1.8" dependencies = [ "anyhow", "assert_cmd", @@ -3717,7 +3717,7 @@ dependencies = [ [[package]] name = "native" -version = "0.1.7" +version = "0.1.8" dependencies = [ "anyhow", "base64 0.21.0", @@ -7355,14 +7355,14 @@ dependencies = [ [[package]] name = "typegraph" -version = "0.1.7" +version = "0.1.8" dependencies = [ "typegraph_core", ] [[package]] name = "typegraph_core" -version = "0.1.7" +version = "0.1.8" dependencies = [ "anyhow", "enum_dispatch", @@ -7380,7 +7380,7 @@ checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" [[package]] name = "typescript" -version = "0.1.7" +version = "0.1.8" dependencies = [ "anyhow", "dprint-plugin-typescript", @@ -8215,7 +8215,7 @@ dependencies = [ [[package]] name = "xtask" -version = "0.1.7" +version = "0.1.8" dependencies = [ "anyhow", "clap", diff --git a/dev/lock.yml b/dev/lock.yml index 415cc5d78e..77097f38f7 100644 --- a/dev/lock.yml +++ b/dev/lock.yml @@ -49,7 +49,7 @@ dev: NODE_VERSION: 19.8.1 PNPM_VERSION: 8.1.0 TYPEGRAPH_VERSION: 0.0.1 - METATYPE_VERSION: 0.1.7 + METATYPE_VERSION: 0.1.8 TAGLINE: >- The low-code API platform for developers. Build modular APIs with zero-trust and serverless deployment, no matter where and how your diff --git a/dev/mod.ts b/dev/mod.ts index 4948f2704f..77bef5a4a2 100644 --- a/dev/mod.ts +++ b/dev/mod.ts @@ -36,8 +36,9 @@ export async function run( stderr: "piped", env, }).spawn(); - p.stdout.pipeTo(Deno.stdout.writable, { preventClose: true }); - p.stderr.pipeTo(Deno.stderr.writable, { preventClose: true }); + // keep pipe asynchronous till the command exists + void p.stdout.pipeTo(Deno.stdout.writable, { preventClose: true }); + void p.stderr.pipeTo(Deno.stderr.writable, { preventClose: true }); return await p.status; } diff --git a/examples/templates/new/compose.yml b/examples/templates/new/compose.yml index 3c001346ac..527900d724 100644 --- a/examples/templates/new/compose.yml +++ b/examples/templates/new/compose.yml @@ -1,6 +1,6 @@ services: typegate: - image: ghcr.io/metatypedev/typegate:v0.1.7 + image: ghcr.io/metatypedev/typegate:v0.1.8 platform: linux/amd64 restart: always ports: diff --git a/examples/templates/new/pyproject.toml b/examples/templates/new/pyproject.toml index 923793964f..5505f8696c 100644 --- a/examples/templates/new/pyproject.toml +++ b/examples/templates/new/pyproject.toml @@ -1,13 +1,13 @@ [tool.poetry] name = "example" -version = "0.1.7" +version = "0.1.8" description = "" authors = [] readme = "README.md" [tool.poetry.dependencies] python = ">=3.8,<4.0" -typegraph = "0.1.7" +typegraph = "0.1.8" [build-system] requires = ["poetry-core"] diff --git a/libs/common/Cargo.toml b/libs/common/Cargo.toml index 0ffc8d93a0..03958f981b 100644 --- a/libs/common/Cargo.toml +++ b/libs/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "common" -version = "0.1.7" +version = "0.1.8" edition = "2021" [dependencies] diff --git a/libs/macros/Cargo.toml b/libs/macros/Cargo.toml index 3064f6d709..aafe79523d 100644 --- a/libs/macros/Cargo.toml +++ b/libs/macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "macros" -version = "0.1.7" +version = "0.1.8" edition = "2021" [lib] diff --git a/libs/typescript/Cargo.toml b/libs/typescript/Cargo.toml index a3cc43f9e3..cfe2db6b3d 100644 --- a/libs/typescript/Cargo.toml +++ b/libs/typescript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "typescript" -version = "0.1.7" +version = "0.1.8" edition = "2021" [dependencies] diff --git a/libs/xtask/Cargo.toml b/libs/xtask/Cargo.toml index 13587aef95..92d82d8a21 100644 --- a/libs/xtask/Cargo.toml +++ b/libs/xtask/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xtask" -version = "0.1.7" +version = "0.1.8" edition = "2021" [dependencies] diff --git a/meta-cli/Cargo.toml b/meta-cli/Cargo.toml index ee30455cc5..210c2c98e9 100644 --- a/meta-cli/Cargo.toml +++ b/meta-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "meta-cli" -version = "0.1.7" +version = "0.1.8" edition = "2021" description = "The low-code API platform for developers. Build modular APIs with zero-trust and serverless deployment, no matter where and how your (legacy) systems are." diff --git a/typegate/native/Cargo.toml b/typegate/native/Cargo.toml index f1954108ab..134fc04cf4 100644 --- a/typegate/native/Cargo.toml +++ b/typegate/native/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "native" -version = "0.1.7" +version = "0.1.8" edition = "2021" [lib] diff --git a/typegate/tests/runtimes/wasmedge/rust/Cargo.toml b/typegate/tests/runtimes/wasmedge/rust/Cargo.toml index 6c016fde55..7c38b0029e 100644 --- a/typegate/tests/runtimes/wasmedge/rust/Cargo.toml +++ b/typegate/tests/runtimes/wasmedge/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rust" -version = "0.1.7" +version = "0.1.8" edition = "2021" [lib] diff --git a/typegate/tests/utils.ts b/typegate/tests/utils.ts index aa0db67deb..067b6bb645 100644 --- a/typegate/tests/utils.ts +++ b/typegate/tests/utils.ts @@ -65,8 +65,6 @@ export async function shell( env: { RUST_LOG: "info,meta=trace" }, }).spawn(); - const stderr = p.stderr.pipeTo(Deno.stderr.writable, { preventClose: true }); - if (stdin != null) { const w = p.stdin.getWriter(); w.write(new TextEncoder().encode(stdin)); @@ -80,7 +78,7 @@ export async function shell( out += l; } - await stderr; + await p.stderr.pipeTo(Deno.stderr.writable, { preventClose: true }); const { code, success } = await p.status; diff --git a/typegraph/core/Cargo.toml b/typegraph/core/Cargo.toml index 322ca86a58..fb3ef02a3c 100644 --- a/typegraph/core/Cargo.toml +++ b/typegraph/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "typegraph_core" -version = "0.1.7" +version = "0.1.8" edition = "2021" [lib] diff --git a/typegraph/python/pyproject.toml b/typegraph/python/pyproject.toml index e365263d11..dbe4a5a57e 100644 --- a/typegraph/python/pyproject.toml +++ b/typegraph/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "typegraph" -version = "0.1.7" +version = "0.1.8" description = "The low-code API platform for developers. Build modular APIs with zero-trust and serverless deployment, no matter where and how your (legacy) systems are." authors = ["Metatype Contributors "] license = "ELv2" diff --git a/typegraph/python/typegraph/__init__.py b/typegraph/python/typegraph/__init__.py index 451f84d713..1625871223 100644 --- a/typegraph/python/typegraph/__init__.py +++ b/typegraph/python/typegraph/__init__.py @@ -4,4 +4,4 @@ from typegraph import types as t # noqa from typegraph.graph.typegraph import TypeGraph # noqa -version = "0.1.7" +version = "0.1.8" diff --git a/typegraph/rust/Cargo.toml b/typegraph/rust/Cargo.toml index 0eaa23fadb..6cb4f6ee51 100644 --- a/typegraph/rust/Cargo.toml +++ b/typegraph/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "typegraph" -version = "0.1.7" +version = "0.1.8" edition = "2021" [dependencies] diff --git a/website/src/components/ChoicePicker/index.tsx b/website/src/components/ChoicePicker/index.tsx index a2643a22e7..ff303a2410 100644 --- a/website/src/components/ChoicePicker/index.tsx +++ b/website/src/components/ChoicePicker/index.tsx @@ -15,9 +15,10 @@ export function ChoicePicker({ choices, choice, onChange, + className, }: ChoicePickerP) { return ( -
    +
      {Object.entries(choices).map(([k, p]) => (
    • diff --git a/website/src/components/MiniQL/index.tsx b/website/src/components/MiniQL/index.tsx index 74d3c18a98..e55855cbd6 100644 --- a/website/src/components/MiniQL/index.tsx +++ b/website/src/components/MiniQL/index.tsx @@ -85,6 +85,7 @@ function MiniQLBrowser({ choices={modes} choice={mode} onChange={setMode} + className="mb-2" /> ) : null}