From 7f25daa2005401f55d7f737fd1f36484f7cdf57b Mon Sep 17 00:00:00 2001 From: Sergey Krylov Date: Wed, 28 Jan 2026 06:20:30 +0300 Subject: [PATCH] fix: fix paths --- .npmignore | 10 ++++++++++ package.json | 9 +++++---- 2 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..89ec62d --- /dev/null +++ b/.npmignore @@ -0,0 +1,10 @@ +/node_modules/ +*.log +pnpm-lock.yaml +yarn.lock +.env +.DS_Store +.log +.vscode/ +.gitea/ +Thumbs.db diff --git a/package.json b/package.json index ecc01ff..3cc7e5e 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,17 @@ { "name": "@teacinema/contracts", - "version": "1.0.2", + "version": "1.0.4", "description": "Protocol Buffers contracts for microservices", "scripts": { "build": "tsc -p tsconfig.build.json", "generate": "npx protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit" }, - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "./dist/index.js", + "types": "./dist/index.d.ts", "files": [ "gen", - "proto" + "proto", + "dist" ], "publishConfig": { "access": "public"