Skip to content

Commit

Permalink
remove copied test proto file and modify npm command
Browse files Browse the repository at this point in the history
  • Loading branch information
b0b3rt committed Oct 26, 2021
1 parent 16f1356 commit 9d70f39
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 46 deletions.
2 changes: 1 addition & 1 deletion packages/grpc-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"fix": "gts fix src/*.ts",
"pretest": "npm run generate-types && npm run compile",
"posttest": "npm run check && madge -c ./build/src",
"generate-types": "proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --includeComments --includeDirs proto/ -O src/generated/ --grpcLib ../index channelz.proto test_service.proto"
"generate-types": "proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --includeComments --includeDirs proto/ --include-dirs test/fixtures/ -O src/generated/ --grpcLib ../index channelz.proto test_service.proto"
},
"dependencies": {
"@grpc/proto-loader": "^0.6.4",
Expand Down
42 changes: 0 additions & 42 deletions packages/grpc-js/proto/test_service.proto

This file was deleted.

2 changes: 1 addition & 1 deletion packages/grpc-js/src/generated/Request.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Original file: proto/test_service.proto
// Original file: test/fixtures/test_service.proto


export interface Request {
Expand Down
2 changes: 1 addition & 1 deletion packages/grpc-js/src/generated/Response.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Original file: proto/test_service.proto
// Original file: test/fixtures/test_service.proto


export interface Response {
Expand Down
2 changes: 1 addition & 1 deletion packages/grpc-js/src/generated/TestService.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Original file: proto/test_service.proto
// Original file: test/fixtures/test_service.proto

import type * as grpc from './../index'
import type { MethodDefinition } from '@grpc/proto-loader'
Expand Down

0 comments on commit 9d70f39

Please sign in to comment.