From 61dd3df3cacfa6442a927ec4a848e22fb4edc5ad Mon Sep 17 00:00:00 2001 From: Tchoupinax Date: Sun, 24 Nov 2024 11:44:27 +0100 Subject: [PATCH] fix(npm): configure package as public --- package-lock.json | 28 ++++++++++++++-------------- package.json | 7 ++++++- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index bf81a8b..d7716a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,28 +1,28 @@ { - "name": "iggy", + "name": "@iggy.rs/sdk", "version": "1.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "iggy", + "name": "@iggy.rs/sdk", "version": "1.0.1", "license": "MIT", "dependencies": { - "debug": "^4.3.5", - "generic-pool": "^3.9.0", - "uuidv7": "^0.6.3" + "debug": "4.3.5", + "generic-pool": "3.9.0", + "uuidv7": "0.6.3" }, "devDependencies": { - "@semantic-release/changelog": "^6.0.3", - "@semantic-release/exec": "^6.0.3", - "@semantic-release/git": "^10.0.1", - "@semantic-release/release-notes-generator": "^14.0.0", - "@swc-node/register": "^1.10.9", - "@types/debug": "^4.1.12", - "@types/node": "^20.10.7", - "semantic-release": "^24.0.0", - "typescript": "^5.3.3" + "@semantic-release/changelog": "6.0.3", + "@semantic-release/exec": "6.0.3", + "@semantic-release/git": "10.0.1", + "@semantic-release/release-notes-generator": "14.0.0", + "@swc-node/register": "1.10.9", + "@types/debug": "4.1.12", + "@types/node": "20.10.7", + "semantic-release": "24.0.0", + "typescript": "5.3.3" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index 11cdcdd..697ace9 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,11 @@ "type": "git", "url": "https://github.com/iggy-rs/iggy-node-client.git" }, + "publishConfig": { + "access": "public", + "main": "dist/index.js", + "types": "dist/index.d.ts" + }, "homepage": "https://iggy.rs", "files": [ "dist/**/*.js", @@ -47,4 +52,4 @@ "semantic-release": "24.0.0", "typescript": "5.3.3" } -} +} \ No newline at end of file