mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 11:02:20 +00:00
- Add --check, --publish-crates, --publish-npm-sdk, --publish-npm-cli flags to release script - Create CI workflow with pre-release checks (cargo fmt, clippy, test, tsc) - Update release workflow to run checks, build binaries, and publish packages - Add @sandbox-agent/cli npm package with platform-specific binaries (esbuild pattern) - Configure TypeScript SDK for npm publishing (exports, files, types) - Add crates.io metadata to Cargo.toml (repository, description) - Rename @sandbox-agent/web to @sandbox-agent/inspector
36 lines
1 KiB
JSON
36 lines
1 KiB
JSON
{
|
|
"name": "sandbox-agent",
|
|
"version": "0.1.0",
|
|
"description": "TypeScript SDK for sandbox-agent",
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/rivet-dev/sandbox-agent"
|
|
},
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"generate:openapi": "cargo check -p sandbox-agent-openapi-gen && cargo run -p sandbox-agent-openapi-gen -- --out src/generated/openapi.json",
|
|
"generate:types": "openapi-typescript src/generated/openapi.json -o src/generated/openapi.ts",
|
|
"generate": "pnpm run generate:openapi && pnpm run generate:types",
|
|
"build": "pnpm run generate && tsc -p tsconfig.json"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"openapi-typescript": "^6.7.0",
|
|
"typescript": "^5.7.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"@sandbox-agent/cli": "0.1.0"
|
|
}
|
|
}
|