From 1ae943818486d5d47d8ceae666d34e6e6e5e7091 Mon Sep 17 00:00:00 2001 From: Jiasheng Date: Mon, 26 Jan 2026 19:20:04 +0800 Subject: [PATCH] chore: add export without export package.json so that zenstack CLI wouldn't check the version of it (#22) --- package.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 40bb59d..1e4fa62 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@zenstackhq/proxy", - "version": "0.2.4", + "version": "0.2.5", "description": "A CLI tool to run an Express server that proxies CRUD requests to a ZenStack backend", "main": "index.js", "publishConfig": { @@ -12,7 +12,9 @@ "url": "https://github.com/zenstackhq/proxy" }, "bin": { - "zenstack-proxy": "./bin/cli.js" + "zenstack-proxy": "./bin/cli.js", + "zenstack-studio": "./bin/cli.js", + "zen-studio": "./bin/cli.js" }, "scripts": { "clean": "rimraf dist", @@ -44,5 +46,11 @@ "copyfiles": "^2.4.1", "rimraf": "^4.0.0", "typescript": "^5.0.0" + }, + "exports": { + ".": { + "import": "./index.js", + "require": "./index.js" + } } }