ziex/build.zig.zon
2026-07-18 16:02:20 +06:00

58 lines
2.4 KiB
Zig

.{
.name = .ziex,
.version = "0.1.0-dev",
.description = "Ziex is a framework for building web applications with Zig.",
.repository = "https://github.com/ziex-dev/ziex",
.homepage = "https://ziex.dev",
.fingerprint = 0x249409a7bd1c7667,
.minimum_zig_version = "0.17.0-dev.1398+cb5635714",
.dependencies = .{
// Ziex JS - The JavaScript glue code for csr/wasi/cloudflare/aws-lambda/vercel/react
.ziex_js = .{
// TODO: publish to github packages and use from there instead
.url = "https://registry.npmjs.org/ziex/-/ziex-0.1.0-dev.1382.tgz",
.hash = "ziex_js-0.1.0-dev-v1W0Ge0RBACcCGoBYR-Ltt1BSWi2I50dZL68YRsddiWL",
},
.ziex_jsbindings = .{ .path = "pkg/ziex", .lazy = true }, // source of JS Bindings to be built with esbuild
// httpz - HTTP server for Ziex
.httpz = .{
.url = "git+https://github.com/ziex-dev/httpz.git?ref=dev#49684ddd1fb030f72594cce8370b076dfa922ff9",
.hash = "httpz-0.0.0-PNVzrATcCADK2AQ3S7KDpH49xF3iMZ6Itih2-uBglAae",
},
// Ziex Language Server utilities
// .zls = .{
// .url = "git+https://github.com/ziex-dev/zls.git#8da87d4f3305a550e7b739bad764e34bf1e46a08",
// .hash = "zls-0.17.0-dev-rmm5fhsnJgACAm2dSuoMNDK6QziDk419sy5-ORvIiL0y",
// .lazy = true,
// },
.db_sqlite = .{ .path = "pkg/db-sqlite", .lazy = true },
.db_postgres = .{ .path = "pkg/db-postgres", .lazy = true },
//TODO: Get rid of zli in favor of copying from Zig's new builtin args parser once 0.16.0 is released
.zli = .{ .path = "vendor/cliz" },
.zig_js = .{ .path = "vendor/jsz" },
.tree_sitter = .{ .path = "vendor/zig-tree-sitter" },
.tree_sitter_zx = .{ .path = "pkg/tree-sitter-zx" },
.tree_sitter_mdzx = .{ .path = "pkg/tree-sitter-mdzx" },
},
.paths = .{
"README.md",
"build.zig",
"build.zig.zon",
"src",
"pkg/db-sqlite",
"pkg/db-postgres",
"pkg/tree-sitter-zx",
"pkg/tree-sitter-mdzx",
"pkg/ziex",
"pkg/plugin-esbuild",
"pkg/plugin-system",
"pkg/plugin-typescript",
"vendor/cliz",
"vendor/jsz",
"vendor/zig-tree-sitter",
"templates/Template.zig",
"templates/_base",
"templates/_docker",
},
}