@moku-labs/worker 0.1.3 → 0.1.4
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/cli.cjs +27 -2
- package/dist/cli.d.cts +3 -0
- package/dist/cli.d.mts +3 -0
- package/dist/cli.mjs +4 -1
- package/dist/index.cjs +1 -55
- package/dist/index.d.cts +16 -3
- package/dist/index.d.mts +17 -4
- package/dist/index.mjs +2 -21
- package/dist/{storage-DCOQ4EAg.mjs → storage-COo-F38H.mjs} +2 -0
- package/dist/{storage-Sy--rX1T.cjs → storage-CgXl-dUA.cjs} +2 -43
- package/package.json +1 -1
- package/dist/rolldown-runtime-D7D4PA-g.mjs +0 -13
package/dist/cli.cjs
CHANGED
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
2
|
+
//#region \0rolldown/runtime.js
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
+
key = keys[i];
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
13
|
+
get: ((k) => from[k]).bind(null, key),
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
20
|
+
value: mod,
|
|
21
|
+
enumerable: true
|
|
22
|
+
}) : target, mod));
|
|
23
|
+
//#endregion
|
|
24
|
+
const require_storage = require("./storage-CgXl-dUA.cjs");
|
|
3
25
|
let node_child_process = require("node:child_process");
|
|
4
26
|
let node_fs_promises = require("node:fs/promises");
|
|
5
27
|
let node_path = require("node:path");
|
|
6
|
-
node_path =
|
|
28
|
+
node_path = __toESM(node_path, 1);
|
|
7
29
|
let node_fs = require("node:fs");
|
|
8
30
|
//#region src/plugins/deploy/runner.ts
|
|
9
31
|
/**
|
|
@@ -596,6 +618,9 @@ const createDeployApi = (ctx) => ({
|
|
|
596
618
|
* generates/updates wrangler config, uploads the R2 upload dir, and runs wrangler deploy.
|
|
597
619
|
* Also supports a universal path: run({ manifest }) uses a caller-supplied manifest verbatim.
|
|
598
620
|
*
|
|
621
|
+
* Emits only the global events `deploy:phase`, `deploy:complete`, and `provision:resource`
|
|
622
|
+
* (declared in WorkerEvents — no per-plugin events block).
|
|
623
|
+
*
|
|
599
624
|
* @see README.md
|
|
600
625
|
*/
|
|
601
626
|
const deployPlugin = require_storage.createPlugin("deploy", {
|
package/dist/cli.d.cts
CHANGED
|
@@ -120,6 +120,9 @@ type ExternalManifest = {
|
|
|
120
120
|
* generates/updates wrangler config, uploads the R2 upload dir, and runs wrangler deploy.
|
|
121
121
|
* Also supports a universal path: run({ manifest }) uses a caller-supplied manifest verbatim.
|
|
122
122
|
*
|
|
123
|
+
* Emits only the global events `deploy:phase`, `deploy:complete`, and `provision:resource`
|
|
124
|
+
* (declared in WorkerEvents — no per-plugin events block).
|
|
125
|
+
*
|
|
123
126
|
* @see README.md
|
|
124
127
|
*/
|
|
125
128
|
declare const deployPlugin: import("@moku-labs/core").PluginInstance<"deploy", Config, Record<string, never>, {
|
package/dist/cli.d.mts
CHANGED
|
@@ -120,6 +120,9 @@ type ExternalManifest = {
|
|
|
120
120
|
* generates/updates wrangler config, uploads the R2 upload dir, and runs wrangler deploy.
|
|
121
121
|
* Also supports a universal path: run({ manifest }) uses a caller-supplied manifest verbatim.
|
|
122
122
|
*
|
|
123
|
+
* Emits only the global events `deploy:phase`, `deploy:complete`, and `provision:resource`
|
|
124
|
+
* (declared in WorkerEvents — no per-plugin events block).
|
|
125
|
+
*
|
|
123
126
|
* @see README.md
|
|
124
127
|
*/
|
|
125
128
|
declare const deployPlugin: import("@moku-labs/core").PluginInstance<"deploy", Config, Record<string, never>, {
|
package/dist/cli.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as durableObjectsPlugin, n as queuesPlugin, o as d1Plugin, r as kvPlugin, t as storagePlugin, u as createPlugin } from "./storage-
|
|
1
|
+
import { i as durableObjectsPlugin, n as queuesPlugin, o as d1Plugin, r as kvPlugin, t as storagePlugin, u as createPlugin } from "./storage-COo-F38H.mjs";
|
|
2
2
|
import { spawn } from "node:child_process";
|
|
3
3
|
import { readdir, stat, writeFile } from "node:fs/promises";
|
|
4
4
|
import path from "node:path";
|
|
@@ -594,6 +594,9 @@ const createDeployApi = (ctx) => ({
|
|
|
594
594
|
* generates/updates wrangler config, uploads the R2 upload dir, and runs wrangler deploy.
|
|
595
595
|
* Also supports a universal path: run({ manifest }) uses a caller-supplied manifest verbatim.
|
|
596
596
|
*
|
|
597
|
+
* Emits only the global events `deploy:phase`, `deploy:complete`, and `provision:resource`
|
|
598
|
+
* (declared in WorkerEvents — no per-plugin events block).
|
|
599
|
+
*
|
|
597
600
|
* @see README.md
|
|
598
601
|
*/
|
|
599
602
|
const deployPlugin = createPlugin("deploy", {
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_storage = require("./storage-
|
|
2
|
+
const require_storage = require("./storage-CgXl-dUA.cjs");
|
|
3
3
|
let _moku_labs_common = require("@moku-labs/common");
|
|
4
4
|
//#region src/plugins/server/api.ts
|
|
5
5
|
/**
|
|
@@ -471,62 +471,8 @@ const serverPlugin = require_storage.createPlugin("server", {
|
|
|
471
471
|
},
|
|
472
472
|
helpers: { endpoint }
|
|
473
473
|
});
|
|
474
|
-
//#endregion
|
|
475
|
-
//#region src/plugins/bindings/types.ts
|
|
476
|
-
var types_exports = /* @__PURE__ */ require_storage.__exportAll({});
|
|
477
|
-
//#endregion
|
|
478
|
-
//#region src/plugins/d1/types.ts
|
|
479
|
-
var types_exports$1 = /* @__PURE__ */ require_storage.__exportAll({});
|
|
480
|
-
//#endregion
|
|
481
|
-
//#region src/plugins/durable-objects/types.ts
|
|
482
|
-
var types_exports$2 = /* @__PURE__ */ require_storage.__exportAll({});
|
|
483
|
-
//#endregion
|
|
484
|
-
//#region src/plugins/queues/types.ts
|
|
485
|
-
var types_exports$3 = /* @__PURE__ */ require_storage.__exportAll({});
|
|
486
|
-
//#endregion
|
|
487
|
-
//#region src/plugins/server/types.ts
|
|
488
|
-
var types_exports$4 = /* @__PURE__ */ require_storage.__exportAll({});
|
|
489
|
-
//#endregion
|
|
490
|
-
//#region src/plugins/storage/types.ts
|
|
491
|
-
var types_exports$5 = /* @__PURE__ */ require_storage.__exportAll({});
|
|
492
474
|
const { createApp, createPlugin } = require_storage.createCore(require_storage.coreConfig, { plugins: [require_storage.bindingsPlugin, serverPlugin] });
|
|
493
475
|
//#endregion
|
|
494
|
-
Object.defineProperty(exports, "Bindings", {
|
|
495
|
-
enumerable: true,
|
|
496
|
-
get: function() {
|
|
497
|
-
return types_exports;
|
|
498
|
-
}
|
|
499
|
-
});
|
|
500
|
-
Object.defineProperty(exports, "D1", {
|
|
501
|
-
enumerable: true,
|
|
502
|
-
get: function() {
|
|
503
|
-
return types_exports$1;
|
|
504
|
-
}
|
|
505
|
-
});
|
|
506
|
-
Object.defineProperty(exports, "DurableObjects", {
|
|
507
|
-
enumerable: true,
|
|
508
|
-
get: function() {
|
|
509
|
-
return types_exports$2;
|
|
510
|
-
}
|
|
511
|
-
});
|
|
512
|
-
Object.defineProperty(exports, "Queues", {
|
|
513
|
-
enumerable: true,
|
|
514
|
-
get: function() {
|
|
515
|
-
return types_exports$3;
|
|
516
|
-
}
|
|
517
|
-
});
|
|
518
|
-
Object.defineProperty(exports, "Server", {
|
|
519
|
-
enumerable: true,
|
|
520
|
-
get: function() {
|
|
521
|
-
return types_exports$4;
|
|
522
|
-
}
|
|
523
|
-
});
|
|
524
|
-
Object.defineProperty(exports, "Storage", {
|
|
525
|
-
enumerable: true,
|
|
526
|
-
get: function() {
|
|
527
|
-
return types_exports$5;
|
|
528
|
-
}
|
|
529
|
-
});
|
|
530
476
|
exports.bindingsPlugin = require_storage.bindingsPlugin;
|
|
531
477
|
exports.createApp = createApp;
|
|
532
478
|
exports.createPlugin = createPlugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -442,8 +442,19 @@ type Api$1 = {
|
|
|
442
442
|
*/
|
|
443
443
|
deployManifest(): DeployManifest$1;
|
|
444
444
|
};
|
|
445
|
-
/**
|
|
446
|
-
type
|
|
445
|
+
/**
|
|
446
|
+
* Internal context type — own config first, no state, no DO events.
|
|
447
|
+
* Intersected with a narrow `require` typed to the one dependency durableObjects resolves.
|
|
448
|
+
*/
|
|
449
|
+
type Ctx$1 = PluginCtx<Config$2, Record<string, never>, WorkerEvents> & {
|
|
450
|
+
/**
|
|
451
|
+
* Resolve a dependency plugin's api. durableObjects only ever resolves `bindingsPlugin`.
|
|
452
|
+
*
|
|
453
|
+
* @param plugin - The bindingsPlugin instance.
|
|
454
|
+
* @returns The resolved bindings api.
|
|
455
|
+
*/
|
|
456
|
+
require(plugin: typeof bindingsPlugin): BindingsApi;
|
|
457
|
+
};
|
|
447
458
|
//#endregion
|
|
448
459
|
//#region src/plugins/durable-objects/helpers.d.ts
|
|
449
460
|
/**
|
|
@@ -691,6 +702,8 @@ type Ctx = PluginCtx<Config$1, Record<string, never>, WorkerEvents & QueueEvents
|
|
|
691
702
|
* `events` is declared first and via `register.map<QueueEvents>` so the plugin's own events infer
|
|
692
703
|
* into the factory context; the api wiring is therefore arrow-wrapped (contextually typed).
|
|
693
704
|
*
|
|
705
|
+
* Emits the plugin-local `queue:message` event after each consumed message.
|
|
706
|
+
*
|
|
694
707
|
* @see README.md
|
|
695
708
|
*/
|
|
696
709
|
declare const queuesPlugin: import("@moku-labs/core").PluginInstance<"queues", Config$1, Record<string, never>, {
|
|
@@ -968,4 +981,4 @@ declare const createApp: <const ExtraPlugins extends readonly import("@moku-labs
|
|
|
968
981
|
current: () => "production" | "development" | "test";
|
|
969
982
|
}>]>>;
|
|
970
983
|
//#endregion
|
|
971
|
-
export { types_d_exports as Bindings, types_d_exports$1 as D1, types_d_exports$2 as DurableObjects, types_d_exports$3 as Queues, types_d_exports$4 as Server, type StageApi, types_d_exports$5 as Storage, type WorkerConfig, type WorkerEnv, type WorkerEvents, bindingsPlugin, createApp, createPlugin, d1Plugin, defineDurableObject, durableObjectsPlugin, endpoint, envPlugin, kvPlugin, logPlugin, queuesPlugin, serverPlugin, stagePlugin, storagePlugin };
|
|
984
|
+
export { type types_d_exports as Bindings, type types_d_exports$1 as D1, type types_d_exports$2 as DurableObjects, type types_d_exports$3 as Queues, type types_d_exports$4 as Server, type StageApi, type types_d_exports$5 as Storage, type WorkerConfig, type WorkerEnv, type WorkerEvents, bindingsPlugin, createApp, createPlugin, d1Plugin, defineDurableObject, durableObjectsPlugin, endpoint, envPlugin, kvPlugin, logPlugin, queuesPlugin, serverPlugin, stagePlugin, storagePlugin };
|
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import { n as WorkerEnv, r as WorkerEvents, t as WorkerConfig } from "./config-A
|
|
|
2
2
|
import { envPlugin, logPlugin } from "@moku-labs/common";
|
|
3
3
|
import { PluginCtx, PluginInstance } from "@moku-labs/core";
|
|
4
4
|
|
|
5
|
-
//#region
|
|
5
|
+
//#region \0rolldown/runtime.js
|
|
6
6
|
declare namespace types_d_exports {
|
|
7
7
|
export { BindingsApi, Config$4 as Config, Context };
|
|
8
8
|
}
|
|
@@ -442,8 +442,19 @@ type Api$1 = {
|
|
|
442
442
|
*/
|
|
443
443
|
deployManifest(): DeployManifest$1;
|
|
444
444
|
};
|
|
445
|
-
/**
|
|
446
|
-
type
|
|
445
|
+
/**
|
|
446
|
+
* Internal context type — own config first, no state, no DO events.
|
|
447
|
+
* Intersected with a narrow `require` typed to the one dependency durableObjects resolves.
|
|
448
|
+
*/
|
|
449
|
+
type Ctx$1 = PluginCtx<Config$2, Record<string, never>, WorkerEvents> & {
|
|
450
|
+
/**
|
|
451
|
+
* Resolve a dependency plugin's api. durableObjects only ever resolves `bindingsPlugin`.
|
|
452
|
+
*
|
|
453
|
+
* @param plugin - The bindingsPlugin instance.
|
|
454
|
+
* @returns The resolved bindings api.
|
|
455
|
+
*/
|
|
456
|
+
require(plugin: typeof bindingsPlugin): BindingsApi;
|
|
457
|
+
};
|
|
447
458
|
//#endregion
|
|
448
459
|
//#region src/plugins/durable-objects/helpers.d.ts
|
|
449
460
|
/**
|
|
@@ -691,6 +702,8 @@ type Ctx = PluginCtx<Config$1, Record<string, never>, WorkerEvents & QueueEvents
|
|
|
691
702
|
* `events` is declared first and via `register.map<QueueEvents>` so the plugin's own events infer
|
|
692
703
|
* into the factory context; the api wiring is therefore arrow-wrapped (contextually typed).
|
|
693
704
|
*
|
|
705
|
+
* Emits the plugin-local `queue:message` event after each consumed message.
|
|
706
|
+
*
|
|
694
707
|
* @see README.md
|
|
695
708
|
*/
|
|
696
709
|
declare const queuesPlugin: import("@moku-labs/core").PluginInstance<"queues", Config$1, Record<string, never>, {
|
|
@@ -968,4 +981,4 @@ declare const createApp: <const ExtraPlugins extends readonly import("@moku-labs
|
|
|
968
981
|
current: () => "production" | "development" | "test";
|
|
969
982
|
}>]>>;
|
|
970
983
|
//#endregion
|
|
971
|
-
export { types_d_exports as Bindings, types_d_exports$1 as D1, types_d_exports$2 as DurableObjects, types_d_exports$3 as Queues, types_d_exports$4 as Server, type StageApi, types_d_exports$5 as Storage, type WorkerConfig, type WorkerEnv, type WorkerEvents, bindingsPlugin, createApp, createPlugin, d1Plugin, defineDurableObject, durableObjectsPlugin, endpoint, envPlugin, kvPlugin, logPlugin, queuesPlugin, serverPlugin, stagePlugin, storagePlugin };
|
|
984
|
+
export { type types_d_exports as Bindings, type types_d_exports$1 as D1, type types_d_exports$2 as DurableObjects, type types_d_exports$3 as Queues, type types_d_exports$4 as Server, type StageApi, type types_d_exports$5 as Storage, type WorkerConfig, type WorkerEnv, type WorkerEvents, bindingsPlugin, createApp, createPlugin, d1Plugin, defineDurableObject, durableObjectsPlugin, endpoint, envPlugin, kvPlugin, logPlugin, queuesPlugin, serverPlugin, stagePlugin, storagePlugin };
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { a as defineDurableObject, c as coreConfig, d as stagePlugin, i as durableObjectsPlugin, l as createCore, n as queuesPlugin, o as d1Plugin, r as kvPlugin, s as bindingsPlugin, t as storagePlugin, u as createPlugin$1 } from "./storage-DCOQ4EAg.mjs";
|
|
1
|
+
import { a as defineDurableObject, c as coreConfig, d as stagePlugin, i as durableObjectsPlugin, l as createCore, n as queuesPlugin, o as d1Plugin, r as kvPlugin, s as bindingsPlugin, t as storagePlugin, u as createPlugin$1 } from "./storage-COo-F38H.mjs";
|
|
3
2
|
import { envPlugin, logPlugin } from "@moku-labs/common";
|
|
4
3
|
//#region src/plugins/server/api.ts
|
|
5
4
|
/**
|
|
@@ -471,24 +470,6 @@ const serverPlugin = createPlugin$1("server", {
|
|
|
471
470
|
},
|
|
472
471
|
helpers: { endpoint }
|
|
473
472
|
});
|
|
474
|
-
//#endregion
|
|
475
|
-
//#region src/plugins/bindings/types.ts
|
|
476
|
-
var types_exports = /* @__PURE__ */ __exportAll({});
|
|
477
|
-
//#endregion
|
|
478
|
-
//#region src/plugins/d1/types.ts
|
|
479
|
-
var types_exports$1 = /* @__PURE__ */ __exportAll({});
|
|
480
|
-
//#endregion
|
|
481
|
-
//#region src/plugins/durable-objects/types.ts
|
|
482
|
-
var types_exports$2 = /* @__PURE__ */ __exportAll({});
|
|
483
|
-
//#endregion
|
|
484
|
-
//#region src/plugins/queues/types.ts
|
|
485
|
-
var types_exports$3 = /* @__PURE__ */ __exportAll({});
|
|
486
|
-
//#endregion
|
|
487
|
-
//#region src/plugins/server/types.ts
|
|
488
|
-
var types_exports$4 = /* @__PURE__ */ __exportAll({});
|
|
489
|
-
//#endregion
|
|
490
|
-
//#region src/plugins/storage/types.ts
|
|
491
|
-
var types_exports$5 = /* @__PURE__ */ __exportAll({});
|
|
492
473
|
const { createApp, createPlugin } = createCore(coreConfig, { plugins: [bindingsPlugin, serverPlugin] });
|
|
493
474
|
//#endregion
|
|
494
|
-
export {
|
|
475
|
+
export { bindingsPlugin, createApp, createPlugin, d1Plugin, defineDurableObject, durableObjectsPlugin, endpoint, envPlugin, kvPlugin, logPlugin, queuesPlugin, serverPlugin, stagePlugin, storagePlugin };
|
|
@@ -661,6 +661,8 @@ const createQueuesApi = (ctx) => {
|
|
|
661
661
|
* `events` is declared first and via `register.map<QueueEvents>` so the plugin's own events infer
|
|
662
662
|
* into the factory context; the api wiring is therefore arrow-wrapped (contextually typed).
|
|
663
663
|
*
|
|
664
|
+
* Emits the plugin-local `queue:message` event after each consumed message.
|
|
665
|
+
*
|
|
664
666
|
* @see README.md
|
|
665
667
|
*/
|
|
666
668
|
const queuesPlugin = createPlugin("queues", {
|
|
@@ -1,34 +1,3 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __exportAll = (all, no_symbols) => {
|
|
9
|
-
let target = {};
|
|
10
|
-
for (var name in all) __defProp(target, name, {
|
|
11
|
-
get: all[name],
|
|
12
|
-
enumerable: true
|
|
13
|
-
});
|
|
14
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
15
|
-
return target;
|
|
16
|
-
};
|
|
17
|
-
var __copyProps = (to, from, except, desc) => {
|
|
18
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
19
|
-
key = keys[i];
|
|
20
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
21
|
-
get: ((k) => from[k]).bind(null, key),
|
|
22
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
return to;
|
|
26
|
-
};
|
|
27
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
-
value: mod,
|
|
29
|
-
enumerable: true
|
|
30
|
-
}) : target, mod));
|
|
31
|
-
//#endregion
|
|
32
1
|
let _moku_labs_common = require("@moku-labs/common");
|
|
33
2
|
let _moku_labs_core = require("@moku-labs/core");
|
|
34
3
|
/**
|
|
@@ -692,6 +661,8 @@ const createQueuesApi = (ctx) => {
|
|
|
692
661
|
* `events` is declared first and via `register.map<QueueEvents>` so the plugin's own events infer
|
|
693
662
|
* into the factory context; the api wiring is therefore arrow-wrapped (contextually typed).
|
|
694
663
|
*
|
|
664
|
+
* Emits the plugin-local `queue:message` event after each consumed message.
|
|
665
|
+
*
|
|
695
666
|
* @see README.md
|
|
696
667
|
*/
|
|
697
668
|
const queuesPlugin = createPlugin("queues", {
|
|
@@ -910,18 +881,6 @@ const storagePlugin = createPlugin("storage", {
|
|
|
910
881
|
api: createStorageApi
|
|
911
882
|
});
|
|
912
883
|
//#endregion
|
|
913
|
-
Object.defineProperty(exports, "__exportAll", {
|
|
914
|
-
enumerable: true,
|
|
915
|
-
get: function() {
|
|
916
|
-
return __exportAll;
|
|
917
|
-
}
|
|
918
|
-
});
|
|
919
|
-
Object.defineProperty(exports, "__toESM", {
|
|
920
|
-
enumerable: true,
|
|
921
|
-
get: function() {
|
|
922
|
-
return __toESM;
|
|
923
|
-
}
|
|
924
|
-
});
|
|
925
884
|
Object.defineProperty(exports, "bindingsPlugin", {
|
|
926
885
|
enumerable: true,
|
|
927
886
|
get: function() {
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __exportAll = (all, no_symbols) => {
|
|
4
|
-
let target = {};
|
|
5
|
-
for (var name in all) __defProp(target, name, {
|
|
6
|
-
get: all[name],
|
|
7
|
-
enumerable: true
|
|
8
|
-
});
|
|
9
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
10
|
-
return target;
|
|
11
|
-
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { __exportAll as t };
|