@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipelab/shared",
3
- "version": "2.0.1-beta.20",
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.19"
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.19"
46
+ "@pipelab/tsconfig": "1.0.1-beta.21"
47
47
  },
48
48
  "scripts": {
49
49
  "build": "tsdown",
@@ -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
- โ„น tsdown v0.21.2 powered by rolldown v1.0.0-rc.9
7
- โ„น entry: src/index.ts
8
- โ„น tsconfig: tsconfig.json
9
- โ„น Build start
10
- โ„น Cleaning 4 files
11
- โ„น Hint: consider adding deps.onlyBundle option to avoid unintended bundling of dependencies, or set deps.onlyBundle: false to disable this hint.
12
- See more at https://tsdown.dev/options/dependencies#deps-onlybundle
13
- Detected dependencies in bundle:
14
- - electron
15
- - @vue/shared
16
- - @vue/reactivity
17
- - @vue/runtime-core
18
- - @vue/runtime-dom
19
- - vue
20
- - entities
21
- - @babel/parser
22
- - estree-walker
23
- - source-map-js
24
- - @vue/compiler-core
25
- - @vue/compiler-dom
26
- โ„น dist/index.mjs  1.65 MB
27
- โ„น dist/index.mjs.map  2.94 MB
28
- โ„น dist/index.d.mts.map 133.76 kB โ”‚ gzip: 36.66 kB
29
- โ„น dist/index.d.mts 147.39 kB โ”‚ gzip: 26.77 kB
30
- โ„น 4 files, total: 4.87 MB
31
- src/plugins/definitions.d.ts (2:9) [MISSING_EXPORT] Warning: "OpenDialogOptions" is not exported by "../../node_modules/electron/electron.d.ts".
32
- โ•ญโ”€[ src/plugins/definitions.d.ts:2:10 ]
33
- โ”‚
34
- 2 โ”‚ import { OpenDialogOptions } from "electron";
35
-  โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
36
-  โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Missing export
37
-  โ”‚
38
-  โ”‚ Note: 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
- โ”€โ”€โ”€โ•ฏ
40
-
41
- โœ” Build complete in 2179ms
@@ -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
- โš  ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\eslint(no-unused-vars)]8;;\: Catch parameter 'e' is caught but never used.
8
- โ•ญโ”€[src/evaluator.ts:30:16]
9
- 29 โ”‚ continue;
10
- 30 โ”‚ } catch (e) {
11
- ยท  โ”ฌ
12
- ยท โ•ฐโ”€โ”€ 'e' is declared here
13
- 31 โ”‚ // Not a simple JSON value, proceed to QuickJS evaluation
14
- โ•ฐโ”€โ”€โ”€โ”€
15
-  help: Consider handling this error.
16
-
17
- โš  ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\eslint(no-unused-vars)]8;;\: Identifier 'IpcMessage' is imported but never used.
18
- โ•ญโ”€[src/websocket.types.ts:1:39]
19
- 1 โ”‚ import { Channels, Data, Events, End, IpcMessage, RequestId } from "./apis";
20
- ยท  โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€
21
- ยท โ•ฐโ”€โ”€ 'IpcMessage' is imported here
22
- 2 โ”‚ import { WebSocket as WSWebSocket } from "ws";
23
- โ•ฐโ”€โ”€โ”€โ”€
24
-  help: Consider removing this import.
25
-
26
- โš  ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\eslint(no-unused-vars)]8;;\: Parameter 'requestId' is declared but never used. Unused parameters should start with a '_'.
27
- โ•ญโ”€[src/websocket.types.ts:152:5]
28
- 151 โ”‚ public timeout: number,
29
- 152 โ”‚ requestId?: RequestId,
30
- ยท  โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€
31
- ยท โ•ฐโ”€โ”€ 'requestId' is declared here
32
- 153 โ”‚ ) {
33
- โ•ฐโ”€โ”€โ”€โ”€
34
-  help: Consider removing this parameter.
35
-
36
- โš  ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\eslint(no-unused-vars)]8;;\: Variable 'pluginDefinition' is declared but never used. Unused variables should start with a '_'.
37
- โ•ญโ”€[src/graph.ts:64:11]
38
- 63 โ”‚
39
- 64 โ”‚ const pluginDefinition = getPluginDefinition(node.origin.pluginId, options.definitions);
40
- ยท  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€
41
- ยท โ•ฐโ”€โ”€ 'pluginDefinition' is declared here
42
- 65 โ”‚ const nodeDefinition = getNodeDefinition(
43
- โ•ฐโ”€โ”€โ”€โ”€
44
-  help: Consider removing this declaration.
45
-
46
- โš  ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\eslint(no-unused-vars)]8;;\: Identifier 'AppConfig' is imported but never used.
47
- โ•ญโ”€[src/apis.ts:5:10]
48
- 4 โ”‚ import { PresetResult, Steps } from "./model";
49
- 5 โ”‚ import { AppConfig } from "./config.schema";
50
- ยท  โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€
51
- ยท โ•ฐโ”€โ”€ 'AppConfig' is imported here
52
- 6 โ”‚ import { Agent } from "./websocket.types";
53
- โ•ฐโ”€โ”€โ”€โ”€
54
-  help: Consider removing this import.
55
-
56
- โš  ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\eslint(no-unused-vars)]8;;\: Identifier 'RetentionPolicy' is imported but never used.
57
- โ•ญโ”€[src/apis.ts:12:3]
58
- 11 โ”‚ BuildHistoryConfig,
59
- 12 โ”‚ RetentionPolicy,
60
- ยท  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€
61
- ยท โ•ฐโ”€โ”€ 'RetentionPolicy' is imported here
62
- 13 โ”‚ } from "./build-history";
63
- โ•ฐโ”€โ”€โ”€โ”€
64
-  help: Consider removing this import.
65
-
66
- โš  ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\eslint(no-unused-vars)]8;;\: Variable 'locale' is declared but never used. Unused variables should start with a '_'.
67
- โ•ญโ”€[src/config/migrators.ts:80:17]
68
- 79 โ”‚ down: (state) => {
69
- 80 โ”‚ const { locale, ...rest } = state as AppConfigV4;
70
- ยท  โ”€โ”€โ”€โ”ฌโ”€โ”€
71
- ยท โ•ฐโ”€โ”€ 'locale' is declared here
72
- 81 โ”‚ return rest as unknown as AppConfigV3;
73
- โ•ฐโ”€โ”€โ”€โ”€
74
-  help: Consider removing this declaration.
75
-
76
- โš  ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\eslint(no-unused-vars)]8;;\: Variable 'tours' is declared but never used. Unused variables should start with a '_'.
77
- โ•ญโ”€[src/config/migrators.ts:100:17]
78
-  99 โ”‚ down: (state) => {
79
- 100 โ”‚ const { tours, ...rest } = state as AppConfigV5;
80
- ยท  โ”€โ”€โ”ฌโ”€โ”€
81
- ยท โ•ฐโ”€โ”€ 'tours' is declared here
82
- 101 โ”‚ return rest as unknown as AppConfigV4;
83
- โ•ฐโ”€โ”€โ”€โ”€
84
-  help: Consider removing this declaration.
85
-
86
- โš  ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\eslint(no-unused-vars)]8;;\: Variable 'autosave' is declared but never used. Unused variables should start with a '_'.
87
- โ•ญโ”€[src/config/migrators.ts:111:17]
88
- 110 โ”‚ down: (state) => {
89
- 111 โ”‚ const { autosave, ...rest } = state as AppConfigV6;
90
- ยท  โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€
91
- ยท โ•ฐโ”€โ”€ 'autosave' is declared here
92
- 112 โ”‚ return rest as unknown as AppConfigV5;
93
- โ•ฐโ”€โ”€โ”€โ”€
94
-  help: Consider removing this declaration.
95
-
96
- โš  ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\eslint(no-unused-vars)]8;;\: Variable 'agents' is declared but never used. Unused variables should start with a '_'.
97
- โ•ญโ”€[src/config/migrators.ts:122:17]
98
- 121 โ”‚ down: (state) => {
99
- 122 โ”‚ const { agents, ...rest } = state as AppConfigV7;
100
- ยท  โ”€โ”€โ”€โ”ฌโ”€โ”€
101
- ยท โ•ฐโ”€โ”€ 'agents' is declared here
102
- 123 โ”‚ return rest as unknown as AppConfigV6;
103
- โ•ฐโ”€โ”€โ”€โ”€
104
-  help: Consider removing this declaration.
105
-
106
- โš  ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\eslint(no-unused-vars)]8;;\: Parameter 'state' is declared but never used. Unused parameters should start with a '_'.
107
- โ•ญโ”€[src/config/migrators.ts:186:14]
108
- 185 โ”‚ up: finalVersion,
109
- 186 โ”‚ down: (state) => {
110
- ยท  โ”€โ”€โ”ฌโ”€โ”€
111
- ยท โ•ฐโ”€โ”€ 'state' is declared here
112
- 187 โ”‚ throw new Error("Cannot downgrade to version 1.0.0");
113
- โ•ฐโ”€โ”€โ”€โ”€
114
-  help: Consider removing this parameter.
115
-
116
- โš  ]8;;https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-parameter-property-assignment.html\typescript-eslint(no-unnecessary-parameter-property-assignment)]8;;\: Assignment of parameter property is unnecessary
117
- โ•ญโ”€[src/quickjs.ts:12:5]
118
- 11 โ”‚ super(description);
119
- 12 โ”‚ this.name = name;
120
- ยท  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
121
- 13 โ”‚ }
122
- โ•ฐโ”€โ”€โ”€โ”€
123
-  help: Remove the unnecessary assignment
124
-
125
- โš  ]8;;https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html\eslint(no-unused-vars)]8;;\: Type 'BrowserWindow' is imported but never used.
126
- โ•ญโ”€[src/plugins/definitions.ts:2:15]
127
- 1 โ”‚ import type { ConditionalPick } from "type-fest";
128
- 2 โ”‚ import type { BrowserWindow, OpenDialogOptions } from "electron";
129
- ยท  โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€
130
- ยท โ•ฐโ”€โ”€ 'BrowserWindow' is imported here
131
- 3 โ”‚
132
- โ•ฐโ”€โ”€โ”€โ”€
133
-  help: Consider removing this import.
134
-
135
- Found 13 warnings and 0 errors.
136
- Finished in 20ms on 35 files with 93 rules using 16 threads.