@cordy/electro 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -721,11 +721,11 @@ var Feature = class {
721
721
  this.context.logger = this.logger;
722
722
  this.serviceManager = new ServiceManager(this.context);
723
723
  for (const service of this.config.services ?? []) this.serviceManager.register(service);
724
- this.serviceManager.startup();
725
724
  const deps = /* @__PURE__ */ new Map();
726
725
  for (const dep of features) if (dep.serviceManager) deps.set(dep.id, dep.serviceManager);
727
726
  const accessor = new ServiceAccessor(this.serviceManager, deps);
728
727
  this.context.getService = ((name) => accessor.get(name));
728
+ this.serviceManager.startup();
729
729
  this.taskManager = new TaskManager(this.context);
730
730
  for (const task of this.config.tasks ?? []) this.taskManager.register(task);
731
731
  this.context.getTask = ((name) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cordy/electro",
3
- "version": "1.0.0",
4
- "description": "Electron framework feature-first runtime, codegen, and Vite-based build system",
3
+ "version": "1.0.1",
4
+ "description": "Electron framework \u2014 feature-first runtime, codegen, and Vite-based build system",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "sideEffects": false,