From 73c85f06235b2645aabbb6c6985fa3f4765a1f26 Mon Sep 17 00:00:00 2001 From: Juergen Kunz Date: Sun, 24 Aug 2025 19:37:15 +0000 Subject: [PATCH] fix(packaging): Update package metadata: add exports, mark package public; clean up README contributing section --- changelog.md | 7 +++++++ package.json | 5 +++-- readme.md | 18 ------------------ ts/00_commitinfo_data.ts | 2 +- 4 files changed, 11 insertions(+), 21 deletions(-) diff --git a/changelog.md b/changelog.md index 0501d01..e4c60b1 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,12 @@ # Changelog +## 2025-08-24 - 2.0.2 - fix(packaging) +Update package metadata: add exports, mark package public; clean up README contributing section + +- Add an exports entry in package.json pointing to ./dist_ts/index.js for proper ESM exports resolution +- Mark package as public (private: false) and remove legacy main/typings fields +- Remove the Contributing section and example contributor workflow from README + ## 2025-08-24 - 2.0.1 - fix(npm) Remove .npmrc to avoid committing npm registry configuration diff --git a/package.json b/package.json index d05cdbe..a893bc9 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,9 @@ "version": "2.0.1", "private": false, "description": "A library for node inter process communication, providing an easy-to-use API for IPC.", - "main": "dist/index.js", - "typings": "dist/index.d.ts", + "exports": { + ".": "./dist_ts/index.js" + }, "author": "Lossless GmbH", "license": "MIT", "scripts": { diff --git a/readme.md b/readme.md index ae6fcea..2163788 100644 --- a/readme.md +++ b/readme.md @@ -449,24 +449,6 @@ SmartIPC uses a layered architecture for maximum flexibility: | Message Size Limits | ✅ | ❌ | ✅ | | | Type Safety | ✅ | ❌ | ❌ | | -## Contributing - -We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details. - -```bash -# Clone the repository -git clone https://code.foss.global/push.rocks/smartipc.git - -# Install dependencies -pnpm install - -# Run tests -pnpm test - -# Build -pnpm build -``` - ## Support - 📖 [Documentation](https://code.foss.global/push.rocks/smartipc) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 50c9b68..88f1d21 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartipc', - version: '2.0.1', + version: '2.0.2', description: 'A library for node inter process communication, providing an easy-to-use API for IPC.' }