diff --git a/examples/canvas/package.json b/examples/canvas/package.json index 975c18dc..86cd6366 100644 --- a/examples/canvas/package.json +++ b/examples/canvas/package.json @@ -1,29 +1,29 @@ { - "name": "ts-topology-examples-canvas", - "version": "0.0.23-5", - "license": "MIT", - "scripts": { - "build": "vite build", - "clean": "rm -rf dist/ node_modules/", - "dev": "vite serve", - "start": "ts-node ./src/index.ts" - }, - "dependencies": { - "@topology-foundation/crdt": "0.0.23-5", - "@topology-foundation/network": "0.0.23-5", - "@topology-foundation/node": "0.0.23-5", - "@topology-foundation/object": "0.0.23-5", - "crypto-browserify": "^3.12.0", - "process": "^0.11.10", - "stream-browserify": "^3.0.0", - "ts-node": "^10.9.2", - "vm-browserify": "^1.1.2" - }, - "devDependencies": { - "@types/node": "^22.5.4", - "ts-loader": "^9.3.1", - "typescript": "^5.5.4", - "vite": "^5.4.3", - "vite-plugin-node-polyfills": "^0.22.0" - } + "name": "ts-topology-examples-canvas", + "version": "0.1.0", + "license": "MIT", + "scripts": { + "build": "vite build", + "clean": "rm -rf dist/ node_modules/", + "dev": "vite serve", + "start": "ts-node ./src/index.ts" + }, + "dependencies": { + "@topology-foundation/crdt": "0.1.0", + "@topology-foundation/network": "0.1.0", + "@topology-foundation/node": "0.1.0", + "@topology-foundation/object": "0.1.0", + "crypto-browserify": "^3.12.0", + "process": "^0.11.10", + "stream-browserify": "^3.0.0", + "ts-node": "^10.9.2", + "vm-browserify": "^1.1.2" + }, + "devDependencies": { + "@types/node": "^22.5.4", + "ts-loader": "^9.3.1", + "typescript": "^5.5.4", + "vite": "^5.4.3", + "vite-plugin-node-polyfills": "^0.22.0" + } } diff --git a/examples/chat/package.json b/examples/chat/package.json index 13c35aca..d9c9dcef 100644 --- a/examples/chat/package.json +++ b/examples/chat/package.json @@ -1,36 +1,36 @@ { - "name": "topology-example-chat", - "version": "0.0.23-5", - "description": "Topology Protocol Chat Exmaple", - "main": "src/index.ts", - "repository": "https://github.com/topology-foundation/ts-topology.git", - "license": "MIT", - "scripts": { - "asbuild": "asc --config asconfig.json --target release", - "build": "vite build", - "clean": "rm -rf dist/ node_modules/", - "dev": "vite serve", - "start": "ts-node ./src/index.ts" - }, - "dependencies": { - "@topology-foundation/crdt": "0.0.23-5", - "@topology-foundation/network": "0.0.23-5", - "@topology-foundation/node": "0.0.23-5", - "@topology-foundation/object": "0.0.23-5", - "assemblyscript": "^0.27.29", - "crypto-browserify": "^3.12.0", - "memfs": "^4.11.1", - "process": "^0.11.10", - "stream-browserify": "^3.0.0", - "ts-node": "^10.9.2", - "uint8arrays": "^5.1.0", - "vm-browserify": "^1.1.2" - }, - "devDependencies": { - "@types/node": "^22.5.4", - "ts-loader": "^9.5.1", - "typescript": "^5.5.4", - "vite": "^5.4.3", - "vite-plugin-node-polyfills": "^0.22.0" - } + "name": "topology-example-chat", + "version": "0.1.0", + "description": "Topology Protocol Chat Exmaple", + "main": "src/index.ts", + "repository": "https://github.com/topology-foundation/ts-topology.git", + "license": "MIT", + "scripts": { + "asbuild": "asc --config asconfig.json --target release", + "build": "vite build", + "clean": "rm -rf dist/ node_modules/", + "dev": "vite serve", + "start": "ts-node ./src/index.ts" + }, + "dependencies": { + "@topology-foundation/crdt": "0.1.0", + "@topology-foundation/network": "0.1.0", + "@topology-foundation/node": "0.1.0", + "@topology-foundation/object": "0.1.0", + "assemblyscript": "^0.27.29", + "crypto-browserify": "^3.12.0", + "memfs": "^4.11.1", + "process": "^0.11.10", + "stream-browserify": "^3.0.0", + "ts-node": "^10.9.2", + "uint8arrays": "^5.1.0", + "vm-browserify": "^1.1.2" + }, + "devDependencies": { + "@types/node": "^22.5.4", + "ts-loader": "^9.5.1", + "typescript": "^5.5.4", + "vite": "^5.4.3", + "vite-plugin-node-polyfills": "^0.22.0" + } } diff --git a/package.json b/package.json index b83881a1..307aeed5 100644 --- a/package.json +++ b/package.json @@ -1,51 +1,51 @@ { - "name": "ts-topology", - "description": "The official TypeScript implementation of Topology Protocol", - "version": "0.0.23-5", - "license": "MIT", - "homepage": "https://topology.gg/", - "repository": { - "type": "git", - "url": "git+https://github.com/topology-foundation/ts-topology.git" - }, - "bugs": { - "url": "https://github.com/topology-foundation/ts-topology/issues" - }, - "scripts": { - "bench": "vitest bench", - "biome-check": "biome check", - "docs": "typedoc", - "postinstall": "pnpm --filter '@topology-foundation/*' build", - "proto-gen": "buf generate", - "release": "release-it", - "test": "vitest" - }, - "devDependencies": { - "@biomejs/biome": "^1.8.3", - "@release-it-plugins/workspaces": "^4.2.0", - "@types/node": "^22.5.4", - "assemblyscript": "^0.27.29", - "release-it": "^17.6.0", - "ts-proto": "^2.0.3", - "typedoc": "^0.26.6", - "typescript": "^5.5.4", - "vite": "^5.4.3", - "vite-tsconfig-paths": "^5.0.1", - "vitest": "^2.0.5" - }, - "private": true, - "release-it": { - "plugins": { - "@release-it-plugins/workspaces": { - "publish": false - } - }, - "npm": false, - "git": { - "commitMessage": "chore: release v${version}" - }, - "github": { - "release": true - } - } + "name": "ts-topology", + "description": "The official TypeScript implementation of Topology Protocol", + "version": "0.1.0", + "license": "MIT", + "homepage": "https://topology.gg/", + "repository": { + "type": "git", + "url": "git+https://github.com/topology-foundation/ts-topology.git" + }, + "bugs": { + "url": "https://github.com/topology-foundation/ts-topology/issues" + }, + "scripts": { + "bench": "vitest bench", + "biome-check": "biome check", + "docs": "typedoc", + "postinstall": "pnpm --filter '@topology-foundation/*' build", + "proto-gen": "buf generate", + "release": "release-it", + "test": "vitest" + }, + "devDependencies": { + "@biomejs/biome": "^1.8.3", + "@release-it-plugins/workspaces": "^4.2.0", + "@types/node": "^22.5.4", + "assemblyscript": "^0.27.29", + "release-it": "^17.6.0", + "ts-proto": "^2.0.3", + "typedoc": "^0.26.6", + "typescript": "^5.5.4", + "vite": "^5.4.3", + "vite-tsconfig-paths": "^5.0.1", + "vitest": "^2.0.5" + }, + "private": true, + "release-it": { + "plugins": { + "@release-it-plugins/workspaces": { + "publish": false + } + }, + "npm": false, + "git": { + "commitMessage": "chore: release v${version}" + }, + "github": { + "release": true + } + } } diff --git a/packages/crdt/package.json b/packages/crdt/package.json index 23332bea..06f6b83e 100644 --- a/packages/crdt/package.json +++ b/packages/crdt/package.json @@ -1,35 +1,40 @@ { - "name": "@topology-foundation/crdt", - "version": "0.0.23-5", - "license": "MIT", - "repository": { - "type": "git", - "url": "git+https://github.com/topology-foundation/ts-topology.git" - }, - "type": "module", - "types": "./dist/src/index.d.ts", - "files": ["src", "dist", "!dist/test", "!**/*.tsbuildinfo"], - "exports": { - ".": { - "types": "./dist/src/index.d.ts", - "import": "./dist/src/index.js" - }, - "./wasm": { - "types": "./dist/src/index.d.ts", - "import": "./src/index.asc.ts" - } - }, - "scripts": { - "asbuild": "yarn asbuild:debug && yarn asbuild:release", - "asbuild:debug": "asc --config asconfig.json --target debug", - "asbuild:release": "asc --config asconfig.json --target release", - "build": "tsc -b", - "clean": "rm -rf dist/ node_modules/", - "prepack": "tsc -b", - "test": "vitest" - }, - "devDependencies": { - "@topology-foundation/object": "0.0.23-5", - "assemblyscript": "^0.27.29" - } + "name": "@topology-foundation/crdt", + "version": "0.1.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/topology-foundation/ts-topology.git" + }, + "type": "module", + "types": "./dist/src/index.d.ts", + "files": [ + "src", + "dist", + "!dist/test", + "!**/*.tsbuildinfo" + ], + "exports": { + ".": { + "types": "./dist/src/index.d.ts", + "import": "./dist/src/index.js" + }, + "./wasm": { + "types": "./dist/src/index.d.ts", + "import": "./src/index.asc.ts" + } + }, + "scripts": { + "asbuild": "yarn asbuild:debug && yarn asbuild:release", + "asbuild:debug": "asc --config asconfig.json --target debug", + "asbuild:release": "asc --config asconfig.json --target release", + "build": "tsc -b", + "clean": "rm -rf dist/ node_modules/", + "prepack": "tsc -b", + "test": "vitest" + }, + "devDependencies": { + "@topology-foundation/object": "0.1.0", + "assemblyscript": "^0.27.29" + } } diff --git a/packages/network/package.json b/packages/network/package.json index f661f95a..2c128f6b 100644 --- a/packages/network/package.json +++ b/packages/network/package.json @@ -1,55 +1,60 @@ { - "name": "@topology-foundation/network", - "version": "0.0.23-5", - "license": "MIT", - "repository": { - "type": "git", - "url": "git+https://github.com/topology-foundation/ts-topology.git" - }, - "type": "module", - "types": "./dist/src/index.d.ts", - "files": ["src", "dist", "!dist/test", "!**/*.tsbuildinfo"], - "exports": { - ".": { - "types": "./dist/src/index.d.ts", - "import": "./dist/src/index.js" - } - }, - "scripts": { - "build": "tsc -b", - "clean": "rm -rf dist/ node_modules/", - "prepack": "tsc -b", - "test": "vitest" - }, - "devDependencies": { - "@libp2p/interface": "^1.7.0", - "react-native-webrtc": "^124.0.3" - }, - "dependencies": { - "@bufbuild/protobuf": "^2.0.0", - "@chainsafe/libp2p-gossipsub": "^13.1.0", - "@chainsafe/libp2p-noise": "^15.1.2", - "@chainsafe/libp2p-yamux": "^6.0.2", - "@libp2p/autonat": "^1.1.4", - "@libp2p/bootstrap": "^10.1.4", - "@libp2p/circuit-relay-v2": "^1.1.4", - "@libp2p/crypto": "^4.1.9", - "@libp2p/dcutr": "^1.1.4", - "@libp2p/devtools-metrics": "^0.2.5", - "@libp2p/identify": "^2.1.4", - "@libp2p/interface-pubsub": "^4.0.1", - "@libp2p/mdns": "^10.1.3", - "@libp2p/peer-id-factory": "^4.2.4", - "@libp2p/pubsub-peer-discovery": "^10.0.2", - "@libp2p/webrtc": "^4.1.8", - "@libp2p/websockets": "^8.1.2", - "@libp2p/webtransport": "^4.1.9", - "@multiformats/multiaddr": "^12.3.1", - "it-length-prefixed": "^9.1.0", - "it-map": "^3.1.1", - "it-pipe": "^3.0.1", - "libp2p": "^1.9.4", - "ts-proto": "^2.0.3", - "uint8arrays": "^5.1.0" - } + "name": "@topology-foundation/network", + "version": "0.1.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/topology-foundation/ts-topology.git" + }, + "type": "module", + "types": "./dist/src/index.d.ts", + "files": [ + "src", + "dist", + "!dist/test", + "!**/*.tsbuildinfo" + ], + "exports": { + ".": { + "types": "./dist/src/index.d.ts", + "import": "./dist/src/index.js" + } + }, + "scripts": { + "build": "tsc -b", + "clean": "rm -rf dist/ node_modules/", + "prepack": "tsc -b", + "test": "vitest" + }, + "devDependencies": { + "@libp2p/interface": "^1.7.0", + "react-native-webrtc": "^124.0.3" + }, + "dependencies": { + "@bufbuild/protobuf": "^2.0.0", + "@chainsafe/libp2p-gossipsub": "^13.1.0", + "@chainsafe/libp2p-noise": "^15.1.2", + "@chainsafe/libp2p-yamux": "^6.0.2", + "@libp2p/autonat": "^1.1.4", + "@libp2p/bootstrap": "^10.1.4", + "@libp2p/circuit-relay-v2": "^1.1.4", + "@libp2p/crypto": "^4.1.9", + "@libp2p/dcutr": "^1.1.4", + "@libp2p/devtools-metrics": "^0.2.5", + "@libp2p/identify": "^2.1.4", + "@libp2p/interface-pubsub": "^4.0.1", + "@libp2p/mdns": "^10.1.3", + "@libp2p/peer-id-factory": "^4.2.4", + "@libp2p/pubsub-peer-discovery": "^10.0.2", + "@libp2p/webrtc": "^4.1.8", + "@libp2p/websockets": "^8.1.2", + "@libp2p/webtransport": "^4.1.9", + "@multiformats/multiaddr": "^12.3.1", + "it-length-prefixed": "^9.1.0", + "it-map": "^3.1.1", + "it-pipe": "^3.0.1", + "libp2p": "^1.9.4", + "ts-proto": "^2.0.3", + "uint8arrays": "^5.1.0" + } } diff --git a/packages/node/package.json b/packages/node/package.json index b9488d45..04672474 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,41 +1,46 @@ { - "name": "@topology-foundation/node", - "version": "0.0.23-5", - "license": "MIT", - "repository": { - "type": "git", - "url": "git+https://github.com/topology-foundation/ts-topology.git" - }, - "type": "module", - "types": "./dist/src/index.d.ts", - "files": ["src", "dist", "!dist/test", "!**/*.tsbuildinfo"], - "exports": { - ".": { - "types": "./dist/src/index.d.ts", - "import": "./dist/src/index.js" - } - }, - "scripts": { - "build": "tsc -b", - "clean": "rm -rf dist/ node_modules/", - "cli": "tsx ./src/run.ts", - "prebuild": "node -p \"'export const VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts", - "prepack": "tsc -b", - "test": "vitest" - }, - "devDependencies": { - "@types/node": "^22.5.4", - "tsx": "4.19.0", - "typescript": "^5.5.4", - "vitest": "^2.0.5" - }, - "dependencies": { - "@chainsafe/libp2p-gossipsub": "^13.1.0", - "@libp2p/interface": "^1.7.0", - "@topology-foundation/crdt": "0.0.23-5", - "@topology-foundation/network": "0.0.23-5", - "@topology-foundation/object": "0.0.23-5", - "commander": "^12.1.0", - "it-length-prefixed": "^9.1.0" - } + "name": "@topology-foundation/node", + "version": "0.1.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/topology-foundation/ts-topology.git" + }, + "type": "module", + "types": "./dist/src/index.d.ts", + "files": [ + "src", + "dist", + "!dist/test", + "!**/*.tsbuildinfo" + ], + "exports": { + ".": { + "types": "./dist/src/index.d.ts", + "import": "./dist/src/index.js" + } + }, + "scripts": { + "build": "tsc -b", + "clean": "rm -rf dist/ node_modules/", + "cli": "tsx ./src/run.ts", + "prebuild": "node -p \"'export const VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts", + "prepack": "tsc -b", + "test": "vitest" + }, + "devDependencies": { + "@types/node": "^22.5.4", + "tsx": "4.19.0", + "typescript": "^5.5.4", + "vitest": "^2.0.5" + }, + "dependencies": { + "@chainsafe/libp2p-gossipsub": "^13.1.0", + "@libp2p/interface": "^1.7.0", + "@topology-foundation/crdt": "0.1.0", + "@topology-foundation/network": "0.1.0", + "@topology-foundation/object": "0.1.0", + "commander": "^12.1.0", + "it-length-prefixed": "^9.1.0" + } } diff --git a/packages/object/package.json b/packages/object/package.json index 11e6523a..80cbd4ba 100644 --- a/packages/object/package.json +++ b/packages/object/package.json @@ -1,33 +1,38 @@ { - "name": "@topology-foundation/object", - "version": "0.0.23-5", - "license": "MIT", - "repository": { - "type": "git", - "url": "git+https://github.com/topology-foundation/ts-topology.git" - }, - "type": "module", - "types": "./dist/src/index.d.ts", - "files": ["src", "dist", "!dist/test", "!**/*.tsbuildinfo"], - "main": "./dist/src/index.js", - "exports": { - ".": { - "types": "./dist/src/index.d.ts", - "import": "./dist/src/index.js" - } - }, - "scripts": { - "asbuild": "asc --config asconfig.json --target release", - "build": "tsc -b", - "clean": "rm -rf dist/ node_modules/", - "prepack": "tsc -b", - "test": "vitest" - }, - "devDependencies": { - "assemblyscript": "^0.27.29" - }, - "dependencies": { - "@bufbuild/protobuf": "^2.0.0", - "ts-proto": "^2.0.3" - } + "name": "@topology-foundation/object", + "version": "0.1.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/topology-foundation/ts-topology.git" + }, + "type": "module", + "types": "./dist/src/index.d.ts", + "files": [ + "src", + "dist", + "!dist/test", + "!**/*.tsbuildinfo" + ], + "main": "./dist/src/index.js", + "exports": { + ".": { + "types": "./dist/src/index.d.ts", + "import": "./dist/src/index.js" + } + }, + "scripts": { + "asbuild": "asc --config asconfig.json --target release", + "build": "tsc -b", + "clean": "rm -rf dist/ node_modules/", + "prepack": "tsc -b", + "test": "vitest" + }, + "devDependencies": { + "assemblyscript": "^0.27.29" + }, + "dependencies": { + "@bufbuild/protobuf": "^2.0.0", + "ts-proto": "^2.0.3" + } }