fix: fix paths
All checks were successful
Publish / Publish npm package action (push) Successful in 19s

This commit is contained in:
Sergey Krylov 2026-01-28 06:20:30 +03:00
parent 954d352941
commit 7f25daa200
2 changed files with 15 additions and 4 deletions

10
.npmignore Normal file
View File

@ -0,0 +1,10 @@
/node_modules/
*.log
pnpm-lock.yaml
yarn.lock
.env
.DS_Store
.log
.vscode/
.gitea/
Thumbs.db

View File

@ -1,16 +1,17 @@
{ {
"name": "@teacinema/contracts", "name": "@teacinema/contracts",
"version": "1.0.2", "version": "1.0.4",
"description": "Protocol Buffers contracts for microservices", "description": "Protocol Buffers contracts for microservices",
"scripts": { "scripts": {
"build": "tsc -p tsconfig.build.json", "build": "tsc -p tsconfig.build.json",
"generate": "npx protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit" "generate": "npx protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
}, },
"main": "dist/index.js", "main": "./dist/index.js",
"types": "dist/index.d.ts", "types": "./dist/index.d.ts",
"files": [ "files": [
"gen", "gen",
"proto" "proto",
"dist"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"