diff --git a/README.md b/README.md index 091a385..728d6df 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,10 @@ TypeScript SDK for [OpenDecree](https://github.com/opendecree/decree) -- schema- > **Alpha** -- This SDK is under active development. APIs and behavior may change without notice between versions. +## Requirements + +- Node.js **≥ 20** (ESM-only package — CommonJS is not supported) + ## Install ```bash diff --git a/package.json b/package.json index 7cedb3b..0f4257c 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,10 @@ "exports": { ".": { "types": "./dist/index.d.ts", - "import": "./dist/index.js" - } + "import": "./dist/index.js", + "default": "./dist/index.js" + }, + "./package.json": "./package.json" }, "files": [ "dist",