fix(packaging): Update package metadata: add exports, mark package public; clean up README contributing section

This commit is contained in:
2025-08-24 19:37:15 +00:00
parent 290ff93c1e
commit 73c85f0623
4 changed files with 11 additions and 21 deletions

View File

@@ -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

View File

@@ -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": {

View File

@@ -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)

View File

@@ -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.'
}