@_traeop_/electron-modular 1.0.5 → 1.0.6

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 +7 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Overview
4
4
 
5
- `@traeop/electron-modular` is a dependency injection framework for Electron main process. It uses TypeScript decorators to manage services, IPC handlers, and windows.
5
+ The package is a dependency injection framework for Electron main process. It uses TypeScript decorators to manage services, IPC handlers, and windows.
6
6
 
7
7
  ### Key Features
8
8
 
@@ -22,7 +22,7 @@ Initialize the framework and bootstrap all modules:
22
22
 
23
23
  ```typescript
24
24
  import { app } from "electron";
25
- import { initSettings, bootstrapModules } from "@traeop/electron-modular";
25
+ import { initSettings, bootstrapModules } from "@_traeop_/electron-modular";
26
26
  import { UserModule } from "./user/module.js";
27
27
  import { ResourcesModule } from "./resources/module.js";
28
28
 
@@ -71,7 +71,7 @@ Import a module and directly inject its exported service.
71
71
  #### Module Definition `user/module.ts`
72
72
 
73
73
  ```typescript
74
- import { RgModule } from "@traeop/electron-modular";
74
+ import { RgModule } from "@_traeop_/electron-modular";
75
75
  import { RestApiModule } from "../rest-api/module.js";
76
76
  import { UserService } from "./service.js";
77
77
  import { UserIpc } from "./ipc.js";
@@ -88,7 +88,7 @@ export class UserModule {}
88
88
  #### Service Implementation `user/service.ts`
89
89
 
90
90
  ```typescript
91
- import { Injectable } from "@traeop/electron-modular";
91
+ import { Injectable } from "@_traeop_/electron-modular";
92
92
  import { RestApiService } from "../rest-api/service.js";
93
93
 
94
94
  @Injectable()
@@ -146,7 +146,7 @@ export type TUserRestApiProvider = {
146
146
  #### Module Definition `user/module.ts`
147
147
 
148
148
  ```typescript
149
- import { RgModule } from "@traeop/electron-modular";
149
+ import { RgModule } from "@_traeop_/electron-modular";
150
150
  import { RestApiModule } from "../rest-api/module.js";
151
151
  import { RestApiService } from "../rest-api/service.js";
152
152
  import { UserService } from "./service.js";
@@ -216,7 +216,7 @@ import {
216
216
  IpcHandler,
217
217
  TIpcHandlerInterface,
218
218
  TParamOnInit,
219
- } from "@traeop/electron-modular";
219
+ } from "@_traeop_/electron-modular";
220
220
  import { UserService } from "./service.js";
221
221
 
222
222
  @IpcHandler()
@@ -241,7 +241,7 @@ export class UserIpc implements TIpcHandlerInterface {
241
241
  Manage BrowserWindow lifecycle and configuration.
242
242
 
243
243
  ```typescript
244
- import { WindowManager } from "@traeop/electron-modular";
244
+ import { WindowManager } from "@_traeop_/electron-modular";
245
245
  import type { TWindowManager } from "../types.js";
246
246
 
247
247
  @WindowManager<TWindows["userProfile"]>({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@_traeop_/electron-modular",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Core module system, DI container, IPC handlers, and window utilities for Electron main process.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",