octane 0.1.1

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Dominic Gannaway
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # What is octane?
2
+
3
+ [![status: alpha](https://img.shields.io/badge/status-alpha-orange)](https://www.npmjs.com/package/octane-ts)
4
+ [![npm version](https://img.shields.io/npm/v/octane-ts?logo=npm)](https://www.npmjs.com/package/octane-ts)
5
+ [![npm downloads](https://img.shields.io/npm/dm/octane-ts?logo=npm&label=downloads)](https://www.npmjs.com/package/octane-ts)
6
+
7
+ Octane is a fast, TypeScript-first UI framework, and the successor to
8
+ [Inferno](https://github.com/infernojs/inferno). It gives you the React API you
9
+ already know, a compiler that keeps the runtime small and fast, and no rules of
10
+ hooks, so you can call hooks conditionally. This package ships both the runtime
11
+ and the compiler, with the compiler exposed at `octane-ts/compiler`.
12
+
13
+ For the full story, see the
14
+ [main README](https://github.com/octane-ts/octane#readme).
15
+
16
+ Octane is alpha software. It is ready to try, but not yet ready for production.
17
+
18
+ ## License
19
+
20
+ MIT
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "octane",
3
+ "version": "0.1.1",
4
+ "license": "MIT",
5
+ "type": "module",
6
+ "description": "Template-clone UI renderer with a React-shape state model, authored in TSRX. Ships the runtime + the TSRX→octane compiler (octane-ts/compiler).",
7
+ "author": {
8
+ "name": "Dominic Gannaway",
9
+ "email": "dg@domgan.com"
10
+ },
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/octane-ts/octane.git",
17
+ "directory": "packages/octane"
18
+ },
19
+ "main": "src/index.ts",
20
+ "module": "src/index.ts",
21
+ "types": "src/index.ts",
22
+ "files": [
23
+ "src",
24
+ "README.md"
25
+ ],
26
+ "exports": {
27
+ ".": "./src/index.ts",
28
+ "./server": "./src/server/index.ts",
29
+ "./constants": "./src/constants.ts",
30
+ "./compiler": "./src/compiler/index.js",
31
+ "./compiler/vite": "./src/compiler/vite.js",
32
+ "./compiler/volar": "./src/compiler/volar.js"
33
+ },
34
+ "dependencies": {
35
+ "@tsrx/core": "^0.1.32",
36
+ "esrap": "^2.2.9"
37
+ },
38
+ "devDependencies": {
39
+ "@tsrx/react": "^0.2.32",
40
+ "esbuild": "^0.28.1",
41
+ "happy-dom": "^20.10.6",
42
+ "react": "^19.2.0",
43
+ "react-dom": "^19.2.0",
44
+ "vitest": "^4.1.9"
45
+ },
46
+ "scripts": {
47
+ "test": "vitest run",
48
+ "test:watch": "vitest"
49
+ }
50
+ }