@pipelab/shared 2.0.1-beta.20 โ 2.0.1-beta.22
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/CHANGELOG.md +16 -0
- package/dist/index.d.mts +22 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/.turbo/turbo-build.log +0 -41
- package/.turbo/turbo-lint.log +0 -136
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipelab/shared",
|
|
3
|
-
"version": "2.0.1-beta.
|
|
3
|
+
"version": "2.0.1-beta.22",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shared logic and types for the Pipelab ecosystem",
|
|
6
6
|
"license": "FSL-1.1-MIT",
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"tslog": "4.9.3",
|
|
38
38
|
"type-fest": "4.26.1",
|
|
39
39
|
"valibot": "0.42.1",
|
|
40
|
-
"@pipelab/migration": "1.0.1-beta.
|
|
40
|
+
"@pipelab/migration": "1.0.1-beta.21"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"esbuild-plugin-wasm": "1.1.0",
|
|
44
44
|
"tsdown": "0.21.2",
|
|
45
45
|
"typescript": "5.9.3",
|
|
46
|
-
"@pipelab/tsconfig": "1.0.1-beta.
|
|
46
|
+
"@pipelab/tsconfig": "1.0.1-beta.21"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsdown",
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
> @pipelab/shared@2.0.1-beta.18 build /run/media/armaldio/SSD/Projects/Pipelab/pipelab/packages/shared
|
|
4
|
-
> tsdown
|
|
5
|
-
|
|
6
|
-
[34mโน[39m tsdown [2mv0.21.2[22m powered by rolldown [2mv1.0.0-rc.9[22m
|
|
7
|
-
[34mโน[39m entry: [34msrc/index.ts[39m
|
|
8
|
-
[34mโน[39m tsconfig: [34mtsconfig.json[39m
|
|
9
|
-
[34mโน[39m Build start
|
|
10
|
-
[34mโน[39m Cleaning 4 files
|
|
11
|
-
[34mโน[39m Hint: consider adding [34mdeps.onlyBundle[39m option to avoid unintended bundling of dependencies, or set [34mdeps.onlyBundle: false[39m to disable this hint.
|
|
12
|
-
See more at [4mhttps://tsdown.dev/options/dependencies#deps-onlybundle[24m
|
|
13
|
-
Detected dependencies in bundle:
|
|
14
|
-
- [34melectron[39m
|
|
15
|
-
- [34m@vue/shared[39m
|
|
16
|
-
- [34m@vue/reactivity[39m
|
|
17
|
-
- [34m@vue/runtime-core[39m
|
|
18
|
-
- [34m@vue/runtime-dom[39m
|
|
19
|
-
- [34mvue[39m
|
|
20
|
-
- [34mentities[39m
|
|
21
|
-
- [34m@babel/parser[39m
|
|
22
|
-
- [34mestree-walker[39m
|
|
23
|
-
- [34msource-map-js[39m
|
|
24
|
-
- [34m@vue/compiler-core[39m
|
|
25
|
-
- [34m@vue/compiler-dom[39m
|
|
26
|
-
[34mโน[39m [2mdist/[22m[1mindex.mjs[22m [2m 1.65 MB[22m
|
|
27
|
-
[34mโน[39m [2mdist/[22mindex.mjs.map [2m 2.94 MB[22m
|
|
28
|
-
[34mโน[39m [2mdist/[22mindex.d.mts.map [2m133.76 kB[22m [2mโ gzip: 36.66 kB[22m
|
|
29
|
-
[34mโน[39m [2mdist/[22m[32m[1mindex.d.mts[22m[39m [2m147.39 kB[22m [2mโ gzip: 26.77 kB[22m
|
|
30
|
-
[34mโน[39m 4 files, total: 4.87 MB
|
|
31
|
-
src/plugins/definitions.d.ts (2:9) [33m[MISSING_EXPORT] Warning:[0m "OpenDialogOptions" is not exported by "../../node_modules/electron/electron.d.ts".
|
|
32
|
-
[38;5;246mโญ[0m[38;5;246mโ[0m[38;5;246m[[0m src/plugins/definitions.d.ts:2:10 [38;5;246m][0m
|
|
33
|
-
[38;5;246mโ[0m
|
|
34
|
-
[38;5;246m2 โ[0m [38;5;249mi[0m[38;5;249mm[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m [0mOpenDialogOptions[38;5;249m [0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m[38;5;249m"[0m[38;5;249me[0m[38;5;249ml[0m[38;5;249me[0m[38;5;249mc[0m[38;5;249mt[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249m"[0m[38;5;249m;[0m
|
|
35
|
-
[38;5;240m โ[0m โโโโโโโโโฌโโโโโโโโ
|
|
36
|
-
[38;5;240m โ[0m โฐโโโโโโโโโโ Missing export
|
|
37
|
-
[38;5;240m โ[0m
|
|
38
|
-
[38;5;240m โ[0m [38;5;115mNote[0m: If you meant to import a type rather than a value, make sure to add the `type` modifier (e.g. `import { type Foo } from 'electron'`).
|
|
39
|
-
[38;5;246mโโโโฏ[0m
|
|
40
|
-
|
|
41
|
-
[32mโ[39m Build complete in [32m2179ms[39m
|
package/.turbo/turbo-lint.log
DELETED
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
> @pipelab/shared@2.0.1-beta.5 lint /run/media/armaldio/SSD/Projects/Pipelab/pipelab/packages/shared
|
|
4
|
-
> oxlint .
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
[38;2;244;191;117;1mโ [0m ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\[38;2;244;191;117;1meslint(no-unused-vars)[0m]8;;\: [38;2;244;191;117;1mCatch parameter 'e' is caught but never used.[0m
|
|
8
|
-
โญโ[[38;2;92;157;255;1msrc/evaluator.ts[0m:30:16]
|
|
9
|
-
[2m29[0m โ continue;
|
|
10
|
-
[2m30[0m โ } catch (e) {
|
|
11
|
-
ยท [38;2;246;87;248m โฌ[0m
|
|
12
|
-
ยท [38;2;246;87;248mโฐโโ [38;2;246;87;248m'e' is declared here[0m[0m
|
|
13
|
-
[2m31[0m โ // Not a simple JSON value, proceed to QuickJS evaluation
|
|
14
|
-
โฐโโโโ
|
|
15
|
-
[38;2;106;159;181m help: [0mConsider handling this error.
|
|
16
|
-
|
|
17
|
-
[38;2;244;191;117;1mโ [0m ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\[38;2;244;191;117;1meslint(no-unused-vars)[0m]8;;\: [38;2;244;191;117;1mIdentifier 'IpcMessage' is imported but never used.[0m
|
|
18
|
-
โญโ[[38;2;92;157;255;1msrc/websocket.types.ts[0m:1:39]
|
|
19
|
-
[2m1[0m โ import { Channels, Data, Events, End, IpcMessage, RequestId } from "./apis";
|
|
20
|
-
ยท [38;2;246;87;248m โโโโโโฌโโโโ[0m
|
|
21
|
-
ยท [38;2;246;87;248mโฐโโ [38;2;246;87;248m'IpcMessage' is imported here[0m[0m
|
|
22
|
-
[2m2[0m โ import { WebSocket as WSWebSocket } from "ws";
|
|
23
|
-
โฐโโโโ
|
|
24
|
-
[38;2;106;159;181m help: [0mConsider removing this import.
|
|
25
|
-
|
|
26
|
-
[38;2;244;191;117;1mโ [0m ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\[38;2;244;191;117;1meslint(no-unused-vars)[0m]8;;\: [38;2;244;191;117;1mParameter 'requestId' is declared but never used. Unused parameters should start with a '_'.[0m
|
|
27
|
-
โญโ[[38;2;92;157;255;1msrc/websocket.types.ts[0m:152:5]
|
|
28
|
-
[2m151[0m โ public timeout: number,
|
|
29
|
-
[2m152[0m โ requestId?: RequestId,
|
|
30
|
-
ยท [38;2;246;87;248m โโโโโฌโโโโ[0m
|
|
31
|
-
ยท [38;2;246;87;248mโฐโโ [38;2;246;87;248m'requestId' is declared here[0m[0m
|
|
32
|
-
[2m153[0m โ ) {
|
|
33
|
-
โฐโโโโ
|
|
34
|
-
[38;2;106;159;181m help: [0mConsider removing this parameter.
|
|
35
|
-
|
|
36
|
-
[38;2;244;191;117;1mโ [0m ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\[38;2;244;191;117;1meslint(no-unused-vars)[0m]8;;\: [38;2;244;191;117;1mVariable 'pluginDefinition' is declared but never used. Unused variables should start with a '_'.[0m
|
|
37
|
-
โญโ[[38;2;92;157;255;1msrc/graph.ts[0m:64:11]
|
|
38
|
-
[2m63[0m โ
|
|
39
|
-
[2m64[0m โ const pluginDefinition = getPluginDefinition(node.origin.pluginId, options.definitions);
|
|
40
|
-
ยท [38;2;246;87;248m โโโโโโโโโฌโโโโโโโ[0m
|
|
41
|
-
ยท [38;2;246;87;248mโฐโโ [38;2;246;87;248m'pluginDefinition' is declared here[0m[0m
|
|
42
|
-
[2m65[0m โ const nodeDefinition = getNodeDefinition(
|
|
43
|
-
โฐโโโโ
|
|
44
|
-
[38;2;106;159;181m help: [0mConsider removing this declaration.
|
|
45
|
-
|
|
46
|
-
[38;2;244;191;117;1mโ [0m ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\[38;2;244;191;117;1meslint(no-unused-vars)[0m]8;;\: [38;2;244;191;117;1mIdentifier 'AppConfig' is imported but never used.[0m
|
|
47
|
-
โญโ[[38;2;92;157;255;1msrc/apis.ts[0m:5:10]
|
|
48
|
-
[2m4[0m โ import { PresetResult, Steps } from "./model";
|
|
49
|
-
[2m5[0m โ import { AppConfig } from "./config.schema";
|
|
50
|
-
ยท [38;2;246;87;248m โโโโโฌโโโโ[0m
|
|
51
|
-
ยท [38;2;246;87;248mโฐโโ [38;2;246;87;248m'AppConfig' is imported here[0m[0m
|
|
52
|
-
[2m6[0m โ import { Agent } from "./websocket.types";
|
|
53
|
-
โฐโโโโ
|
|
54
|
-
[38;2;106;159;181m help: [0mConsider removing this import.
|
|
55
|
-
|
|
56
|
-
[38;2;244;191;117;1mโ [0m ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\[38;2;244;191;117;1meslint(no-unused-vars)[0m]8;;\: [38;2;244;191;117;1mIdentifier 'RetentionPolicy' is imported but never used.[0m
|
|
57
|
-
โญโ[[38;2;92;157;255;1msrc/apis.ts[0m:12:3]
|
|
58
|
-
[2m11[0m โ BuildHistoryConfig,
|
|
59
|
-
[2m12[0m โ RetentionPolicy,
|
|
60
|
-
ยท [38;2;246;87;248m โโโโโโโโฌโโโโโโโ[0m
|
|
61
|
-
ยท [38;2;246;87;248mโฐโโ [38;2;246;87;248m'RetentionPolicy' is imported here[0m[0m
|
|
62
|
-
[2m13[0m โ } from "./build-history";
|
|
63
|
-
โฐโโโโ
|
|
64
|
-
[38;2;106;159;181m help: [0mConsider removing this import.
|
|
65
|
-
|
|
66
|
-
[38;2;244;191;117;1mโ [0m ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\[38;2;244;191;117;1meslint(no-unused-vars)[0m]8;;\: [38;2;244;191;117;1mVariable 'locale' is declared but never used. Unused variables should start with a '_'.[0m
|
|
67
|
-
โญโ[[38;2;92;157;255;1msrc/config/migrators.ts[0m:80:17]
|
|
68
|
-
[2m79[0m โ down: (state) => {
|
|
69
|
-
[2m80[0m โ const { locale, ...rest } = state as AppConfigV4;
|
|
70
|
-
ยท [38;2;246;87;248m โโโโฌโโ[0m
|
|
71
|
-
ยท [38;2;246;87;248mโฐโโ [38;2;246;87;248m'locale' is declared here[0m[0m
|
|
72
|
-
[2m81[0m โ return rest as unknown as AppConfigV3;
|
|
73
|
-
โฐโโโโ
|
|
74
|
-
[38;2;106;159;181m help: [0mConsider removing this declaration.
|
|
75
|
-
|
|
76
|
-
[38;2;244;191;117;1mโ [0m ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\[38;2;244;191;117;1meslint(no-unused-vars)[0m]8;;\: [38;2;244;191;117;1mVariable 'tours' is declared but never used. Unused variables should start with a '_'.[0m
|
|
77
|
-
โญโ[[38;2;92;157;255;1msrc/config/migrators.ts[0m:100:17]
|
|
78
|
-
[2m 99[0m โ down: (state) => {
|
|
79
|
-
[2m100[0m โ const { tours, ...rest } = state as AppConfigV5;
|
|
80
|
-
ยท [38;2;246;87;248m โโโฌโโ[0m
|
|
81
|
-
ยท [38;2;246;87;248mโฐโโ [38;2;246;87;248m'tours' is declared here[0m[0m
|
|
82
|
-
[2m101[0m โ return rest as unknown as AppConfigV4;
|
|
83
|
-
โฐโโโโ
|
|
84
|
-
[38;2;106;159;181m help: [0mConsider removing this declaration.
|
|
85
|
-
|
|
86
|
-
[38;2;244;191;117;1mโ [0m ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\[38;2;244;191;117;1meslint(no-unused-vars)[0m]8;;\: [38;2;244;191;117;1mVariable 'autosave' is declared but never used. Unused variables should start with a '_'.[0m
|
|
87
|
-
โญโ[[38;2;92;157;255;1msrc/config/migrators.ts[0m:111:17]
|
|
88
|
-
[2m110[0m โ down: (state) => {
|
|
89
|
-
[2m111[0m โ const { autosave, ...rest } = state as AppConfigV6;
|
|
90
|
-
ยท [38;2;246;87;248m โโโโโฌโโโ[0m
|
|
91
|
-
ยท [38;2;246;87;248mโฐโโ [38;2;246;87;248m'autosave' is declared here[0m[0m
|
|
92
|
-
[2m112[0m โ return rest as unknown as AppConfigV5;
|
|
93
|
-
โฐโโโโ
|
|
94
|
-
[38;2;106;159;181m help: [0mConsider removing this declaration.
|
|
95
|
-
|
|
96
|
-
[38;2;244;191;117;1mโ [0m ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\[38;2;244;191;117;1meslint(no-unused-vars)[0m]8;;\: [38;2;244;191;117;1mVariable 'agents' is declared but never used. Unused variables should start with a '_'.[0m
|
|
97
|
-
โญโ[[38;2;92;157;255;1msrc/config/migrators.ts[0m:122:17]
|
|
98
|
-
[2m121[0m โ down: (state) => {
|
|
99
|
-
[2m122[0m โ const { agents, ...rest } = state as AppConfigV7;
|
|
100
|
-
ยท [38;2;246;87;248m โโโโฌโโ[0m
|
|
101
|
-
ยท [38;2;246;87;248mโฐโโ [38;2;246;87;248m'agents' is declared here[0m[0m
|
|
102
|
-
[2m123[0m โ return rest as unknown as AppConfigV6;
|
|
103
|
-
โฐโโโโ
|
|
104
|
-
[38;2;106;159;181m help: [0mConsider removing this declaration.
|
|
105
|
-
|
|
106
|
-
[38;2;244;191;117;1mโ [0m ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\[38;2;244;191;117;1meslint(no-unused-vars)[0m]8;;\: [38;2;244;191;117;1mParameter 'state' is declared but never used. Unused parameters should start with a '_'.[0m
|
|
107
|
-
โญโ[[38;2;92;157;255;1msrc/config/migrators.ts[0m:186:14]
|
|
108
|
-
[2m185[0m โ up: finalVersion,
|
|
109
|
-
[2m186[0m โ down: (state) => {
|
|
110
|
-
ยท [38;2;246;87;248m โโโฌโโ[0m
|
|
111
|
-
ยท [38;2;246;87;248mโฐโโ [38;2;246;87;248m'state' is declared here[0m[0m
|
|
112
|
-
[2m187[0m โ throw new Error("Cannot downgrade to version 1.0.0");
|
|
113
|
-
โฐโโโโ
|
|
114
|
-
[38;2;106;159;181m help: [0mConsider removing this parameter.
|
|
115
|
-
|
|
116
|
-
[38;2;244;191;117;1mโ [0m ]8;;https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-parameter-property-assignment.html\[38;2;244;191;117;1mtypescript-eslint(no-unnecessary-parameter-property-assignment)[0m]8;;\: [38;2;244;191;117;1mAssignment of parameter property is unnecessary[0m
|
|
117
|
-
โญโ[[38;2;92;157;255;1msrc/quickjs.ts[0m:12:5]
|
|
118
|
-
[2m11[0m โ super(description);
|
|
119
|
-
[2m12[0m โ this.name = name;
|
|
120
|
-
ยท [38;2;246;87;248m โโโโโโโโโโโโโโโโ[0m
|
|
121
|
-
[2m13[0m โ }
|
|
122
|
-
โฐโโโโ
|
|
123
|
-
[38;2;106;159;181m help: [0mRemove the unnecessary assignment
|
|
124
|
-
|
|
125
|
-
[38;2;244;191;117;1mโ [0m ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\[38;2;244;191;117;1meslint(no-unused-vars)[0m]8;;\: [38;2;244;191;117;1mType 'BrowserWindow' is imported but never used.[0m
|
|
126
|
-
โญโ[[38;2;92;157;255;1msrc/plugins/definitions.ts[0m:2:15]
|
|
127
|
-
[2m1[0m โ import type { ConditionalPick } from "type-fest";
|
|
128
|
-
[2m2[0m โ import type { BrowserWindow, OpenDialogOptions } from "electron";
|
|
129
|
-
ยท [38;2;246;87;248m โโโโโโโฌโโโโโโ[0m
|
|
130
|
-
ยท [38;2;246;87;248mโฐโโ [38;2;246;87;248m'BrowserWindow' is imported here[0m[0m
|
|
131
|
-
[2m3[0m โ
|
|
132
|
-
โฐโโโโ
|
|
133
|
-
[38;2;106;159;181m help: [0mConsider removing this import.
|
|
134
|
-
|
|
135
|
-
Found 13 warnings and 0 errors.
|
|
136
|
-
Finished in 20ms on 35 files with 93 rules using 16 threads.
|