Files
openclaw/packages/gateway-protocol/package.json
Peter Steinberger f6131a4fbf build(deps): remove npm shrinkwrap; mirror pnpm lock into transient package locks (#114006)
* build(deps): remove npm shrinkwrap; mirror pnpm lock into transient package locks

npm 12 removed shrinkwrap (command + tarball/root loading). Delete all 82
committed npm-shrinkwrap.json files and stop publishing lockfiles; keep
pnpm-lock.yaml as the single reviewed dependency boundary. The generator
becomes scripts/generate-npm-package-lock.mjs and feeds plugin bundling via
a transient package-lock.json + npm ci (works on npm 11 and 12). Tarball
validation treats the published 2026.7.2 beta train as a shrinkwrap
transition; self-update npm detection now uses install topology instead of
the shipped shrinkwrap.

* fix(deps): repair lint, deadcode, and test-type lanes for the npm 12 migration

- sort integrity comparisons with an explicit comparator (oxlint)
- keep resolveBunGlobalNodeModules module-local (knip unused-export gate)
- model npm pack --json as npm<=11 array / npm 12 name-keyed object
- default calver destructuring in the tarball test fixture
2026-07-26 01:29:55 -04:00

95 lines
2.7 KiB
JSON

{
"name": "@openclaw/gateway-protocol",
"version": "2026.7.2",
"description": "Typed schemas and runtime validators for the OpenClaw Gateway WebSocket protocol",
"keywords": [
"gateway",
"openclaw",
"protocol",
"typebox",
"websocket"
],
"homepage": "https://github.com/openclaw/openclaw#readme",
"bugs": {
"url": "https://github.com/openclaw/openclaw/issues"
},
"license": "MIT",
"author": "OpenClaw Foundation (https://openclaw.org)",
"repository": {
"type": "git",
"url": "git+https://github.com/openclaw/openclaw.git",
"directory": "packages/gateway-protocol"
},
"files": [
"dist",
"LICENSE",
"README.md",
"CHANGELOG.md",
"protocol.schema.json"
],
"sideEffects": false,
"type": "module",
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs",
"default": "./dist/index.mjs"
},
"./client-info": {
"types": "./dist/client-info.d.mts",
"import": "./dist/client-info.mjs",
"default": "./dist/client-info.mjs"
},
"./connect-error-details": {
"types": "./dist/connect-error-details.d.mts",
"import": "./dist/connect-error-details.mjs",
"default": "./dist/connect-error-details.mjs"
},
"./frame-guards": {
"types": "./dist/frame-guards.d.mts",
"import": "./dist/frame-guards.mjs",
"default": "./dist/frame-guards.mjs"
},
"./gateway-error-details": {
"types": "./dist/gateway-error-details.d.mts",
"import": "./dist/gateway-error-details.mjs",
"default": "./dist/gateway-error-details.mjs"
},
"./schema": {
"types": "./dist/schema.d.mts",
"import": "./dist/schema.mjs",
"default": "./dist/schema.mjs"
},
"./startup-unavailable": {
"types": "./dist/startup-unavailable.d.mts",
"import": "./dist/startup-unavailable.mjs",
"default": "./dist/startup-unavailable.mjs"
},
"./version": {
"types": "./dist/version.d.mts",
"import": "./dist/version.mjs",
"default": "./dist/version.mjs"
}
},
"scripts": {
"build": "tsdown src/index.ts src/client-info.ts src/connect-error-details.ts src/frame-guards.ts src/gateway-error-details.ts src/schema.ts src/startup-unavailable.ts src/version.ts --no-config --platform node --format esm --dts --out-dir dist --clean",
"prepack": "pnpm run build && node --import tsx ../../scripts/protocol-gen.ts --out ./protocol.schema.json"
},
"dependencies": {
"typebox": "1.3.6"
},
"engines": {
"node": ">=22.19.0"
},
"publishConfig": {
"access": "public"
},
"openclaw": {
"release": {
"publishToNpm": true
}
}
}