@arcote.tech/arc-cli 0.5.0 → 0.5.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/dist/index.js +4 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -13904,7 +13904,9 @@ class LocalEventPublisher2 {
|
|
|
13904
13904
|
}
|
|
13905
13905
|
}
|
|
13906
13906
|
}
|
|
13907
|
+
console.log(`[Arc:EventPublisher] notifySubscribers type="${event.type}" subscriberKeys=${JSON.stringify([...this.subscribers.keys()])}`);
|
|
13907
13908
|
const subs = this.subscribers.get(event.type);
|
|
13909
|
+
console.log(`[Arc:EventPublisher] matched=${subs?.size ?? 0} subscribers`);
|
|
13908
13910
|
if (!subs || subs.size === 0)
|
|
13909
13911
|
return;
|
|
13910
13912
|
const promises = [];
|
|
@@ -28110,7 +28112,8 @@ function querySubscriptionHandler() {
|
|
|
28110
28112
|
};
|
|
28111
28113
|
sendData();
|
|
28112
28114
|
const element = ctx.contextHandler.getModel().context.get(descriptor.element);
|
|
28113
|
-
const
|
|
28115
|
+
const handlers = element?.getHandlers?.();
|
|
28116
|
+
const eventTypes = handlers ? Object.keys(handlers) : [];
|
|
28114
28117
|
let debounceTimer;
|
|
28115
28118
|
const debouncedSend = () => {
|
|
28116
28119
|
if (debounceTimer)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcote.tech/arc-cli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "CLI tool for Arc framework",
|
|
5
5
|
"module": "index.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"build": "bun build --target=bun ./src/index.ts --outdir=dist --external @arcote.tech/arc --external @arcote.tech/arc-ds --external @arcote.tech/arc-react --external @arcote.tech/platform && chmod +x dist/index.js"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@arcote.tech/arc": "^0.5.
|
|
16
|
-
"@arcote.tech/arc-ds": "^0.5.
|
|
17
|
-
"@arcote.tech/arc-react": "^0.5.
|
|
18
|
-
"@arcote.tech/arc-host": "^0.5.
|
|
19
|
-
"@arcote.tech/arc-adapter-db-sqlite": "^0.5.
|
|
20
|
-
"@arcote.tech/platform": "^0.5.
|
|
15
|
+
"@arcote.tech/arc": "^0.5.1",
|
|
16
|
+
"@arcote.tech/arc-ds": "^0.5.1",
|
|
17
|
+
"@arcote.tech/arc-react": "^0.5.1",
|
|
18
|
+
"@arcote.tech/arc-host": "^0.5.1",
|
|
19
|
+
"@arcote.tech/arc-adapter-db-sqlite": "^0.5.1",
|
|
20
|
+
"@arcote.tech/platform": "^0.5.1",
|
|
21
21
|
"commander": "^11.1.0",
|
|
22
22
|
"chokidar": "^3.5.3",
|
|
23
23
|
"glob": "^10.3.10",
|