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"