@aiti-ai/aiti-feedback 0.1.2 → 0.1.3
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiti-ai/aiti-feedback",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "User feedback — compose a sanitized report and open a prefilled GitHub issue",
|
|
6
6
|
"displayNameI18n": {
|
|
@@ -28,5 +28,8 @@
|
|
|
28
28
|
"bugs": {
|
|
29
29
|
"url": "https://github.com/aiti-ai/aiti-ai/issues"
|
|
30
30
|
},
|
|
31
|
-
"contentHash": "
|
|
31
|
+
"contentHash": "71b28baf44db6abe",
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@aiti-ai/ext-shared": "^0.1.22"
|
|
34
|
+
}
|
|
32
35
|
}
|
package/tools/deploy.mjs
CHANGED
|
@@ -13,12 +13,11 @@ import { resolve } from "node:path";
|
|
|
13
13
|
import { fileURLToPath } from "node:url";
|
|
14
14
|
import { homedir } from "node:os";
|
|
15
15
|
import { execSync } from "node:child_process";
|
|
16
|
-
import { deployCommit } from "
|
|
17
|
-
import { copyIcons } from "../../_shared/ext-icons-deploy.mjs";
|
|
16
|
+
import { deployCommit } from "@aiti-ai/ext-shared/deploy-commit";
|
|
18
17
|
|
|
19
18
|
// client TS residue check (.mjs hides bad TS syntax from syntax checks; it explodes at runtime)
|
|
20
19
|
{
|
|
21
|
-
const { checkClientDir } = await import("
|
|
20
|
+
const { checkClientDir } = await import("@aiti-ai/ext-shared/check-client");
|
|
22
21
|
checkClientDir(fileURLToPath(new URL("../client", import.meta.url)), { log: (m) => console.log("[deploy] " + m) });
|
|
23
22
|
}
|
|
24
23
|
|
|
@@ -49,14 +48,13 @@ for (const extDir of targets) {
|
|
|
49
48
|
console.log("[deploy] client → " + resolve(clientDir, "aiti-feedback-client.mjs"));
|
|
50
49
|
}
|
|
51
50
|
|
|
52
|
-
for (const t of targets) copyIcons(resolve(t, "icons"), ["discussion", "message-square-text", "message-circle"], { log: (m) => console.log(m) });
|
|
53
51
|
|
|
54
52
|
deployCommit({ repo: extRepo, name: "aiti-feedback", paths: ["aiti-feedback"], ident: true, log: (m) => console.log("[deploy] " + m) });
|
|
55
53
|
|
|
56
54
|
console.log("[deploy] done. Reload via POST /api/extensions/reload; client refreshes on page reload");
|
|
57
55
|
|
|
58
56
|
try {
|
|
59
|
-
const { reloadInstances } = await import("
|
|
57
|
+
const { reloadInstances } = await import("@aiti-ai/ext-shared/reload-instances");
|
|
60
58
|
await reloadInstances();
|
|
61
59
|
} catch (e) {
|
|
62
60
|
console.log("[deploy] auto reload skipped (" + String((e && e.message) || e) + ")");
|
package/icons/discussion.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z"/><path d="M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1"/></svg>
|
package/icons/message-circle.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M7.9 20A9 9 0 1 0 4 16.1L2 22Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/><path d="M13 8H7"/><path d="M17 12H7"/></svg>
|