From e33a5bbf8c55f084467e3d965275f1936178eb2c Mon Sep 17 00:00:00 2001 From: droak Date: Thu, 12 Sep 2024 00:22:29 +0900 Subject: [PATCH] chore: add workspaces in package.json; update version; update pnpm-lock --- package.json | 99 ++++++++++++++++++------------------ packages/node/src/version.ts | 2 +- pnpm-lock.yaml | 24 ++++----- 3 files changed, 63 insertions(+), 62 deletions(-) diff --git a/package.json b/package.json index 09b949e0..b7bb2f85 100644 --- a/package.json +++ b/package.json @@ -1,51 +1,52 @@ { - "name": "ts-topology", - "description": "The official TypeScript implementation of Topology Protocol", - "version": "0.1.1-2", - "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.1-2", + "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" + }, + "workspaces": ["packages/*", "examples/*"], + "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/node/src/version.ts b/packages/node/src/version.ts index bf1dffa5..224218ac 100644 --- a/packages/node/src/version.ts +++ b/packages/node/src/version.ts @@ -1 +1 @@ -export const VERSION = "0.1.1-1"; +export const VERSION = "0.1.1-2"; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index adffd9de..eb438c45 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -45,16 +45,16 @@ importers: examples/canvas: dependencies: '@topology-foundation/crdt': - specifier: 0.1.1-1 + specifier: 0.1.1-2 version: link:../../packages/crdt '@topology-foundation/network': - specifier: 0.1.1-1 + specifier: 0.1.1-2 version: link:../../packages/network '@topology-foundation/node': - specifier: 0.1.1-1 + specifier: 0.1.1-2 version: link:../../packages/node '@topology-foundation/object': - specifier: 0.1.1-1 + specifier: 0.1.1-2 version: link:../../packages/object crypto-browserify: specifier: ^3.12.0 @@ -91,16 +91,16 @@ importers: examples/chat: dependencies: '@topology-foundation/crdt': - specifier: 0.1.1-1 + specifier: 0.1.1-2 version: link:../../packages/crdt '@topology-foundation/network': - specifier: 0.1.1-1 + specifier: 0.1.1-2 version: link:../../packages/network '@topology-foundation/node': - specifier: 0.1.1-1 + specifier: 0.1.1-2 version: link:../../packages/node '@topology-foundation/object': - specifier: 0.1.1-1 + specifier: 0.1.1-2 version: link:../../packages/object assemblyscript: specifier: ^0.27.29 @@ -146,7 +146,7 @@ importers: packages/crdt: devDependencies: '@topology-foundation/object': - specifier: 0.1.1-1 + specifier: 0.1.1-2 version: link:../object assemblyscript: specifier: ^0.27.29 @@ -246,13 +246,13 @@ importers: specifier: ^1.7.0 version: 1.7.0 '@topology-foundation/crdt': - specifier: 0.1.1-1 + specifier: 0.1.1-2 version: link:../crdt '@topology-foundation/network': - specifier: 0.1.1-1 + specifier: 0.1.1-2 version: link:../network '@topology-foundation/object': - specifier: 0.1.1-1 + specifier: 0.1.1-2 version: link:../object commander: specifier: ^12.1.0