@electrojs/codegen 1.0.3 → 1.0.5

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 +2 -0
  2. package/package.json +20 -8
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Code generator for Electro's module runtime — scans decorator metadata from source and emits preload scripts, runtime registry, and environment type declarations.
4
4
 
5
+ Documentation: https://electrojs.myraxbyte.dev/advanced/codegen
6
+
5
7
  `@electrojs/codegen` provides the `scan` → `generate` pipeline that powers `electro generate` and runs automatically during `electro dev` and `electro build`. It uses the OXC parser to extract `@Module`, `@Injectable`, `@Window`, `@View`, `@command`, `@query`, `@signal`, and `@job` decorators from TypeScript source without executing it.
6
8
 
7
9
  ---
package/package.json CHANGED
@@ -1,8 +1,20 @@
1
1
  {
2
2
  "name": "@electrojs/codegen",
3
- "version": "1.0.3",
4
- "description": "Code generator for electro module runtime scans modules/views and emits bridge and registry artifacts",
3
+ "version": "1.0.5",
4
+ "description": "TypeScript code generation for ElectroJS preload scripts, typed IPC, and runtime registry",
5
+ "keywords": [
6
+ "ast",
7
+ "codegen",
8
+ "electrojs",
9
+ "electron",
10
+ "ipc",
11
+ "preload",
12
+ "typescript"
13
+ ],
5
14
  "homepage": "https://electrojs.myraxbyte.dev/",
15
+ "bugs": {
16
+ "url": "https://github.com/MyraxByte/electrojs/issues"
17
+ },
6
18
  "license": "MIT",
7
19
  "repository": {
8
20
  "type": "git",
@@ -31,14 +43,14 @@
31
43
  "devDependencies": {
32
44
  "tsdown": "^0.21.4",
33
45
  "vitest": "^4.1.1",
34
- "@electrojs/common": "1.0.3",
35
- "@electrojs/config": "1.0.3",
36
- "@electrojs/runtime": "1.0.3"
46
+ "@electrojs/runtime": "1.0.5",
47
+ "@electrojs/common": "1.0.5",
48
+ "@electrojs/config": "1.0.5"
37
49
  },
38
50
  "peerDependencies": {
39
- "@electrojs/common": "1.0.3",
40
- "@electrojs/config": "1.0.3",
41
- "@electrojs/runtime": "1.0.3",
51
+ "@electrojs/common": "1.0.5",
52
+ "@electrojs/config": "1.0.5",
53
+ "@electrojs/runtime": "1.0.5",
42
54
  "@types/node": "^25.5.0"
43
55
  },
44
56
  "scripts": {