@pyreon/compiler 0.1.0

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/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@pyreon/compiler",
3
+ "version": "0.1.0",
4
+ "description": "Template and JSX compiler for Pyreon",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/pyreon/pyreon.git",
9
+ "directory": "packages/compiler"
10
+ },
11
+ "homepage": "https://github.com/pyreon/pyreon/tree/main/packages/compiler#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/pyreon/pyreon/issues"
14
+ },
15
+ "files": [
16
+ "lib",
17
+ "src",
18
+ "README.md",
19
+ "LICENSE"
20
+ ],
21
+ "sideEffects": false,
22
+ "type": "module",
23
+ "main": "./lib/index.js",
24
+ "module": "./lib/index.js",
25
+ "types": "./lib/types/index.d.ts",
26
+ "exports": {
27
+ ".": {
28
+ "bun": "./src/index.ts",
29
+ "import": "./lib/index.js",
30
+ "types": "./lib/types/index.d.ts"
31
+ }
32
+ },
33
+ "scripts": {
34
+ "build": "vl_rolldown_build",
35
+ "dev": "vl_rolldown_build-watch",
36
+ "test": "vitest run",
37
+ "typecheck": "tsc --noEmit",
38
+ "prepublishOnly": "bun run build"
39
+ },
40
+ "peerDependencies": {
41
+ "typescript": ">=5.0.0"
42
+ }
43
+ }
package/src/index.ts ADDED
@@ -0,0 +1,4 @@
1
+ // @pyreon/compiler — JSX reactive transform for Pyreon
2
+
3
+ export type { CompilerWarning, TransformResult } from "./jsx"
4
+ export { transformJSX } from "./jsx"