ziex 0.1.0-dev.1252 → 0.1.0-dev.1259

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +41 -42
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,37 +1,47 @@
1
1
  <p align="center">
2
- <img src="https://raw.githubusercontent.com/ziex-dev/branding/main/banner.svg" alt="Ziex banner" width="100%" />
2
+ <img src="https://raw.githubusercontent.com/ziex-dev/branding/main/banner-animated.svg" alt="Ziex banner" width="100%" />
3
3
  </p>
4
4
 
5
- A full-stack web framework for Zig. Write declarative UI components using familiar JSX patterns, transpiled to efficient Zig code.
5
+ A full-stack web framework for Zig. Declarative UI components using familiar patterns, with full access to Zig's control flow.
6
6
 
7
- Ziex combines the power and performance of Zig with the expressiveness of JSX, enabling you to build fast, type-safe web applications.
7
+ Ziex combines the power and performance of Zig with the expressiveness and simplicity of declarative UI, enabling you to build fast, type-safe web applications.
8
8
 
9
9
  **[Documentation →](https://ziex.dev/learn)**
10
10
 
11
11
 
12
+ > **Note:** Most of the API and syntax are finalized and stable, and server-side rendering (SSR) features are production-ready, Ziex continues to evolve with ongoing improvements to client-side rendering and state management, see the [roadmap](#roadmap). You can start using the documented features today, as they are stable and unlikely to change. Areas still under development are not yet documented and will be added as they mature. See [versions](#versions) for Zig and Ziex versions compatibility.
12
13
 
13
- > **Note:** Most of the API and syntax are finalized and stable, and server-side rendering (SSR) features are production-ready, Ziex continues to evolve with ongoing improvements to client-side rendering and state management. You can start using the documented features today, as they are stable and unlikely to change. Areas still under development are not yet documented and will be added as they mature.
14
14
 
15
+ ## Getting Started
15
16
 
16
- ## Installation
17
+ ### 1. Installing CLI (optional)
17
18
 
18
- ##### Linux/macOS
19
+ macOS/Linux
19
20
  ```bash
20
21
  curl -fsSL https://ziex.dev/install | bash
21
22
  ```
22
-
23
- ##### Windows
24
- ```powershell
23
+ Windows
24
+ ```
25
25
  powershell -c "irm ziex.dev/install.ps1 | iex"
26
+ ```
26
27
 
28
+ ### 2. Initializing Project
29
+ ```powershell
30
+ zx init
31
+ # or
32
+ npm init ziex
27
33
  ```
28
- ##### Installing Zig
29
- ```bash
30
- brew install zig # macOS
31
- winget install -e --id zig.zig # Windows
34
+
35
+ ### 3. Running Project
36
+ ```powershell
37
+ zx dev
38
+ # or
39
+ npm run dev
32
40
  ```
33
- [_See for other platforms →_](https://ziglang.org/learn/getting-started/)
34
41
 
42
+ You will need [compatible](#versions) Zig version when using zx CLI or you can use the `Node` template from `npm init ziex`
43
+
44
+ Read [Getting Started →](https://ziex.dev/learn) for more details.
35
45
 
36
46
  ## At a Glance
37
47
 
@@ -149,36 +159,32 @@ const zx = @import("zx");
149
159
  </details>
150
160
 
151
161
  ## Features
152
- - **JSX-like Syntax**: Write declarative UI components using familiar JSX patterns, transpiled to efficient Zig code.
153
- - **Full-Stack Capabilities**: Build both frontend and backend of your web application using
154
- - **It's Fast**: Significantly faster at SSR than many other frameworks.
155
- - **Compile-time Safety**: Zig's type system catches bugs at compile time. No runtime surprises, no GC.
162
+ - **Declarative UI**: Declarative UI components using with full access to Zig's control flow.
163
+ - **Full-Stack Capabilities**: Build both frontend and backend of web application.
164
+ - **Fast**: Significantly faster at SSR than many other frameworks.
156
165
  - **Familiar Syntax**: Familiar JSX-like syntax, or plain HTML-style markup, with full access to Zig's control flow.
157
166
  - **Server-side Rendering**: Render per request on the server for dynamic data, auth, and personalized pages for best performance and SEO.
158
167
  - **Static Site Generation**: Pre-render pages at build/export time into static HTML for fast CDN delivery.
159
- - **File System Routing**: Folder structure defines routes. No configs, no magic strings, just files in folders.
160
- - **Client-side Rendering**: Optional client-side rendering for interactive experiences when you need it.
161
- - **Control Flow in Zig's Syntax**: if/else, for/while, and switch all work as expected. It's just Zig.
168
+ - **File System Routing**: Folder structure defines routes.
169
+ - **Client-side Rendering**: Client-side rendering with Zig for building interactive experiences.
162
170
  - **Developer Tooling**: CLI, hot reload, and editor extensions for the best DX.
163
171
 
164
- ## Roadmap
165
-
166
- We track our feature roadmap and bugs using GitHub Issues.
167
- You can view our current progress and planned features here:
168
-
169
- **[Check out the Ziex Issue Tracker →](https://github.com/ziex-dev/ziex/issues)**
170
-
171
172
  ## Versions
172
173
  | Zig | Ziex | Branch | Status |
173
174
  |-------------|---------------------|-------------------|----------------|
174
- | `0.17.0` | | `zig-0.17` | Unstable (dev) |
175
- | `0.16.0` | `0.1.0-dev.1068`-* | `main` | Stable (dev) |
176
- | `0.15.2` | `0.1.0-dev-1050` | `zig-0.15` | Stable (dev) |
175
+ | `0.17.x` | | `zig-0.17` | Development |
176
+ | `0.16.x` | `0.1.0-dev.1068`-* | `main` | **Latest** |
177
+ | `0.15.x` | `0.1.0-dev-1050` | `zig-0.15` | Latest (`Zig 0.15.x`) |
177
178
 
178
179
 
180
+ ## Roadmap
181
+ [Ziex 0.1.0](https://github.com/ziex-dev/ziex/milestone/2) is targeted after `Zig 0.17.0` release. You can see the [roadmap](https://github.com/ziex-dev/ziex/milestone) to learn more.
182
+
183
+ `0.1.0` release will indicate that Ziex is production ready with all majore features fully baked and will receive patch releases for bug fixes.
184
+
179
185
  ## Editor Support
180
186
 
181
- * [VSCode](https://marketplace.visualstudio.com/items?itemName=ziex.ziex)/[VSCode Forks](https://open-vsx.org/extension/ziex/ziex) Extension
187
+ * [VSCode](https://marketplace.visualstudio.com/items?itemName=ziex.ziex)/[VSCode Forks](https://open-vsx.org/extension/ziex/ziex)
182
188
  * [Neovim](/ide/neovim/)
183
189
  * [Helix](/ide/helix/)
184
190
  * [Zed](/ide/zed/)
@@ -188,16 +194,9 @@ You can view our current progress and planned features here:
188
194
  - [Discord](https://ziex.dev/r/discord)
189
195
  - [Topic on Ziggit](https://ziex.dev/r/ziggit)
190
196
  - [Project on Zig Discord Community](https://ziex.dev/r/zig-discord) (Join Zig Discord first: https://discord.gg/zig)
191
-
192
-
193
- ## Links
194
-
195
- * [Codeberg Mirror](https://codeberg.org/ziex/ziex) - ZX repository mirror on Codeberg
196
- * [ziex.dev](https://github.com/ziex-dev/ziex/tree/main/site) - Official documentation site of ZX made using ZX.
197
- * [example-blog](https://github.com/ziex-dev/example-blog) - Demo blog web application built with ZX
198
- * [zx-numbers-game](https://github.com/Andrew-Velox/zx-numbers-game) - ZX numbers game
199
- * [Comparision with other frameworks](https://ziex.dev/vs)
197
+ - [Codeberg Mirror](https://codeberg.org/ziex/ziex) - Ziex repository mirror on Codeberg
198
+ - [ziex.dev](https://github.com/ziex-dev/ziex/tree/main/site) - Official documentation site of Ziex made using Ziex.
200
199
 
201
200
  ## Contributing
202
201
 
203
- Contributions are welcome! Currently trying out ZX and reporting issues for edge cases and providing feedback are greatly appreciated.
202
+ Contributions are welcome! Currently trying out Ziex and reporting issues for edge cases and providing feedback are greatly appreciated.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ziex",
3
- "version": "0.1.0-dev.1252",
4
- "description": "ZX is a framework for building web applications with Zig.",
3
+ "version": "0.1.0-dev.1259",
4
+ "description": "Ziex is a framework for building web applications with Zig.",
5
5
  "main": "index.js",
6
6
  "type": "module",
7
7
  "bin": {
@@ -37,7 +37,7 @@
37
37
  "license": "MIT",
38
38
  "scripts": {},
39
39
  "dependencies": {
40
- "@ziex/cli": "0.1.0-dev.1252"
40
+ "@ziex/cli": "0.1.0-dev.1259"
41
41
  },
42
42
  "peerDependenciesMeta": {
43
43
  "react": {