Two bugs were causing version drift across the repo:
1. Root package.json was silently reverted from 2.74.0 → 2.73.1 during
commit b03c9401c (a CI optimization rebase). Tag v2.74.0 is already
published on npm, so the next release would have computed 2.73.2 —
lower than what's already out — and shipped a broken version.
2. scripts/bump-version.mjs only touches pi-coding-agent + pkg + native
platform shims. Other workspace packages drift independently:
- @gsd-build/mcp-server: stuck at 2.52.0 (22 minor versions behind)
- @gsd-build/rpc-client: stuck at 2.52.0
- @gsd/pi-ai, pi-tui, pi-agent-core: stuck at 0.57.1
- @gsd/native, @gsd-build/daemon: stuck at 0.1.0
Changes:
- Bump all non-private workspace packages to 2.74.0 to match the latest
release tag. Update daemon + mcp-server's internal rpc-client dep
from ^2.52.0 → ^2.74.0. Regenerate root lockfile.
- scripts/generate-changelog.mjs: compute newVersion from max(latest
stable tag, package.json) instead of package.json alone. Prevents
version regressions when package.json is accidentally clobbered by
rebases or merges.
- scripts/bump-version.mjs: extend to sync all eight non-private
workspace packages (daemon, mcp-server, native, pi-agent-core, pi-ai,
pi-coding-agent, pi-tui, rpc-client) including their internal deps
on each other. Private packages (studio, web) are left alone.
Studio and web remain on their own versioning (private: true, never
published). The native platform shims under native/npm/* are still
synced via native/scripts/sync-platform-versions.cjs from the root
version as before.
92 lines
2.7 KiB
JSON
92 lines
2.7 KiB
JSON
{
|
|
"name": "@gsd/native",
|
|
"version": "2.74.0",
|
|
"description": "Native Rust bindings for GSD — high-performance native modules via N-API",
|
|
"type": "commonjs",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"build:native": "node ../../native/scripts/build.js",
|
|
"build:native:dev": "node ../../native/scripts/build.js --dev",
|
|
"test": "npm run build:native:dev && node --test src/__tests__/grep.test.mjs src/__tests__/ps.test.mjs src/__tests__/glob.test.mjs src/__tests__/clipboard.test.mjs src/__tests__/highlight.test.mjs src/__tests__/html.test.mjs src/__tests__/text.test.mjs src/__tests__/fd.test.mjs src/__tests__/image.test.mjs"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./grep": {
|
|
"types": "./dist/grep/index.d.ts",
|
|
"default": "./dist/grep/index.js"
|
|
},
|
|
"./ps": {
|
|
"types": "./dist/ps/index.d.ts",
|
|
"default": "./dist/ps/index.js"
|
|
},
|
|
"./glob": {
|
|
"types": "./dist/glob/index.d.ts",
|
|
"default": "./dist/glob/index.js"
|
|
},
|
|
"./clipboard": {
|
|
"types": "./dist/clipboard/index.d.ts",
|
|
"default": "./dist/clipboard/index.js"
|
|
},
|
|
"./ast": {
|
|
"types": "./dist/ast/index.d.ts",
|
|
"default": "./dist/ast/index.js"
|
|
},
|
|
"./html": {
|
|
"types": "./dist/html/index.d.ts",
|
|
"default": "./dist/html/index.js"
|
|
},
|
|
"./text": {
|
|
"types": "./dist/text/index.d.ts",
|
|
"default": "./dist/text/index.js"
|
|
},
|
|
"./fd": {
|
|
"types": "./dist/fd/index.d.ts",
|
|
"default": "./dist/fd/index.js"
|
|
},
|
|
"./image": {
|
|
"types": "./dist/image/index.d.ts",
|
|
"default": "./dist/image/index.js"
|
|
},
|
|
"./xxhash": {
|
|
"types": "./dist/xxhash/index.d.ts",
|
|
"default": "./dist/xxhash/index.js"
|
|
},
|
|
"./diff": {
|
|
"types": "./dist/diff/index.d.ts",
|
|
"default": "./dist/diff/index.js"
|
|
},
|
|
"./gsd-parser": {
|
|
"types": "./dist/gsd-parser/index.d.ts",
|
|
"default": "./dist/gsd-parser/index.js"
|
|
},
|
|
"./highlight": {
|
|
"types": "./dist/highlight/index.d.ts",
|
|
"default": "./dist/highlight/index.js"
|
|
},
|
|
"./json-parse": {
|
|
"types": "./dist/json-parse/index.d.ts",
|
|
"default": "./dist/json-parse/index.js"
|
|
},
|
|
"./stream-process": {
|
|
"types": "./dist/stream-process/index.d.ts",
|
|
"default": "./dist/stream-process/index.js"
|
|
},
|
|
"./truncate": {
|
|
"types": "./dist/truncate/index.d.ts",
|
|
"default": "./dist/truncate/index.js"
|
|
},
|
|
"./ttsr": {
|
|
"types": "./dist/ttsr/index.d.ts",
|
|
"default": "./dist/ttsr/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"license": "MIT"
|
|
}
|