Skip to content

Commit

Permalink
Fix paths in npmignore files (#1112)
Browse files Browse the repository at this point in the history
---------

Signed-off-by: Steve Ayers <sayers@buf.build>
  • Loading branch information
smaye81 authored Jun 21, 2024
1 parent 4464e71 commit 1d71dc9
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 26 deletions.
3 changes: 3 additions & 0 deletions packages/connect-express/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
/src
/*.json
/conformance
/dist/**/*.spec.js
/dist/**/*.spec.d.ts
5 changes: 1 addition & 4 deletions packages/connect-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,5 @@
"@bufbuild/protobuf": "^1.10.0",
"@connectrpc/connect": "1.4.0",
"@connectrpc/connect-node": "1.4.0"
},
"files": [
"dist/**"
]
}
}
5 changes: 5 additions & 0 deletions packages/connect-fastify/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/src
/*.json
/conformance
/dist/**/*.spec.js
/dist/**/*.spec.d.ts
5 changes: 1 addition & 4 deletions packages/connect-fastify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,5 @@
"fastify": "^4.22.1",
"@connectrpc/connect": "1.4.0",
"@connectrpc/connect-node": "1.4.0"
},
"files": [
"dist/**"
]
}
}
4 changes: 4 additions & 0 deletions packages/connect-migrate/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/src
/*.json
/dist/**/*.spec.js
/dist/**/*.spec.d.ts
6 changes: 1 addition & 5 deletions packages/connect-migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,5 @@
"devDependencies": {
"@types/jscodeshift": "0.11.11",
"@types/semver": "^7.5.8"
},
"files": [
"dist",
"!dist/**/*.spec.ts"
]
}
}
4 changes: 4 additions & 0 deletions packages/connect-next/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/src
/*.json
/dist/**/*.spec.js
/dist/**/*.spec.d.ts
5 changes: 1 addition & 4 deletions packages/connect-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,5 @@
"next": "^13.2.4",
"@connectrpc/connect": "1.4.0",
"@connectrpc/connect-node": "1.4.0"
},
"files": [
"dist/**"
]
}
}
1 change: 1 addition & 0 deletions packages/connect-node/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/dist/*/**/*.spec.js
/dist/*/**/*.spec.d.ts
/dist/*/testdata/
/conformance
5 changes: 1 addition & 4 deletions packages/connect-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,5 @@
"@types/jasmine": "^5.0.0",
"jasmine": "^5.1.0",
"@connectrpc/connect-conformance": "^1.4.0"
},
"files": [
"dist/**"
]
}
}
5 changes: 4 additions & 1 deletion packages/connect-web/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/src
/*.json
/dist/*/**/*.spec.js
/dist/*/**/*.spec.d.ts
/browserstacktests/*
/browserstack
/conformance
5 changes: 1 addition & 4 deletions packages/connect-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,5 @@
"peerDependencies": {
"@bufbuild/protobuf": "^1.10.0",
"@connectrpc/connect": "1.4.0"
},
"files": [
"dist/**"
]
}
}
4 changes: 4 additions & 0 deletions packages/protoc-gen-connect-es/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/src
/*.json
/dist/**/*.spec.js
/dist/**/*.spec.d.ts

0 comments on commit 1d71dc9

Please sign in to comment.