[package]
edition = "2024"
rust-version = "1.97"
name = "typedshell"
version = "0.1.0"
authors = ["Twilight <hello@twlite.dev>"]
build = false
exclude = [
"/.github/",
"/.gitattributes",
"/.gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "tsh"
description = "A typed TypeScript subset compiled to standalone Bash or other shell targets"
documentation = "https://docs.rs/typedshell"
readme = "README.md"
keywords = [
"typescript",
"shell",
"compiler",
"bash",
"powershell",
]
categories = [
"command-line-utilities",
"compilers",
]
license = "MIT"
repository = "https://github.com/twlite/typedshell"
[lib]
name = "tsh"
path = "src/lib.rs"
[[bin]]
name = "tsh"
path = "src/main.rs"
[[example]]
name = "custom_backend"
path = "examples/custom_backend.rs"
[[example]]
name = "embed_file"
path = "examples/embed_file.rs"
[[example]]
name = "embed_source"
path = "examples/embed_source.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "compiler"
path = "tests/compiler.rs"
[[test]]
name = "powershell"
path = "tests/powershell.rs"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.miette]
version = "7"
features = ["fancy"]
[dependencies.oxc_allocator]
version = "0.153"
[dependencies.oxc_ast]
version = "0.153"
[dependencies.oxc_diagnostics]
version = "0.153"
[dependencies.oxc_parser]
version = "0.153"
[dependencies.oxc_semantic]
version = "0.153"
[dependencies.oxc_span]
version = "0.153"
[dependencies.oxc_syntax]
version = "0.153"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"