@vibecook/truffle 0.1.0
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/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -0
- package/package.json +42 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { MeshNode, createMeshNode } from '@vibecook/truffle-mesh';
|
|
2
|
+
export type { MeshNodeConfig, MeshNodeEvents, MeshTimingConfig, IncomingMeshMessage } from '@vibecook/truffle-mesh';
|
|
3
|
+
export { DeviceManager } from '@vibecook/truffle-mesh';
|
|
4
|
+
export type { DeviceManagerEvents, DeviceIdentity } from '@vibecook/truffle-mesh';
|
|
5
|
+
export { PrimaryElection } from '@vibecook/truffle-mesh';
|
|
6
|
+
export type { ElectionConfig, ElectionState, PrimaryElectionEvents } from '@vibecook/truffle-mesh';
|
|
7
|
+
export { MeshMessageBus } from '@vibecook/truffle-mesh';
|
|
8
|
+
export { StoreSyncAdapter } from '@vibecook/truffle-store-sync';
|
|
9
|
+
export type { ISyncableStore, StoreSyncAdapterConfig } from '@vibecook/truffle-store-sync';
|
|
10
|
+
export { createLogger, TypedEventEmitter } from '@vibecook/truffle-types';
|
|
11
|
+
export type { BaseDevice, DeviceRole, DeviceStatus, MeshMessage, MeshMessageType, MeshEnvelope, Logger, DeviceSlice, SidecarConfig, SidecarStatus, TailnetPeer, } from '@vibecook/truffle-types';
|
|
12
|
+
export type { IMessageBus, BusMessage, BusMessageHandler } from '@vibecook/truffle-protocol';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAClE,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AACpH,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,YAAY,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,YAAY,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAG3F,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC1E,YAAY,EACV,UAAU,EACV,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,YAAY,EACZ,MAAM,EACN,WAAW,EACX,aAAa,EACb,aAAa,EACb,WAAW,GACZ,MAAM,yBAAyB,CAAC;AAGjC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// ═══════════════════════════════════════════════════════════════════════════
|
|
2
|
+
// @vibecook/truffle — Unified entry point for Truffle mesh networking
|
|
3
|
+
// ═══════════════════════════════════════════════════════════════════════════
|
|
4
|
+
// Mesh node (primary API)
|
|
5
|
+
export { MeshNode, createMeshNode } from '@vibecook/truffle-mesh';
|
|
6
|
+
export { DeviceManager } from '@vibecook/truffle-mesh';
|
|
7
|
+
export { PrimaryElection } from '@vibecook/truffle-mesh';
|
|
8
|
+
export { MeshMessageBus } from '@vibecook/truffle-mesh';
|
|
9
|
+
// Store sync
|
|
10
|
+
export { StoreSyncAdapter } from '@vibecook/truffle-store-sync';
|
|
11
|
+
// Types & utilities
|
|
12
|
+
export { createLogger, TypedEventEmitter } from '@vibecook/truffle-types';
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,sEAAsE;AACtE,8EAA8E;AAE9E,0BAA0B;AAC1B,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,aAAa;AACb,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAGhE,oBAAoB;AACpB,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vibecook/truffle",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Mesh networking for local-first apps, built on Tailscale",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/jamesyong-42/truffle.git",
|
|
18
|
+
"directory": "packages/core"
|
|
19
|
+
},
|
|
20
|
+
"homepage": "https://github.com/jamesyong-42/truffle#readme",
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/jamesyong-42/truffle/issues"
|
|
23
|
+
},
|
|
24
|
+
"files": ["dist"],
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=18"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "tsc",
|
|
30
|
+
"clean": "rm -rf dist",
|
|
31
|
+
"typecheck": "tsc --noEmit"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@vibecook/truffle-types": "workspace:*",
|
|
35
|
+
"@vibecook/truffle-protocol": "workspace:*",
|
|
36
|
+
"@vibecook/truffle-mesh": "workspace:*",
|
|
37
|
+
"@vibecook/truffle-store-sync": "workspace:*"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"typescript": "^5.7.0"
|
|
41
|
+
}
|
|
42
|
+
}
|