devframe 0.3.0 → 0.4.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/adapters/build.d.mts +1 -1
- package/dist/adapters/build.mjs +3 -3
- package/dist/adapters/cli.d.mts +2 -2
- package/dist/adapters/cli.mjs +1 -1
- package/dist/adapters/dev.d.mts +2 -2
- package/dist/adapters/dev.mjs +1 -1
- package/dist/adapters/embedded.d.mts +1 -1
- package/dist/adapters/mcp.d.mts +1 -3
- package/dist/adapters/mcp.mjs +3 -3
- package/dist/client/index.d.mts +4 -18
- package/dist/client/index.mjs +6 -6
- package/dist/{context-CwjX6sCG.d.mts → context-C9oW88gr.d.mts} +1 -1
- package/dist/{dev-BbmanqL7.mjs → dev-C2wjXjGB.mjs} +1 -1
- package/dist/{devframe-sc4cb5xr.d.mts → devframe-K4IxpM4a.d.mts} +64 -13
- package/dist/{dump-zMleojnD.mjs → dump-B1wd4u68.mjs} +6 -6
- package/dist/helpers/vite.d.mts +1 -1
- package/dist/helpers/vite.mjs +2 -2
- package/dist/{host-h3-TTunNr_n.mjs → host-h3-Div5Vp8R.mjs} +13 -13
- package/dist/{index-C5PmWqBf.d.mts → index-BhtRKN7X.d.mts} +1 -1
- package/dist/{index-CTK6fuXs.d.mts → index-CBSBvT9K.d.mts} +2 -2
- package/dist/index.d.mts +3 -3
- package/dist/node/auth.d.mts +2 -2
- package/dist/node/index.d.mts +5 -5
- package/dist/node/index.mjs +2 -2
- package/dist/node/internal.d.mts +2 -2
- package/dist/node/internal.mjs +1 -1
- package/dist/recipes/open-helpers.d.mts +1 -1
- package/dist/rpc/dump.d.mts +1 -1
- package/dist/rpc/dump.mjs +1 -1
- package/dist/rpc/index.d.mts +2 -2
- package/dist/rpc/index.mjs +6 -6
- package/dist/rpc/transports/ws-client.d.mts +1 -25
- package/dist/rpc/transports/ws-client.mjs +1 -1
- package/dist/rpc/transports/ws-server.d.mts +1 -1
- package/dist/rpc/transports/ws-server.mjs +1 -1
- package/dist/{serialization-BlqLh4_J.mjs → serialization-BD_qXGjd.mjs} +1 -1
- package/dist/{server-ouL4gZbu.d.mts → server-KzCqriO9.d.mts} +1 -1
- package/dist/{storage-K-OxR1xf.mjs → storage-CZVTPKsw.mjs} +1 -1
- package/dist/types/index.d.mts +3 -3
- package/dist/{types-BXL7EIDM.d.mts → types-dNW3UmMl.d.mts} +1 -1
- package/dist/utils/events.d.mts +1 -1
- package/dist/utils/shared-state.d.mts +1 -1
- package/dist/utils/streaming-channel.d.mts +1 -1
- package/dist/ws-client-BZptK_Mf.d.mts +26 -0
- package/dist/{ws-server-DOwLJL23.d.mts → ws-server-CTeMCO1r.d.mts} +2 -2
- package/package.json +4 -3
- package/dist/index-DTeZXHSi.d.mts +0 -639
package/dist/rpc/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as RpcFunctionsCollector, S as RpcFunctionType, T as Thenable, _ as RpcFunctionDefinitionAny, a as RpcDefinitionsFilter, b as RpcFunctionDefinitionToFunction, c as RpcDumpClientOptions, d as RpcDumpGetter, f as RpcDumpRecord, g as RpcFunctionDefinition, h as RpcFunctionAgentOptions, i as RpcArgsSchema, l as RpcDumpCollectionOptions, m as RpcDumpStore, n as BirpcReturn, o as RpcDefinitionsToFunctions, p as RpcDumpRecordError, r as EntriesToObject, s as RpcDump, t as BirpcFn, u as RpcDumpDefinition, v as RpcFunctionDefinitionAnyWithContext, w as RpcReturnSchema, x as RpcFunctionSetupResult, y as RpcFunctionDefinitionBase } from "../types-
|
|
2
|
-
import { C as RpcCacheManager, S as RpcFunctionsCollectorBase, _ as strictJsonStringify, a as StaticRpcDumpManifestStaticEntry, b as createDefineWrapperWithContext, c as collectStaticRpcDump, d as getDefinitionsWithDumps, f as reviveDumpError, g as STRUCTURED_CLONE_PREFIX, h as validateDefinitions, i as StaticRpcDumpManifestQueryEntry, l as createClientFromDump, m as validateDefinition, n as StaticRpcDumpFile, o as StaticRpcDumpManifestValue, p as serializeDumpError, r as StaticRpcDumpManifest, s as StaticRpcDumpSerialization, t as StaticRpcDumpCollection, u as dumpFunctions, v as getRpcHandler, w as RpcCacheOptions, x as defineRpcFunction, y as getRpcResolvedSetupResult } from "../index-
|
|
1
|
+
import { C as RpcFunctionsCollector, S as RpcFunctionType, T as Thenable, _ as RpcFunctionDefinitionAny, a as RpcDefinitionsFilter, b as RpcFunctionDefinitionToFunction, c as RpcDumpClientOptions, d as RpcDumpGetter, f as RpcDumpRecord, g as RpcFunctionDefinition, h as RpcFunctionAgentOptions, i as RpcArgsSchema, l as RpcDumpCollectionOptions, m as RpcDumpStore, n as BirpcReturn, o as RpcDefinitionsToFunctions, p as RpcDumpRecordError, r as EntriesToObject, s as RpcDump, t as BirpcFn, u as RpcDumpDefinition, v as RpcFunctionDefinitionAnyWithContext, w as RpcReturnSchema, x as RpcFunctionSetupResult, y as RpcFunctionDefinitionBase } from "../types-dNW3UmMl.mjs";
|
|
2
|
+
import { C as RpcCacheManager, S as RpcFunctionsCollectorBase, _ as strictJsonStringify, a as StaticRpcDumpManifestStaticEntry, b as createDefineWrapperWithContext, c as collectStaticRpcDump, d as getDefinitionsWithDumps, f as reviveDumpError, g as STRUCTURED_CLONE_PREFIX, h as validateDefinitions, i as StaticRpcDumpManifestQueryEntry, l as createClientFromDump, m as validateDefinition, n as StaticRpcDumpFile, o as StaticRpcDumpManifestValue, p as serializeDumpError, r as StaticRpcDumpManifest, s as StaticRpcDumpSerialization, t as StaticRpcDumpCollection, u as dumpFunctions, v as getRpcHandler, w as RpcCacheOptions, x as defineRpcFunction, y as getRpcResolvedSetupResult } from "../index-CBSBvT9K.mjs";
|
|
3
3
|
export { BirpcFn, BirpcReturn, EntriesToObject, RpcArgsSchema, RpcCacheManager, RpcCacheOptions, RpcDefinitionsFilter, RpcDefinitionsToFunctions, RpcDump, RpcDumpClientOptions, RpcDumpCollectionOptions, RpcDumpDefinition, RpcDumpGetter, RpcDumpRecord, RpcDumpRecordError, RpcDumpStore, RpcFunctionAgentOptions, RpcFunctionDefinition, RpcFunctionDefinitionAny, RpcFunctionDefinitionAnyWithContext, RpcFunctionDefinitionBase, RpcFunctionDefinitionToFunction, RpcFunctionSetupResult, RpcFunctionType, RpcFunctionsCollector, RpcFunctionsCollectorBase, RpcReturnSchema, STRUCTURED_CLONE_PREFIX, StaticRpcDumpCollection, StaticRpcDumpFile, StaticRpcDumpManifest, StaticRpcDumpManifestQueryEntry, StaticRpcDumpManifestStaticEntry, StaticRpcDumpManifestValue, StaticRpcDumpSerialization, Thenable, collectStaticRpcDump, createClientFromDump, createDefineWrapperWithContext, defineRpcFunction, dumpFunctions, getDefinitionsWithDumps, getRpcHandler, getRpcResolvedSetupResult, reviveDumpError, serializeDumpError, strictJsonStringify, validateDefinition, validateDefinitions };
|
package/dist/rpc/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as dumpFunctions$1, c as serializeDumpError$1, d as hash, i as createClientFromDump$1, l as validateDefinition, n as getRpcHandler, o as getDefinitionsWithDumps$1, r as getRpcResolvedSetupResult, s as reviveDumpError$1, t as collectStaticRpcDump$1, u as validateDefinitions } from "../dump-
|
|
1
|
+
import { a as dumpFunctions$1, c as serializeDumpError$1, d as hash, i as createClientFromDump$1, l as validateDefinition, n as getRpcHandler, o as getDefinitionsWithDumps$1, r as getRpcResolvedSetupResult, s as reviveDumpError$1, t as collectStaticRpcDump$1, u as validateDefinitions } from "../dump-B1wd4u68.mjs";
|
|
2
2
|
import { t as diagnostics } from "../diagnostics-GitRGKbr.mjs";
|
|
3
3
|
import { n as defineRpcFunction, t as createDefineWrapperWithContext } from "../define-CW9gLnyG.mjs";
|
|
4
|
-
import { n as strictJsonStringify, t as STRUCTURED_CLONE_PREFIX } from "../serialization-
|
|
4
|
+
import { n as strictJsonStringify, t as STRUCTURED_CLONE_PREFIX } from "../serialization-BD_qXGjd.mjs";
|
|
5
5
|
//#region src/rpc/cache.ts
|
|
6
6
|
/**
|
|
7
7
|
* @experimental API is expected to change.
|
|
@@ -70,13 +70,13 @@ var RpcFunctionsCollectorBase = class {
|
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
72
|
register(fn, force = false) {
|
|
73
|
-
if (this.definitions.has(fn.name) && !force) throw diagnostics.DF0021
|
|
73
|
+
if (this.definitions.has(fn.name) && !force) throw diagnostics.DF0021({ name: fn.name });
|
|
74
74
|
assertAgentJsonSerializable(fn);
|
|
75
75
|
this.definitions.set(fn.name, fn);
|
|
76
76
|
this._onChanged.forEach((cb) => cb(fn.name));
|
|
77
77
|
}
|
|
78
78
|
update(fn, force = false) {
|
|
79
|
-
if (!this.definitions.has(fn.name) && !force) throw diagnostics.DF0022
|
|
79
|
+
if (!this.definitions.has(fn.name) && !force) throw diagnostics.DF0022({ name: fn.name });
|
|
80
80
|
assertAgentJsonSerializable(fn);
|
|
81
81
|
this.definitions.set(fn.name, fn);
|
|
82
82
|
this._onChanged.forEach((cb) => cb(fn.name));
|
|
@@ -93,7 +93,7 @@ var RpcFunctionsCollectorBase = class {
|
|
|
93
93
|
}
|
|
94
94
|
getSchema(name) {
|
|
95
95
|
const definition = this.definitions.get(name);
|
|
96
|
-
if (!definition) throw diagnostics.DF0023
|
|
96
|
+
if (!definition) throw diagnostics.DF0023({ name: String(name) });
|
|
97
97
|
return {
|
|
98
98
|
args: definition.args,
|
|
99
99
|
returns: definition.returns
|
|
@@ -110,7 +110,7 @@ var RpcFunctionsCollectorBase = class {
|
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
112
|
function assertAgentJsonSerializable(fn) {
|
|
113
|
-
if (fn.agent && fn.jsonSerializable !== true) throw diagnostics.DF0019
|
|
113
|
+
if (fn.agent && fn.jsonSerializable !== true) throw diagnostics.DF0019({ name: fn.name });
|
|
114
114
|
}
|
|
115
115
|
//#endregion
|
|
116
116
|
//#region src/rpc/index.ts
|
|
@@ -1,26 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ChannelOptions } from "birpc";
|
|
3
|
-
|
|
4
|
-
//#region src/rpc/transports/ws-client.d.ts
|
|
5
|
-
interface WsRpcChannelOptions {
|
|
6
|
-
url: string;
|
|
7
|
-
onConnected?: (e: Event) => void;
|
|
8
|
-
onError?: (e: Error) => void;
|
|
9
|
-
onDisconnected?: (e: CloseEvent) => void;
|
|
10
|
-
authToken?: string;
|
|
11
|
-
/**
|
|
12
|
-
* RPC function definitions (or just the `jsonSerializable` flag per
|
|
13
|
-
* method) used to dispatch the per-call wire serializer. Pass an
|
|
14
|
-
* empty / partial map on clients that don't have the full registry —
|
|
15
|
-
* encoding falls back to structured-clone (the safer superset) and
|
|
16
|
-
* decoding still routes correctly via the wire prefix.
|
|
17
|
-
*/
|
|
18
|
-
definitions?: ReadonlyMap<string, Pick<RpcFunctionDefinitionAny, 'jsonSerializable'>>;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Build a birpc `ChannelOptions` object backed by a browser `WebSocket`.
|
|
22
|
-
* Pass the result straight to `createRpcClient`'s `channel` option.
|
|
23
|
-
*/
|
|
24
|
-
declare function createWsRpcChannel(options: WsRpcChannelOptions): ChannelOptions;
|
|
25
|
-
//#endregion
|
|
1
|
+
import { n as createWsRpcChannel, t as WsRpcChannelOptions } from "../../ws-client-BZptK_Mf.mjs";
|
|
26
2
|
export { WsRpcChannelOptions, createWsRpcChannel };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as strictJsonStringify } from "../../serialization-
|
|
1
|
+
import { n as strictJsonStringify } from "../../serialization-BD_qXGjd.mjs";
|
|
2
2
|
import { n as structuredCloneStringify, t as structuredCloneParse } from "../../structured-clone-jegjz0hM.mjs";
|
|
3
3
|
//#region src/rpc/transports/ws-client.ts
|
|
4
4
|
function NOOP() {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as WsRpcTransportOptions, r as attachWsRpcTransport, t as DevToolsNodeRpcSessionMeta } from "../../ws-server-
|
|
1
|
+
import { n as WsRpcTransportOptions, r as attachWsRpcTransport, t as DevToolsNodeRpcSessionMeta } from "../../ws-server-CTeMCO1r.mjs";
|
|
2
2
|
export { DevToolsNodeRpcSessionMeta, WsRpcTransportOptions, attachWsRpcTransport };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as strictJsonStringify } from "../../serialization-
|
|
1
|
+
import { n as strictJsonStringify } from "../../serialization-BD_qXGjd.mjs";
|
|
2
2
|
import { n as structuredCloneStringify, t as structuredCloneParse } from "../../structured-clone-jegjz0hM.mjs";
|
|
3
3
|
import { createServer } from "node:https";
|
|
4
4
|
import { WebSocketServer } from "ws";
|
|
@@ -62,7 +62,7 @@ function strictJsonStringify(value, fnName = "") {
|
|
|
62
62
|
}
|
|
63
63
|
function nonJsonAt(fnName, type, parent, key) {
|
|
64
64
|
const path = formatPath(parent, key);
|
|
65
|
-
return diagnostics.DF0020
|
|
65
|
+
return diagnostics.DF0020({
|
|
66
66
|
name: fnName || "<anonymous>",
|
|
67
67
|
type,
|
|
68
68
|
path
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { U as DevToolsRpcClientFunctions, W as DevToolsRpcServerFunctions, d as DevToolsNodeContext } from "./devframe-K4IxpM4a.mjs";
|
|
2
2
|
import { BirpcGroup } from "birpc";
|
|
3
3
|
import { WebSocketServer } from "ws";
|
|
4
4
|
import { H3 } from "h3";
|
|
@@ -99,7 +99,7 @@ function createStorage(options) {
|
|
|
99
99
|
const savedValue = JSON.parse(fs.readFileSync(options.filepath, "utf-8"));
|
|
100
100
|
initialValue = mergeInitialValue ? mergeInitialValue(options.initialValue, savedValue) : savedValue;
|
|
101
101
|
} catch (error) {
|
|
102
|
-
diagnostics.DF0012
|
|
102
|
+
diagnostics.DF0012({
|
|
103
103
|
filepath: options.filepath,
|
|
104
104
|
cause: error
|
|
105
105
|
}, { method: "warn" });
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { h as RpcFunctionAgentOptions } from "../types-
|
|
3
|
-
import { t as DevToolsNodeRpcSessionMeta } from "../ws-server-
|
|
1
|
+
import { $ as AgentResource, B as EntriesToObject, G as DevToolsRpcSharedStates, H as Thenable, J as DevToolsDiagnosticsDefinition, K as DevToolsHost, Q as AgentManifest, U as DevToolsRpcClientFunctions, V as PartialWithoutId, W as DevToolsRpcServerFunctions, X as DevToolsDiagnosticsLogger, Y as DevToolsDiagnosticsHost, Z as AgentHandle, _ as RpcStreamingChannel, a as DevframeRuntime, at as DevToolsAgentHostEvents, c as defineDevframe, ct as EventsMap, d as DevToolsNodeContext, et as AgentResourceContent, f as DevToolsNodeRpcSession, g as RpcSharedStateHost, h as RpcSharedStateGetOptions, i as DevframeDeploymentKind, it as DevToolsAgentHost, l as ConnectionMeta, m as RpcFunctionsHost, n as DevframeCliOptions, nt as AgentTool, o as DevframeSetupInfo, ot as EventEmitter, p as RpcBroadcastOptions, q as DevToolsDefineDiagnosticsOptions, r as DevframeDefinition, rt as AgentToolInput, s as DevframeSpaOptions, st as EventUnsubscribe, t as DevframeBrowserContext, tt as AgentResourceInput, u as DevToolsCapabilities, v as RpcStreamingChannelOptions, y as RpcStreamingHost, z as DevToolsViewHost } from "../devframe-K4IxpM4a.mjs";
|
|
2
|
+
import { h as RpcFunctionAgentOptions } from "../types-dNW3UmMl.mjs";
|
|
3
|
+
import { t as DevToolsNodeRpcSessionMeta } from "../ws-server-CTeMCO1r.mjs";
|
|
4
4
|
export { AgentHandle, AgentManifest, AgentResource, AgentResourceContent, AgentResourceInput, AgentTool, AgentToolInput, ConnectionMeta, DevToolsAgentHost, DevToolsAgentHostEvents, DevToolsCapabilities, DevToolsDefineDiagnosticsOptions, DevToolsDiagnosticsDefinition, DevToolsDiagnosticsHost, DevToolsDiagnosticsLogger, DevToolsHost, DevToolsNodeContext, DevToolsNodeRpcSession, DevToolsNodeRpcSessionMeta, DevToolsRpcClientFunctions, DevToolsRpcServerFunctions, DevToolsRpcSharedStates, DevToolsViewHost, DevframeBrowserContext, DevframeCliOptions, DevframeDefinition, DevframeDeploymentKind, DevframeRuntime, DevframeSetupInfo, DevframeSpaOptions, EntriesToObject, EventEmitter, EventUnsubscribe, EventsMap, PartialWithoutId, RpcBroadcastOptions, RpcFunctionAgentOptions, RpcFunctionsHost, RpcSharedStateGetOptions, RpcSharedStateHost, RpcStreamingChannel, RpcStreamingChannelOptions, RpcStreamingHost, Thenable, defineDevframe };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BirpcFn, BirpcReturn as BirpcReturn$1 } from "birpc";
|
|
2
1
|
import { GenericSchema, InferInput } from "valibot";
|
|
2
|
+
import { BirpcFn, BirpcReturn as BirpcReturn$1 } from "birpc";
|
|
3
3
|
|
|
4
4
|
//#region src/rpc/utils.d.ts
|
|
5
5
|
/** Infers TypeScript tuple type from Valibot schema array */
|
package/dist/utils/events.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as ImmutableArray, F as SharedStateEvents, I as SharedStateOptions, L as SharedStatePatch, M as ImmutableObject, N as ImmutableSet, P as SharedState, R as createSharedState, j as ImmutableMap, k as Immutable } from "../devframe-K4IxpM4a.mjs";
|
|
2
2
|
export { Immutable, ImmutableArray, ImmutableMap, ImmutableObject, ImmutableSet, SharedState, SharedStateEvents, SharedStateOptions, SharedStatePatch, createSharedState };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as StreamErrorPayload, D as createStreamReader, E as StreamSinkEvents, O as createStreamSink, S as CreateStreamSinkOptions, T as StreamSink, b as BufferedChunk, w as StreamReader, x as CreateStreamReaderOptions } from "../devframe-K4IxpM4a.mjs";
|
|
2
2
|
export { BufferedChunk, CreateStreamReaderOptions, CreateStreamSinkOptions, StreamErrorPayload, StreamReader, StreamSink, StreamSinkEvents, createStreamReader, createStreamSink };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { _ as RpcFunctionDefinitionAny } from "./types-dNW3UmMl.mjs";
|
|
2
|
+
import { ChannelOptions } from "birpc";
|
|
3
|
+
|
|
4
|
+
//#region src/rpc/transports/ws-client.d.ts
|
|
5
|
+
interface WsRpcChannelOptions {
|
|
6
|
+
url: string;
|
|
7
|
+
onConnected?: (e: Event) => void;
|
|
8
|
+
onError?: (e: Error) => void;
|
|
9
|
+
onDisconnected?: (e: CloseEvent) => void;
|
|
10
|
+
authToken?: string;
|
|
11
|
+
/**
|
|
12
|
+
* RPC function definitions (or just the `jsonSerializable` flag per
|
|
13
|
+
* method) used to dispatch the per-call wire serializer. Pass an
|
|
14
|
+
* empty / partial map on clients that don't have the full registry —
|
|
15
|
+
* encoding falls back to structured-clone (the safer superset) and
|
|
16
|
+
* decoding still routes correctly via the wire prefix.
|
|
17
|
+
*/
|
|
18
|
+
definitions?: ReadonlyMap<string, Pick<RpcFunctionDefinitionAny, 'jsonSerializable'>>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Build a birpc `ChannelOptions` object backed by a browser `WebSocket`.
|
|
22
|
+
* Pass the result straight to `createRpcClient`'s `channel` option.
|
|
23
|
+
*/
|
|
24
|
+
declare function createWsRpcChannel(options: WsRpcChannelOptions): ChannelOptions;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { createWsRpcChannel as n, WsRpcChannelOptions as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as RpcFunctionDefinitionAny } from "./types-
|
|
1
|
+
import { _ as RpcFunctionDefinitionAny } from "./types-dNW3UmMl.mjs";
|
|
2
2
|
import { BirpcGroup, ChannelOptions } from "birpc";
|
|
3
|
+
import { IncomingMessage } from "node:http";
|
|
3
4
|
import { ServerOptions } from "node:https";
|
|
4
5
|
import { WebSocket, WebSocketServer } from "ws";
|
|
5
|
-
import { IncomingMessage } from "node:http";
|
|
6
6
|
|
|
7
7
|
//#region src/rpc/transports/ws-server.d.ts
|
|
8
8
|
interface DevToolsNodeRpcSessionMeta {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devframe",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.1",
|
|
5
5
|
"description": "Framework for building generic DevTools",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"./utils/when": "./dist/utils/when.mjs",
|
|
55
55
|
"./package.json": "./package.json"
|
|
56
56
|
},
|
|
57
|
-
"types": "./dist/index.d.
|
|
57
|
+
"types": "./dist/index.d.mts",
|
|
58
58
|
"files": [
|
|
59
59
|
"dist",
|
|
60
60
|
"skills"
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"cac": "^7.0.0",
|
|
74
74
|
"h3": "2.0.1-rc.22",
|
|
75
75
|
"mrmime": "^2.0.1",
|
|
76
|
-
"nostics": "^0.
|
|
76
|
+
"nostics": "^0.2.0",
|
|
77
77
|
"pathe": "^2.0.3",
|
|
78
78
|
"valibot": "^1.4.0",
|
|
79
79
|
"ws": "^8.20.0"
|
|
@@ -90,6 +90,7 @@
|
|
|
90
90
|
"p-limit": "^7.3.0",
|
|
91
91
|
"perfect-debounce": "^2.1.0",
|
|
92
92
|
"structured-clone-es": "^2.0.0",
|
|
93
|
+
"tinyglobby": "^0.2.16",
|
|
93
94
|
"tsdown": "^0.22.0",
|
|
94
95
|
"ua-parser-modern": "^0.1.1",
|
|
95
96
|
"whenexpr": "^0.1.2"
|