incajs 0.0.1 → 0.0.3

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.
package/README.md CHANGED
@@ -6,18 +6,24 @@ SPDX-License-Identifier: MIT OR Apache-2.0
6
6
  # incajs
7
7
 
8
8
  **Incarnative.js** — a GPU-native, Webview-free desktop application
9
- framework powered by [GPUI](https://www.gpui.rs/) and QuickJS.
9
+ framework. No Chromium, no DOM: UI renders directly on the GPU via
10
+ [GPUI](https://www.gpui.rs/), driven by an embedded QuickJS runtime
11
+ ([`rquickjs`](https://github.com/DelSkayn/rquickjs)) with sub-second
12
+ startup.
10
13
 
11
- `incajs` provides the framework-agnostic JS API that talks directly to the
12
- native host bridge (`globalThis.__inca_native__`), plus first-class Vue 3
13
- support via the `incajs/vue` subpath — a custom renderer mapping Vue's
14
- `createRenderer` lifecycle methods onto this package's own typed wrapper
15
- functions. `incajs/vue`'s `@vue/runtime-core` peer dependency is optional:
16
- only import `incajs/vue` if you're building with Vue.
14
+ ## Features
17
15
 
18
- The typed wrapper functions over the native bridge, the
19
- `__inca_callbacks__` event-listener registry, and the Vue 3 renderer
20
- (node lifecycle, text/comment nodes, style/attribute/event prop patching)
21
- are implemented and tested.
16
+ - Framework-agnostic core, with first-class Vue 3 support via the
17
+ `incajs/vue` subpath (`@vue/runtime-core` is an optional peer
18
+ dependency — only needed if you import `incajs/vue`)
19
+ - Direct GPU rendering — no Chromium, no DOM
20
+ - Embedded QuickJS runtime for sub-second startup and a minimal memory
21
+ footprint
22
+
23
+ ## How it works
24
+
25
+ `incajs` is a thin, typed wrapper around the native host bridge.
26
+ `incajs/vue` is a custom renderer mapping Vue's `createRenderer`
27
+ lifecycle onto those calls.
22
28
 
23
29
  Part of [tom96da/incajs](https://github.com/tom96da/incajs).
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, u as l } from "./src-EeQFPfUI.js";
1
+ import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, u as l } from "./chunks/src-EeQFPfUI.js";
2
2
  export { a as appendChild, s as createNode, r as destroyNode, e as insertBefore, o as removeChild, l as removeEventListener, c as rootNodeId, t as setAttribute, n as setEventListener, i as setStyle };
package/dist/vue.js CHANGED
@@ -1,4 +1,4 @@
1
- import { s as e, t } from "./src-EeQFPfUI.js";
1
+ import { s as e, t } from "./chunks/src-EeQFPfUI.js";
2
2
  import { createRenderer as n } from "@vue/runtime-core";
3
3
  //#region src/vue/nodeOps.mts
4
4
  function r(e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "incajs",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "Incarnative.js — a GPU-native, Webview-free desktop application framework powered by GPUI and QuickJS. Framework-agnostic core, with first-class Vue 3 support via the incajs/vue subpath.",
5
5
  "keywords": [
6
6
  "cross-platform",
@@ -19,6 +19,7 @@
19
19
  "vue3",
20
20
  "webview-free"
21
21
  ],
22
+ "homepage": "https://tom96da.github.io/incajs/",
22
23
  "license": "(MIT OR Apache-2.0)",
23
24
  "repository": {
24
25
  "type": "git",
@@ -46,12 +47,12 @@
46
47
  "access": "public"
47
48
  },
48
49
  "devDependencies": {
49
- "@vue/runtime-core": "^3.5.42",
50
- "oxfmt": "^0.66.0",
51
- "oxlint": "^1.81.0"
50
+ "@vue/runtime-core": "^3.5.43",
51
+ "oxfmt": "^0.68.0",
52
+ "oxlint": "^1.83.0"
52
53
  },
53
54
  "peerDependencies": {
54
- "@vue/runtime-core": "^3.5.42"
55
+ "@vue/runtime-core": "^3.5.43"
55
56
  },
56
57
  "peerDependenciesMeta": {
57
58
  "@vue/runtime-core": {