@lage-run/rpc 1.4.0 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.json CHANGED
@@ -2,7 +2,51 @@
2
2
  "name": "@lage-run/rpc",
3
3
  "entries": [
4
4
  {
5
- "date": "Sat, 29 Mar 2025 02:16:19 GMT",
5
+ "date": "Sat, 24 Jan 2026 09:00:58 GMT",
6
+ "version": "1.4.2",
7
+ "tag": "@lage-run/rpc_v1.4.2",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "elcraig@microsoft.com",
12
+ "package": "@lage-run/rpc",
13
+ "commit": "092607a7d55561a9342ab3265ccab0142dd59b9b",
14
+ "comment": "Add explicit module boundary types and update typescript version"
15
+ },
16
+ {
17
+ "author": "elcraig@microsoft.com",
18
+ "package": "@lage-run/rpc",
19
+ "commit": "092607a7d55561a9342ab3265ccab0142dd59b9b",
20
+ "comment": "Bump and pin dependencies locally, but unpin them when the package is published"
21
+ }
22
+ ],
23
+ "none": [
24
+ {
25
+ "author": "elcraig@microsoft.com",
26
+ "package": "@lage-run/rpc",
27
+ "commit": "092607a7d55561a9342ab3265ccab0142dd59b9b",
28
+ "comment": "Add missing devDependencies"
29
+ }
30
+ ]
31
+ }
32
+ },
33
+ {
34
+ "date": "Thu, 15 Jan 2026 23:24:00 GMT",
35
+ "version": "1.4.1",
36
+ "tag": "@lage-run/rpc_v1.4.1",
37
+ "comments": {
38
+ "patch": [
39
+ {
40
+ "author": "nemanjatesic@microsoft.com",
41
+ "package": "@lage-run/rpc",
42
+ "commit": "3d7ac61faadf82097fb2996431b537b2a9baa0e3",
43
+ "comment": "Add lint rule for no-floating-promises and fix several places"
44
+ }
45
+ ]
46
+ }
47
+ },
48
+ {
49
+ "date": "Sat, 29 Mar 2025 02:16:38 GMT",
6
50
  "version": "1.4.0",
7
51
  "tag": "@lage-run/rpc_v1.4.0",
8
52
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,29 @@
1
1
  # Change Log - @lage-run/rpc
2
2
 
3
- <!-- This log was last generated on Sat, 29 Mar 2025 02:16:19 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Sat, 24 Jan 2026 09:00:58 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 1.4.2
8
+
9
+ Sat, 24 Jan 2026 09:00:58 GMT
10
+
11
+ ### Patches
12
+
13
+ - Add explicit module boundary types and update typescript version (elcraig@microsoft.com)
14
+ - Bump and pin dependencies locally, but unpin them when the package is published (elcraig@microsoft.com)
15
+
16
+ ## 1.4.1
17
+
18
+ Thu, 15 Jan 2026 23:24:00 GMT
19
+
20
+ ### Patches
21
+
22
+ - Add lint rule for no-floating-promises and fix several places (nemanjatesic@microsoft.com)
23
+
7
24
  ## 1.4.0
8
25
 
9
- Sat, 29 Mar 2025 02:16:19 GMT
26
+ Sat, 29 Mar 2025 02:16:38 GMT
10
27
 
11
28
  ### Minor changes
12
29
 
@@ -1,22 +1,8 @@
1
+ import { type PromiseClient } from "@connectrpc/connect";
2
+ import { LageService } from "./gen/lage/v1/lage_connect.js";
1
3
  export interface CreateClientOptions {
2
4
  baseUrl: string;
3
5
  httpVersion: "1.1" | "2";
4
6
  }
5
7
  export type LageClient = ReturnType<typeof createClient>;
6
- export declare function createClient({ baseUrl, httpVersion }: CreateClientOptions): import("@connectrpc/connect").PromiseClient<{
7
- readonly typeName: "connectrpc.lage.v1.LageService";
8
- readonly methods: {
9
- readonly runTarget: {
10
- readonly name: "RunTarget";
11
- readonly I: typeof import("./gen/lage/v1/lage_pb.js").RunTargetRequest;
12
- readonly O: typeof import("./gen/lage/v1/lage_pb.js").RunTargetResponse;
13
- readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
14
- };
15
- readonly ping: {
16
- readonly name: "Ping";
17
- readonly I: typeof import("./gen/lage/v1/lage_pb.js").PingRequest;
18
- readonly O: typeof import("./gen/lage/v1/lage_pb.js").PingResponse;
19
- readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
20
- };
21
- };
22
- }>;
8
+ export declare function createClient({ baseUrl, httpVersion }: CreateClientOptions): PromiseClient<typeof LageService>;
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/createClient.ts"],"sourcesContent":["import { createPromiseClient } from \"@connectrpc/connect\";\nimport { createGrpcTransport } from \"@connectrpc/connect-node\";\nimport { LageService } from \"./gen/lage/v1/lage_connect.js\";\n\nexport interface CreateClientOptions {\n baseUrl: string;\n httpVersion: \"1.1\" | \"2\";\n}\n\nexport type LageClient = ReturnType<typeof createClient>;\n\nexport function createClient({ baseUrl, httpVersion }: CreateClientOptions) {\n const transport = createGrpcTransport({\n httpVersion,\n baseUrl,\n });\n\n return createPromiseClient(LageService, transport);\n}\n"],"names":["createClient","baseUrl","httpVersion","transport","createGrpcTransport","createPromiseClient","LageService"],"mappings":";;;;+BAWgBA;;;eAAAA;;;yBAXoB;6BACA;8BACR;AASrB,SAASA,aAAa,EAAEC,OAAO,EAAEC,WAAW,EAAuB;IACxE,MAAMC,YAAYC,IAAAA,gCAAmB,EAAC;QACpCF;QACAD;IACF;IAEA,OAAOI,IAAAA,4BAAmB,EAACC,yBAAW,EAAEH;AAC1C"}
1
+ {"version":3,"sources":["../src/createClient.ts"],"sourcesContent":["import { createPromiseClient, type PromiseClient } from \"@connectrpc/connect\";\nimport { createGrpcTransport } from \"@connectrpc/connect-node\";\nimport { LageService } from \"./gen/lage/v1/lage_connect.js\";\n\nexport interface CreateClientOptions {\n baseUrl: string;\n httpVersion: \"1.1\" | \"2\";\n}\n\nexport type LageClient = ReturnType<typeof createClient>;\n\nexport function createClient({ baseUrl, httpVersion }: CreateClientOptions): PromiseClient<typeof LageService> {\n const transport = createGrpcTransport({\n httpVersion,\n baseUrl,\n });\n\n return createPromiseClient(LageService, transport);\n}\n"],"names":["createClient","baseUrl","httpVersion","transport","createGrpcTransport","createPromiseClient","LageService"],"mappings":";;;;+BAWgBA;;;eAAAA;;;yBAXwC;6BACpB;8BACR;AASrB,SAASA,aAAa,EAAEC,OAAO,EAAEC,WAAW,EAAuB;IACxE,MAAMC,YAAYC,IAAAA,gCAAmB,EAAC;QACpCF;QACAD;IACF;IAEA,OAAOI,IAAAA,4BAAmB,EAACC,yBAAW,EAAEH;AAC1C"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/createRoutes.ts"],"sourcesContent":["import { type ConnectRouter } from \"@connectrpc/connect\";\nimport { LageService } from \"./gen/lage/v1/lage_connect.js\";\nimport { type ILageService } from \"./types/ILageService.js\";\n\nexport function createRoutes(serviceImpl: ILageService) {\n return (router: ConnectRouter) => {\n router.service(LageService, serviceImpl);\n };\n}\n"],"names":["createRoutes","serviceImpl","router","service","LageService"],"mappings":";;;;+BAIgBA;;;eAAAA;;;8BAHY;AAGrB,SAASA,aAAaC,WAAyB;IACpD,OAAO,CAACC;QACNA,OAAOC,OAAO,CAACC,yBAAW,EAAEH;IAC9B;AACF"}
1
+ {"version":3,"sources":["../src/createRoutes.ts"],"sourcesContent":["import { type ConnectRouter } from \"@connectrpc/connect\";\nimport { LageService } from \"./gen/lage/v1/lage_connect.js\";\nimport { type ILageService } from \"./types/ILageService.js\";\n\nexport function createRoutes(serviceImpl: ILageService) {\n return (router: ConnectRouter): void => {\n router.service(LageService, serviceImpl);\n };\n}\n"],"names":["createRoutes","serviceImpl","router","service","LageService"],"mappings":";;;;+BAIgBA;;;eAAAA;;;8BAHY;AAGrB,SAASA,aAAaC,WAAyB;IACpD,OAAO,CAACC;QACNA,OAAOC,OAAO,CAACC,yBAAW,EAAEH;IAC9B;AACF"}
@@ -1,4 +1,4 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import type { ILageService } from "./types/ILageService.js";
4
- export declare function createServer(lageService: ILageService, abortController: AbortController): Promise<import("fastify").FastifyInstance<import("http2").Http2Server, import("http2").Http2ServerRequest, import("http2").Http2ServerResponse, import("fastify").FastifyBaseLogger, import("fastify").FastifyTypeProviderDefault>>;
2
+ import type { FastifyInstance, FastifyBaseLogger, FastifyTypeProviderDefault } from "fastify";
3
+ import type { Http2Server, Http2ServerRequest, Http2ServerResponse } from "http2";
4
+ export declare function createServer(lageService: ILageService, abortController: AbortController): Promise<FastifyInstance<Http2Server, Http2ServerRequest, Http2ServerResponse, FastifyBaseLogger, FastifyTypeProviderDefault>>;
@@ -22,8 +22,8 @@ async function createServer(lageService, abortController) {
22
22
  grpc: true
23
23
  });
24
24
  server.get("/", (_, reply)=>{
25
- reply.type("text/plain");
26
- reply.send("lage service");
25
+ void reply.type("text/plain");
26
+ void reply.send("lage service");
27
27
  });
28
28
  return server;
29
29
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/createServer.ts"],"sourcesContent":["import { fastify } from \"fastify\";\nimport { fastifyConnectPlugin } from \"@connectrpc/connect-fastify\";\nimport { createRoutes } from \"./createRoutes.js\";\nimport type { ILageService } from \"./types/ILageService.js\";\n\nexport async function createServer(lageService: ILageService, abortController: AbortController) {\n const server = fastify({\n http2: true,\n });\n await server.register(fastifyConnectPlugin, {\n routes: createRoutes(lageService),\n shutdownSignal: abortController.signal,\n compressMinBytes: 512,\n grpc: true,\n });\n\n server.get(\"/\", (_, reply) => {\n reply.type(\"text/plain\");\n reply.send(\"lage service\");\n });\n\n return server;\n}\n"],"names":["createServer","lageService","abortController","server","fastify","http2","register","fastifyConnectPlugin","routes","createRoutes","shutdownSignal","signal","compressMinBytes","grpc","get","_","reply","type","send"],"mappings":";;;;+BAKsBA;;;eAAAA;;;yBALE;gCACa;8BACR;AAGtB,eAAeA,aAAaC,WAAyB,EAAEC,eAAgC;IAC5F,MAAMC,SAASC,IAAAA,gBAAO,EAAC;QACrBC,OAAO;IACT;IACA,MAAMF,OAAOG,QAAQ,CAACC,oCAAoB,EAAE;QAC1CC,QAAQC,IAAAA,0BAAY,EAACR;QACrBS,gBAAgBR,gBAAgBS,MAAM;QACtCC,kBAAkB;QAClBC,MAAM;IACR;IAEAV,OAAOW,GAAG,CAAC,KAAK,CAACC,GAAGC;QAClBA,MAAMC,IAAI,CAAC;QACXD,MAAME,IAAI,CAAC;IACb;IAEA,OAAOf;AACT"}
1
+ {"version":3,"sources":["../src/createServer.ts"],"sourcesContent":["import { fastify } from \"fastify\";\nimport { fastifyConnectPlugin } from \"@connectrpc/connect-fastify\";\nimport { createRoutes } from \"./createRoutes.js\";\nimport type { ILageService } from \"./types/ILageService.js\";\n\nimport type { FastifyInstance, FastifyBaseLogger, FastifyTypeProviderDefault } from \"fastify\";\nimport type { Http2Server, Http2ServerRequest, Http2ServerResponse } from \"http2\";\n\nexport async function createServer(\n lageService: ILageService,\n abortController: AbortController\n): Promise<FastifyInstance<Http2Server, Http2ServerRequest, Http2ServerResponse, FastifyBaseLogger, FastifyTypeProviderDefault>> {\n const server = fastify({\n http2: true,\n });\n\n await server.register(fastifyConnectPlugin, {\n routes: createRoutes(lageService),\n shutdownSignal: abortController.signal,\n compressMinBytes: 512,\n grpc: true,\n });\n\n server.get(\"/\", (_, reply) => {\n void reply.type(\"text/plain\");\n void reply.send(\"lage service\");\n });\n\n return server;\n}\n"],"names":["createServer","lageService","abortController","server","fastify","http2","register","fastifyConnectPlugin","routes","createRoutes","shutdownSignal","signal","compressMinBytes","grpc","get","_","reply","type","send"],"mappings":";;;;+BAQsBA;;;eAAAA;;;yBARE;gCACa;8BACR;AAMtB,eAAeA,aACpBC,WAAyB,EACzBC,eAAgC;IAEhC,MAAMC,SAASC,IAAAA,gBAAO,EAAC;QACrBC,OAAO;IACT;IAEA,MAAMF,OAAOG,QAAQ,CAACC,oCAAoB,EAAE;QAC1CC,QAAQC,IAAAA,0BAAY,EAACR;QACrBS,gBAAgBR,gBAAgBS,MAAM;QACtCC,kBAAkB;QAClBC,MAAM;IACR;IAEAV,OAAOW,GAAG,CAAC,KAAK,CAACC,GAAGC;QAClB,KAAKA,MAAMC,IAAI,CAAC;QAChB,KAAKD,MAAME,IAAI,CAAC;IAClB;IAEA,OAAOf;AACT"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/gen/lage/v1/lage_connect.ts"],"sourcesContent":["// @generated by protoc-gen-connect-es v1.4.0 with parameter \"target=ts\"\n// @generated from file lage/v1/lage.proto (package connectrpc.lage.v1, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport { PingRequest, PingResponse, RunTargetRequest, RunTargetResponse } from \"./lage_pb.js\";\nimport { MethodKind } from \"@bufbuild/protobuf\";\n\n/**\n * @generated from service connectrpc.lage.v1.LageService\n */\nexport const LageService = {\n typeName: \"connectrpc.lage.v1.LageService\",\n methods: {\n /**\n * @generated from rpc connectrpc.lage.v1.LageService.RunTarget\n */\n runTarget: {\n name: \"RunTarget\",\n I: RunTargetRequest,\n O: RunTargetResponse,\n kind: MethodKind.Unary,\n },\n /**\n * a ping function to check if the server is up\n *\n * @generated from rpc connectrpc.lage.v1.LageService.Ping\n */\n ping: {\n name: \"Ping\",\n I: PingRequest,\n O: PingResponse,\n kind: MethodKind.Unary,\n },\n },\n} as const;\n"],"names":["LageService","typeName","methods","runTarget","name","I","RunTargetRequest","O","RunTargetResponse","kind","MethodKind","Unary","ping","PingRequest","PingResponse"],"mappings":"AAAA,wEAAwE;AACxE,sFAAsF;AACtF,kBAAkB,GAClB,cAAc;;;;;+BAQDA;;;eAAAA;;;yBANkE;0BACpD;AAKpB,MAAMA,cAAc;IACzBC,UAAU;IACVC,SAAS;QACP;;KAEC,GACDC,WAAW;YACTC,MAAM;YACNC,GAAGC,yBAAgB;YACnBC,GAAGC,0BAAiB;YACpBC,MAAMC,oBAAU,CAACC,KAAK;QACxB;QACA;;;;KAIC,GACDC,MAAM;YACJR,MAAM;YACNC,GAAGQ,oBAAW;YACdN,GAAGO,qBAAY;YACfL,MAAMC,oBAAU,CAACC,KAAK;QACxB;IACF;AACF"}
1
+ {"version":3,"sources":["../../../../src/gen/lage/v1/lage_connect.ts"],"sourcesContent":["// @generated by protoc-gen-connect-es v1.4.0 with parameter \"target=ts\"\n// @generated from file lage/v1/lage.proto (package connectrpc.lage.v1, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport { PingRequest, PingResponse, RunTargetRequest, RunTargetResponse } from \"./lage_pb.js\";\nimport { MethodKind } from \"@bufbuild/protobuf\";\n\n/**\n * @generated from service connectrpc.lage.v1.LageService\n */\nexport const LageService: {\n readonly typeName: \"connectrpc.lage.v1.LageService\";\n readonly methods: {\n /**\n * @generated from rpc connectrpc.lage.v1.LageService.RunTarget\n */\n readonly runTarget: {\n readonly name: \"RunTarget\";\n readonly I: typeof RunTargetRequest;\n readonly O: typeof RunTargetResponse;\n readonly kind: MethodKind.Unary;\n };\n /**\n * a ping function to check if the server is up\n *\n * @generated from rpc connectrpc.lage.v1.LageService.Ping\n */\n readonly ping: {\n readonly name: \"Ping\";\n readonly I: typeof PingRequest;\n readonly O: typeof PingResponse;\n readonly kind: MethodKind.Unary;\n };\n };\n} = {\n typeName: \"connectrpc.lage.v1.LageService\",\n methods: {\n /**\n * @generated from rpc connectrpc.lage.v1.LageService.RunTarget\n */\n runTarget: {\n name: \"RunTarget\",\n I: RunTargetRequest,\n O: RunTargetResponse,\n kind: MethodKind.Unary,\n },\n /**\n * a ping function to check if the server is up\n *\n * @generated from rpc connectrpc.lage.v1.LageService.Ping\n */\n ping: {\n name: \"Ping\",\n I: PingRequest,\n O: PingResponse,\n kind: MethodKind.Unary,\n },\n },\n} as const;\n"],"names":["LageService","typeName","methods","runTarget","name","I","RunTargetRequest","O","RunTargetResponse","kind","MethodKind","Unary","ping","PingRequest","PingResponse"],"mappings":"AAAA,wEAAwE;AACxE,sFAAsF;AACtF,kBAAkB,GAClB,cAAc;;;;;+BAQDA;;;eAAAA;;;yBANkE;0BACpD;AAKpB,MAAMA,cAwBT;IACFC,UAAU;IACVC,SAAS;QACP;;KAEC,GACDC,WAAW;YACTC,MAAM;YACNC,GAAGC,yBAAgB;YACnBC,GAAGC,0BAAiB;YACpBC,MAAMC,oBAAU,CAACC,KAAK;QACxB;QACA;;;;KAIC,GACDC,MAAM;YACJR,MAAM;YACNC,GAAGQ,oBAAW;YACdN,GAAGO,qBAAY;YACfL,MAAMC,oBAAU,CAACC,KAAK;QACxB;IACF;AACF"}
@@ -8,20 +8,20 @@ Object.defineProperty(exports, "__esModule", {
8
8
  function _export(target, all) {
9
9
  for(var name in all)Object.defineProperty(target, name, {
10
10
  enumerable: true,
11
- get: all[name]
11
+ get: Object.getOwnPropertyDescriptor(all, name).get
12
12
  });
13
13
  }
14
14
  _export(exports, {
15
- PingRequest: function() {
15
+ get PingRequest () {
16
16
  return PingRequest;
17
17
  },
18
- PingResponse: function() {
18
+ get PingResponse () {
19
19
  return PingResponse;
20
20
  },
21
- RunTargetRequest: function() {
21
+ get RunTargetRequest () {
22
22
  return RunTargetRequest;
23
23
  },
24
- RunTargetResponse: function() {
24
+ get RunTargetResponse () {
25
25
  return RunTargetResponse;
26
26
  }
27
27
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/gen/lage/v1/lage_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file lage/v1/lage.proto (package connectrpc.lage.v1, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3 } from \"@bufbuild/protobuf\";\n\n/**\n * @generated from message connectrpc.lage.v1.RunTargetRequest\n */\nexport class RunTargetRequest extends Message<RunTargetRequest> {\n /**\n * @generated from field: optional string package_name = 1;\n */\n packageName?: string;\n\n /**\n * @generated from field: string task = 2;\n */\n task = \"\";\n\n /**\n * @generated from field: repeated string taskArgs = 3;\n */\n taskArgs: string[] = [];\n\n /**\n * @generated from field: string nodeOptions = 4;\n */\n nodeOptions = \"\";\n\n /**\n * @generated from field: string npmClient = 5;\n */\n npmClient = \"\";\n\n constructor(data?: PartialMessage<RunTargetRequest>) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"connectrpc.lage.v1.RunTargetRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"package_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 2, name: \"task\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"taskArgs\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"nodeOptions\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"npmClient\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunTargetRequest {\n return new RunTargetRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunTargetRequest {\n return new RunTargetRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunTargetRequest {\n return new RunTargetRequest().fromJsonString(jsonString, options);\n }\n\n static equals(\n a: RunTargetRequest | PlainMessage<RunTargetRequest> | undefined,\n b: RunTargetRequest | PlainMessage<RunTargetRequest> | undefined\n ): boolean {\n return proto3.util.equals(RunTargetRequest, a, b);\n }\n}\n\n/**\n * @generated from message connectrpc.lage.v1.RunTargetResponse\n */\nexport class RunTargetResponse extends Message<RunTargetResponse> {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: optional string package_name = 2;\n */\n packageName?: string;\n\n /**\n * @generated from field: string cwd = 3;\n */\n cwd = \"\";\n\n /**\n * @generated from field: string task = 4;\n */\n task = \"\";\n\n /**\n * @generated from field: int32 exit_code = 5;\n */\n exitCode = 0;\n\n /**\n * @generated from field: repeated string inputs = 6;\n */\n inputs: string[] = [];\n\n /**\n * @generated from field: repeated string outputs = 7;\n */\n outputs: string[] = [];\n\n /**\n * @generated from field: string stdout = 8;\n */\n stdout = \"\";\n\n /**\n * @generated from field: string stderr = 9;\n */\n stderr = \"\";\n\n /**\n * @generated from field: string global_input_hash_file = 10;\n */\n globalInputHashFile = \"\";\n\n constructor(data?: PartialMessage<RunTargetResponse>) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"connectrpc.lage.v1.RunTargetResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"package_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 3, name: \"cwd\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"task\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"exit_code\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 6, name: \"inputs\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 7, name: \"outputs\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 8, name: \"stdout\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"stderr\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"global_input_hash_file\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunTargetResponse {\n return new RunTargetResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunTargetResponse {\n return new RunTargetResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunTargetResponse {\n return new RunTargetResponse().fromJsonString(jsonString, options);\n }\n\n static equals(\n a: RunTargetResponse | PlainMessage<RunTargetResponse> | undefined,\n b: RunTargetResponse | PlainMessage<RunTargetResponse> | undefined\n ): boolean {\n return proto3.util.equals(RunTargetResponse, a, b);\n }\n}\n\n/**\n * @generated from message connectrpc.lage.v1.PingRequest\n */\nexport class PingRequest extends Message<PingRequest> {\n constructor(data?: PartialMessage<PingRequest>) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"connectrpc.lage.v1.PingRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => []);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PingRequest {\n return new PingRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PingRequest {\n return new PingRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PingRequest {\n return new PingRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: PingRequest | PlainMessage<PingRequest> | undefined, b: PingRequest | PlainMessage<PingRequest> | undefined): boolean {\n return proto3.util.equals(PingRequest, a, b);\n }\n}\n\n/**\n * @generated from message connectrpc.lage.v1.PingResponse\n */\nexport class PingResponse extends Message<PingResponse> {\n /**\n * @generated from field: bool pong = 1;\n */\n pong = false;\n\n constructor(data?: PartialMessage<PingResponse>) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"connectrpc.lage.v1.PingResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [{ no: 1, name: \"pong\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ }]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PingResponse {\n return new PingResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PingResponse {\n return new PingResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PingResponse {\n return new PingResponse().fromJsonString(jsonString, options);\n }\n\n static equals(\n a: PingResponse | PlainMessage<PingResponse> | undefined,\n b: PingResponse | PlainMessage<PingResponse> | undefined\n ): boolean {\n return proto3.util.equals(PingResponse, a, b);\n }\n}\n"],"names":["PingRequest","PingResponse","RunTargetRequest","RunTargetResponse","Message","fromBinary","bytes","options","fromJson","jsonValue","fromJsonString","jsonString","equals","a","b","proto3","util","constructor","data","packageName","task","taskArgs","nodeOptions","npmClient","initPartial","runtime","typeName","fields","newFieldList","no","name","kind","T","opt","repeated","id","cwd","exitCode","inputs","outputs","stdout","stderr","globalInputHashFile","pong"],"mappings":"AAAA,iEAAiE;AACjE,sFAAsF;AACtF,kBAAkB,GAClB,cAAc;;;;;;;;;;;;IAsKDA,WAAW;eAAXA;;IA8BAC,YAAY;eAAZA;;IA5LAC,gBAAgB;eAAhBA;;IAgEAC,iBAAiB;eAAjBA;;;0BArEmB;;;;;;;;;;;;;;AAKzB,MAAMD,yBAAyBE,iBAAO;IAyC3C,OAAOC,WAAWC,KAAiB,EAAEC,OAAoC,EAAoB;QAC3F,OAAO,IAAIL,mBAAmBG,UAAU,CAACC,OAAOC;IAClD;IAEA,OAAOC,SAASC,SAAoB,EAAEF,OAAkC,EAAoB;QAC1F,OAAO,IAAIL,mBAAmBM,QAAQ,CAACC,WAAWF;IACpD;IAEA,OAAOG,eAAeC,UAAkB,EAAEJ,OAAkC,EAAoB;QAC9F,OAAO,IAAIL,mBAAmBQ,cAAc,CAACC,YAAYJ;IAC3D;IAEA,OAAOK,OACLC,CAAgE,EAChEC,CAAgE,EACvD;QACT,OAAOC,gBAAM,CAACC,IAAI,CAACJ,MAAM,CAACV,kBAAkBW,GAAGC;IACjD;IAhCAG,YAAYC,IAAuC,CAAE;QACnD,KAAK,IA1BP;;GAEC,GACDC,uBAAAA,eAAAA,KAAAA,IAEA;;GAEC,GACDC,uBAAAA,QAAO,KAEP;;GAEC,GACDC,uBAAAA,YAAqB,EAAE,GAEvB;;GAEC,GACDC,uBAAAA,eAAc,KAEd;;GAEC,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AACC,YAAYJ;IACvD;IAEA,OAAOK,OACLC,CAAwD,EACxDC,CAAwD,EAC/C;QACT,OAAOC,gBAAM,CAACC,IAAI,CAACJ,MAAM,CAACX,cAAcY,GAAGC;IAC7C;IA1BAG,YAAYC,IAAmC,CAAE;QAC/C,KAAK,IANP;;GAEC,GACDyB,uBAAAA,QAAO;QAIL5B,gBAAM,CAACC,IAAI,CAACQ,WAAW,CAACN,MAAM,IAAI;IACpC;AAwBF;AAtBE,iBAXWjB,cAWKwB,WAAyBV,gBAAM;AAC/C,iBAZWd,cAYKyB,YAAW;AAC3B,iBAbWzB,cAaK0B,UAAoBZ,gBAAM,CAACC,IAAI,CAACY,YAAY,CAAC,IAAM;QAAC;YAAEC,IAAI;YAAGC,MAAM;YAAQC,MAAM;YAAUC,GAAG,EAAE,mBAAmB;QAAG;KAAE"}
1
+ {"version":3,"sources":["../../../../src/gen/lage/v1/lage_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v1.10.0 with parameter \"target=ts\"\n// @generated from file lage/v1/lage.proto (package connectrpc.lage.v1, syntax proto3)\n/* eslint-disable */\n// @ts-nocheck\n\nimport type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from \"@bufbuild/protobuf\";\nimport { Message, proto3 } from \"@bufbuild/protobuf\";\n\n/**\n * @generated from message connectrpc.lage.v1.RunTargetRequest\n */\nexport class RunTargetRequest extends Message<RunTargetRequest> {\n /**\n * @generated from field: optional string package_name = 1;\n */\n packageName?: string;\n\n /**\n * @generated from field: string task = 2;\n */\n task = \"\";\n\n /**\n * @generated from field: repeated string taskArgs = 3;\n */\n taskArgs: string[] = [];\n\n /**\n * @generated from field: string nodeOptions = 4;\n */\n nodeOptions = \"\";\n\n /**\n * @generated from field: string npmClient = 5;\n */\n npmClient = \"\";\n\n constructor(data?: PartialMessage<RunTargetRequest>) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"connectrpc.lage.v1.RunTargetRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"package_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 2, name: \"task\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 3, name: \"taskArgs\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 4, name: \"nodeOptions\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"npmClient\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunTargetRequest {\n return new RunTargetRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunTargetRequest {\n return new RunTargetRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunTargetRequest {\n return new RunTargetRequest().fromJsonString(jsonString, options);\n }\n\n static equals(\n a: RunTargetRequest | PlainMessage<RunTargetRequest> | undefined,\n b: RunTargetRequest | PlainMessage<RunTargetRequest> | undefined\n ): boolean {\n return proto3.util.equals(RunTargetRequest, a, b);\n }\n}\n\n/**\n * @generated from message connectrpc.lage.v1.RunTargetResponse\n */\nexport class RunTargetResponse extends Message<RunTargetResponse> {\n /**\n * @generated from field: string id = 1;\n */\n id = \"\";\n\n /**\n * @generated from field: optional string package_name = 2;\n */\n packageName?: string;\n\n /**\n * @generated from field: string cwd = 3;\n */\n cwd = \"\";\n\n /**\n * @generated from field: string task = 4;\n */\n task = \"\";\n\n /**\n * @generated from field: int32 exit_code = 5;\n */\n exitCode = 0;\n\n /**\n * @generated from field: repeated string inputs = 6;\n */\n inputs: string[] = [];\n\n /**\n * @generated from field: repeated string outputs = 7;\n */\n outputs: string[] = [];\n\n /**\n * @generated from field: string stdout = 8;\n */\n stdout = \"\";\n\n /**\n * @generated from field: string stderr = 9;\n */\n stderr = \"\";\n\n /**\n * @generated from field: string global_input_hash_file = 10;\n */\n globalInputHashFile = \"\";\n\n constructor(data?: PartialMessage<RunTargetResponse>) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"connectrpc.lage.v1.RunTargetResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [\n { no: 1, name: \"id\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 2, name: \"package_name\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, opt: true },\n { no: 3, name: \"cwd\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 4, name: \"task\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 5, name: \"exit_code\", kind: \"scalar\", T: 5 /* ScalarType.INT32 */ },\n { no: 6, name: \"inputs\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 7, name: \"outputs\", kind: \"scalar\", T: 9 /* ScalarType.STRING */, repeated: true },\n { no: 8, name: \"stdout\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 9, name: \"stderr\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n { no: 10, name: \"global_input_hash_file\", kind: \"scalar\", T: 9 /* ScalarType.STRING */ },\n ]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunTargetResponse {\n return new RunTargetResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunTargetResponse {\n return new RunTargetResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunTargetResponse {\n return new RunTargetResponse().fromJsonString(jsonString, options);\n }\n\n static equals(\n a: RunTargetResponse | PlainMessage<RunTargetResponse> | undefined,\n b: RunTargetResponse | PlainMessage<RunTargetResponse> | undefined\n ): boolean {\n return proto3.util.equals(RunTargetResponse, a, b);\n }\n}\n\n/**\n * @generated from message connectrpc.lage.v1.PingRequest\n */\nexport class PingRequest extends Message<PingRequest> {\n constructor(data?: PartialMessage<PingRequest>) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"connectrpc.lage.v1.PingRequest\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => []);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PingRequest {\n return new PingRequest().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PingRequest {\n return new PingRequest().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PingRequest {\n return new PingRequest().fromJsonString(jsonString, options);\n }\n\n static equals(a: PingRequest | PlainMessage<PingRequest> | undefined, b: PingRequest | PlainMessage<PingRequest> | undefined): boolean {\n return proto3.util.equals(PingRequest, a, b);\n }\n}\n\n/**\n * @generated from message connectrpc.lage.v1.PingResponse\n */\nexport class PingResponse extends Message<PingResponse> {\n /**\n * @generated from field: bool pong = 1;\n */\n pong = false;\n\n constructor(data?: PartialMessage<PingResponse>) {\n super();\n proto3.util.initPartial(data, this);\n }\n\n static readonly runtime: typeof proto3 = proto3;\n static readonly typeName = \"connectrpc.lage.v1.PingResponse\";\n static readonly fields: FieldList = proto3.util.newFieldList(() => [{ no: 1, name: \"pong\", kind: \"scalar\", T: 8 /* ScalarType.BOOL */ }]);\n\n static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PingResponse {\n return new PingResponse().fromBinary(bytes, options);\n }\n\n static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PingResponse {\n return new PingResponse().fromJson(jsonValue, options);\n }\n\n static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PingResponse {\n return new PingResponse().fromJsonString(jsonString, options);\n }\n\n static equals(\n a: PingResponse | PlainMessage<PingResponse> | undefined,\n b: PingResponse | PlainMessage<PingResponse> | undefined\n ): boolean {\n return proto3.util.equals(PingResponse, a, b);\n }\n}\n"],"names":["PingRequest","PingResponse","RunTargetRequest","RunTargetResponse","Message","fromBinary","bytes","options","fromJson","jsonValue","fromJsonString","jsonString","equals","a","b","proto3","util","data","packageName","task","taskArgs","nodeOptions","npmClient","initPartial","runtime","typeName","fields","newFieldList","no","name","kind","T","opt","repeated","id","cwd","exitCode","inputs","outputs","stdout","stderr","globalInputHashFile","pong"],"mappings":"AAAA,iEAAiE;AACjE,sFAAsF;AACtF,kBAAkB,GAClB,cAAc;;;;;;;;;;;;QAsKDA;eAAAA;;QA8BAC;eAAAA;;QA5LAC;eAAAA;;QAgEAC;eAAAA;;;0BArEmB;;;;;;;;;;;;;;AAKzB,MAAMD,yBAAyBE,iBAAO;IAyC3C,OAAOC,WAAWC,KAAiB,EAAEC,OAAoC,EAAoB;QAC3F,OAAO,IAAIL,mBAAmBG,UAAU,CAACC,OAAOC;IAClD;IAEA,OAAOC,SAASC,SAAoB,EAAEF,OAAkC,EAAoB;QAC1F,OAAO,IAAIL,mBAAmBM,QAAQ,CAACC,WAAWF;IACpD;IAEA,OAAOG,eAAeC,UAAkB,EAAEJ,OAAkC,EAAoB;QAC9F,OAAO,IAAIL,mBAAmBQ,cAAc,CAACC,YAAYJ;IAC3D;IAEA,OAAOK,OACLC,CAAgE,EAChEC,CAAgE,EACvD;QACT,OAAOC,gBAAM,CAACC,IAAI,CAACJ,MAAM,CAACV,kBAAkBW,GAAGC;IACjD;IAhCA,YAAYG,IAAuC,CAAE;QACnD,KAAK,IA1BP;;GAEC,GACDC,uBAAAA,eAAAA,KAAAA,IAEA;;GAEC,GACDC,uBAAAA,QAAO,KAEP;;GAEC,GACDC,uBAAAA,YAAqB,EAAE,GAEvB;;GAEC,GACDC,uBAAAA,eAAc,KAEd;;GAEC,GACDC,uBAAAA,aAAY;QAIVP,gBAAM,CAACC,IAAI,CAACO,WAAW,CAACN,MAAM,IAAI;IACpC;AA8BF;AA5BE,iBA/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AACX,cAAcY,GAAGC;IAC7C;IA1BA,YAAYG,IAAmC,CAAE;QAC/C,KAAK,IANP;;GAEC,GACDyB,uBAAAA,QAAO;QAIL3B,gBAAM,CAACC,IAAI,CAACO,WAAW,CAACN,MAAM,IAAI;IACpC;AAwBF;AAtBE,iBAXWhB,cAWKuB,WAAyBT,gBAAM;AAC/C,iBAZWd,cAYKwB,YAAW;AAC3B,iBAbWxB,cAaKyB,UAAoBX,gBAAM,CAACC,IAAI,CAACW,YAAY,CAAC,IAAM;QAAC;YAAEC,IAAI;YAAGC,MAAM;YAAQC,MAAM;YAAUC,GAAG,EAAE,mBAAmB;QAAG;KAAE"}
package/lib/index.js CHANGED
@@ -5,20 +5,20 @@ Object.defineProperty(exports, "__esModule", {
5
5
  function _export(target, all) {
6
6
  for(var name in all)Object.defineProperty(target, name, {
7
7
  enumerable: true,
8
- get: all[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- Code: function() {
12
+ get Code () {
13
13
  return _connect.Code;
14
14
  },
15
- ConnectError: function() {
15
+ get ConnectError () {
16
16
  return _connect.ConnectError;
17
17
  },
18
- createClient: function() {
18
+ get createClient () {
19
19
  return _createClient.createClient;
20
20
  },
21
- createServer: function() {
21
+ get createServer () {
22
22
  return _createServer.createServer;
23
23
  }
24
24
  });
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { createServer } from \"./createServer.js\";\nexport { createClient, type LageClient } from \"./createClient.js\";\nexport type { ILageService } from \"./types/ILageService.js\";\nexport { ConnectError, Code } from \"@connectrpc/connect\";\n"],"names":["Code","ConnectError","createClient","createServer"],"mappings":";;;;;;;;;;;IAGuBA,IAAI;eAAJA,aAAI;;IAAlBC,YAAY;eAAZA,qBAAY;;IAFZC,YAAY;eAAZA,0BAAY;;IADZC,YAAY;eAAZA,0BAAY;;;8BAAQ;8BACiB;yBAEX"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { createServer } from \"./createServer.js\";\nexport { createClient, type LageClient } from \"./createClient.js\";\nexport type { ILageService } from \"./types/ILageService.js\";\nexport { ConnectError, Code } from \"@connectrpc/connect\";\n"],"names":["Code","ConnectError","createClient","createServer"],"mappings":";;;;;;;;;;;QAGuBA;eAAAA,aAAI;;QAAlBC;eAAAA,qBAAY;;QAFZC;eAAAA,0BAAY;;QADZC;eAAAA,0BAAY;;;8BAAQ;8BACiB;yBAEX"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lage-run/rpc",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "description": "RPC server and client for Lage",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,19 +13,19 @@
13
13
  "scripts": {
14
14
  "lint": "buf lint",
15
15
  "generate": "buf generate",
16
- "build": "tsc"
16
+ "build": "monorepo-scripts tsc"
17
17
  },
18
18
  "dependencies": {
19
- "@bufbuild/protobuf": "^1.10.0",
20
- "@connectrpc/connect": "^1.4.0",
21
- "@connectrpc/connect-fastify": "^1.4.0",
22
- "@connectrpc/connect-node": "^1.4.0",
23
- "fastify": "^4.28.1"
19
+ "@bufbuild/protobuf": "^1.10.1",
20
+ "@connectrpc/connect": "^1.7.0",
21
+ "@connectrpc/connect-fastify": "^1.7.0",
22
+ "@connectrpc/connect-node": "^1.7.0",
23
+ "fastify": "^4.29.1"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@bufbuild/buf": "^1.39.0",
27
27
  "@bufbuild/protoc-gen-es": "^1.10.0",
28
- "@connectrpc/protoc-gen-connect-es": "^1.4.0",
28
+ "@connectrpc/protoc-gen-connect-es": "1.7.0",
29
29
  "@lage-run/monorepo-scripts": "^1.0.0"
30
30
  },
31
31
  "publishConfig": {