@orpc/nest 0.0.0-next.ee89076 → 0.0.0-next.f01f7b1

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/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <div align="center">
2
- <image align="center" src="https://orpc.unnoq.com/logo.webp" width=280 alt="oRPC logo" />
2
+ <image align="center" src="https://orpc.dev/logo.webp" width=280 alt="oRPC logo" />
3
3
  </div>
4
4
 
5
5
  <h1></h1>
@@ -17,6 +17,9 @@
17
17
  <a href="https://discord.gg/TXEbwRBvQn">
18
18
  <img alt="Discord" src="https://img.shields.io/discord/1308966753044398161?color=7389D8&label&logo=discord&logoColor=ffffff" />
19
19
  </a>
20
+ <a href="https://deepwiki.com/unnoq/orpc">
21
+ <img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki">
22
+ </a>
20
23
  </div>
21
24
 
22
25
  <h3 align="center">Typesafe APIs Made Simple 🪄</h3>
@@ -42,7 +45,7 @@
42
45
 
43
46
  ## Documentation
44
47
 
45
- You can find the full documentation [here](https://orpc.unnoq.com).
48
+ You can find the full documentation [here](https://orpc.dev).
46
49
 
47
50
  ## Packages
48
51
 
@@ -63,11 +66,11 @@ You can find the full documentation [here](https://orpc.unnoq.com).
63
66
 
64
67
  ## `@orpc/nest`
65
68
 
66
- Deeply integrate oRPC with [NestJS](https://nestjs.com/). Read the [documentation](https://orpc.unnoq.com/docs/openapi/integrations/implement-contract-in-nest) for more information.
69
+ Deeply integrate oRPC with [NestJS](https://nestjs.com/). Read the [documentation](https://orpc.dev/docs/openapi/integrations/implement-contract-in-nest) for more information.
67
70
 
68
71
  ### Implement Contract
69
72
 
70
- An overview of how to implement an [oRPC contract](https://orpc.unnoq.com/docs/contract-first/define-contract) in NestJS.
73
+ An overview of how to implement an [oRPC contract](https://orpc.dev/docs/contract-first/define-contract) in NestJS.
71
74
 
72
75
  ```ts
73
76
  import { Implement, implement, ORPCError } from '@orpc/nest'
@@ -87,7 +90,7 @@ export class PlanetController {
87
90
  }
88
91
 
89
92
  /**
90
- * Implement entire a contract
93
+ * Implement entire contract
91
94
  */
92
95
  @Implement(contract.planet)
93
96
  planet() {
package/dist/index.d.mts CHANGED
@@ -1,13 +1,36 @@
1
- import { DynamicModule, NestInterceptor, ExecutionContext, CallHandler } from '@nestjs/common';
2
1
  import { AnySchema, ContractRouter, HTTPPath, AnyContractRouter, ContractProcedure } from '@orpc/contract';
3
- import { CreateProcedureClientOptions, Router } from '@orpc/server';
4
- export { ImplementedProcedure, Implementer, ImplementerInternal, ImplementerInternalWithMiddlewares, ORPCError, ProcedureImplementer, RouterImplementer, RouterImplementerWithMiddlewares, implement, onError, onFinish, onStart, onSuccess } from '@orpc/server';
5
- import { Promisable } from '@orpc/shared';
6
- import { Observable } from 'rxjs';
2
+ import { CreateProcedureClientOptions, Router, Context, BuilderConfig, Implementer } from '@orpc/server';
3
+ export { ImplementedProcedure, Implementer, ImplementerInternal, ImplementerInternalWithMiddlewares, ORPCError, ProcedureImplementer, RouterImplementer, RouterImplementerWithMiddlewares, onError, onFinish, onStart, onSuccess } from '@orpc/server';
4
+ import { DynamicModule, NestInterceptor, ExecutionContext, CallHandler } from '@nestjs/common';
5
+ import { StandardOpenAPIJsonSerializerOptions, StandardBracketNotationSerializerOptions } from '@orpc/openapi-client/standard';
6
+ import { StandardOpenAPICodecOptions } from '@orpc/openapi/standard';
7
+ import { StandardHandlerOptions } from '@orpc/server/standard';
8
+ import { Interceptor, Promisable } from '@orpc/shared';
9
+ import { StandardResponse } from '@orpc/standard-server';
7
10
  import { SendStandardResponseOptions } from '@orpc/standard-server-node';
11
+ import { Observable } from 'rxjs';
8
12
 
9
13
  declare const ORPC_MODULE_CONFIG_SYMBOL: unique symbol;
10
- interface ORPCModuleConfig extends CreateProcedureClientOptions<object, AnySchema, object, object, object>, SendStandardResponseOptions {
14
+ /**
15
+ * You can extend this interface to add global context properties.
16
+ * @example
17
+ * ```ts
18
+ * declare module '@orpc/nest' {
19
+ * interface ORPCGlobalContext {
20
+ * user: { id: string; name: string }
21
+ * }
22
+ * }
23
+ * ```
24
+ */
25
+ interface ORPCGlobalContext {
26
+ }
27
+ interface ORPCModuleConfig extends CreateProcedureClientOptions<ORPCGlobalContext, AnySchema, object, object, object>, SendStandardResponseOptions, StandardOpenAPIJsonSerializerOptions, StandardBracketNotationSerializerOptions, StandardOpenAPICodecOptions {
28
+ plugins?: StandardHandlerOptions<ORPCGlobalContext>['plugins'];
29
+ sendResponseInterceptors?: Interceptor<{
30
+ request: any;
31
+ response: any;
32
+ standardResponse: StandardResponse;
33
+ }, unknown>[];
11
34
  }
12
35
  declare class ORPCModule {
13
36
  static forRoot(config: ORPCModuleConfig): DynamicModule;
@@ -21,11 +44,12 @@ declare class ORPCModule {
21
44
  /**
22
45
  * Decorator in controller handler to implement a oRPC contract.
23
46
  *
24
- * @see {@link https://orpc.unnoq.com/docs/openapi/integrations/implement-contract-in-nest#implement-your-contract NestJS Implement Contract Docs}
47
+ * @see {@link https://orpc.dev/docs/openapi/integrations/implement-contract-in-nest#implement-your-contract NestJS Implement Contract Docs}
25
48
  */
26
- declare function Implement<T extends ContractRouter<any>>(contract: T): <U extends Promisable<Router<T, Record<never, never>>>>(target: Record<PropertyKey, any>, propertyKey: string, descriptor: TypedPropertyDescriptor<(...args: any[]) => U>) => void;
49
+ declare function Implement<T extends ContractRouter<any>>(contract: T): <U extends Promisable<Router<T, ORPCGlobalContext>>>(target: Record<PropertyKey, any>, propertyKey: string, descriptor: TypedPropertyDescriptor<(...args: any[]) => U>) => void;
27
50
  declare class ImplementInterceptor implements NestInterceptor {
28
51
  private readonly config;
52
+ private readonly codec;
29
53
  constructor(config: ORPCModuleConfig | undefined);
30
54
  intercept(ctx: ExecutionContext, next: CallHandler<any>): Observable<any>;
31
55
  }
@@ -43,9 +67,14 @@ interface PopulateContractRouterPathsOptions {
43
67
  * This utility automatically populates any missing paths
44
68
  * Using the router's keys + `/`.
45
69
  *
46
- * @see {@link https://orpc.unnoq.com/docs/openapi/integrations/implement-contract-in-nest#define-your-contract NestJS Implement Contract Docs}
70
+ * @see {@link https://orpc.dev/docs/openapi/integrations/implement-contract-in-nest#define-your-contract NestJS Implement Contract Docs}
47
71
  */
48
72
  declare function populateContractRouterPaths<T extends AnyContractRouter>(router: T, options?: PopulateContractRouterPathsOptions): PopulatedContractRouterPaths<T>;
49
73
 
50
- export { Implement as Impl, Implement, ImplementInterceptor, ORPCModule, ORPC_MODULE_CONFIG_SYMBOL, populateContractRouterPaths, toNestPattern };
51
- export type { ORPCModuleConfig, PopulateContractRouterPathsOptions, PopulatedContractRouterPaths };
74
+ /**
75
+ * Alias for `implement` from `@orpc/server` with default context set to `ORPCGlobalContext`
76
+ */
77
+ declare function implement<T extends AnyContractRouter, TContext extends Context = ORPCGlobalContext>(contract: T, config?: BuilderConfig): Implementer<T, TContext, TContext>;
78
+
79
+ export { Implement as Impl, Implement, ImplementInterceptor, ORPCModule, ORPC_MODULE_CONFIG_SYMBOL, implement, populateContractRouterPaths, toNestPattern };
80
+ export type { ORPCGlobalContext, ORPCModuleConfig, PopulateContractRouterPathsOptions, PopulatedContractRouterPaths };
package/dist/index.d.ts CHANGED
@@ -1,13 +1,36 @@
1
- import { DynamicModule, NestInterceptor, ExecutionContext, CallHandler } from '@nestjs/common';
2
1
  import { AnySchema, ContractRouter, HTTPPath, AnyContractRouter, ContractProcedure } from '@orpc/contract';
3
- import { CreateProcedureClientOptions, Router } from '@orpc/server';
4
- export { ImplementedProcedure, Implementer, ImplementerInternal, ImplementerInternalWithMiddlewares, ORPCError, ProcedureImplementer, RouterImplementer, RouterImplementerWithMiddlewares, implement, onError, onFinish, onStart, onSuccess } from '@orpc/server';
5
- import { Promisable } from '@orpc/shared';
6
- import { Observable } from 'rxjs';
2
+ import { CreateProcedureClientOptions, Router, Context, BuilderConfig, Implementer } from '@orpc/server';
3
+ export { ImplementedProcedure, Implementer, ImplementerInternal, ImplementerInternalWithMiddlewares, ORPCError, ProcedureImplementer, RouterImplementer, RouterImplementerWithMiddlewares, onError, onFinish, onStart, onSuccess } from '@orpc/server';
4
+ import { DynamicModule, NestInterceptor, ExecutionContext, CallHandler } from '@nestjs/common';
5
+ import { StandardOpenAPIJsonSerializerOptions, StandardBracketNotationSerializerOptions } from '@orpc/openapi-client/standard';
6
+ import { StandardOpenAPICodecOptions } from '@orpc/openapi/standard';
7
+ import { StandardHandlerOptions } from '@orpc/server/standard';
8
+ import { Interceptor, Promisable } from '@orpc/shared';
9
+ import { StandardResponse } from '@orpc/standard-server';
7
10
  import { SendStandardResponseOptions } from '@orpc/standard-server-node';
11
+ import { Observable } from 'rxjs';
8
12
 
9
13
  declare const ORPC_MODULE_CONFIG_SYMBOL: unique symbol;
10
- interface ORPCModuleConfig extends CreateProcedureClientOptions<object, AnySchema, object, object, object>, SendStandardResponseOptions {
14
+ /**
15
+ * You can extend this interface to add global context properties.
16
+ * @example
17
+ * ```ts
18
+ * declare module '@orpc/nest' {
19
+ * interface ORPCGlobalContext {
20
+ * user: { id: string; name: string }
21
+ * }
22
+ * }
23
+ * ```
24
+ */
25
+ interface ORPCGlobalContext {
26
+ }
27
+ interface ORPCModuleConfig extends CreateProcedureClientOptions<ORPCGlobalContext, AnySchema, object, object, object>, SendStandardResponseOptions, StandardOpenAPIJsonSerializerOptions, StandardBracketNotationSerializerOptions, StandardOpenAPICodecOptions {
28
+ plugins?: StandardHandlerOptions<ORPCGlobalContext>['plugins'];
29
+ sendResponseInterceptors?: Interceptor<{
30
+ request: any;
31
+ response: any;
32
+ standardResponse: StandardResponse;
33
+ }, unknown>[];
11
34
  }
12
35
  declare class ORPCModule {
13
36
  static forRoot(config: ORPCModuleConfig): DynamicModule;
@@ -21,11 +44,12 @@ declare class ORPCModule {
21
44
  /**
22
45
  * Decorator in controller handler to implement a oRPC contract.
23
46
  *
24
- * @see {@link https://orpc.unnoq.com/docs/openapi/integrations/implement-contract-in-nest#implement-your-contract NestJS Implement Contract Docs}
47
+ * @see {@link https://orpc.dev/docs/openapi/integrations/implement-contract-in-nest#implement-your-contract NestJS Implement Contract Docs}
25
48
  */
26
- declare function Implement<T extends ContractRouter<any>>(contract: T): <U extends Promisable<Router<T, Record<never, never>>>>(target: Record<PropertyKey, any>, propertyKey: string, descriptor: TypedPropertyDescriptor<(...args: any[]) => U>) => void;
49
+ declare function Implement<T extends ContractRouter<any>>(contract: T): <U extends Promisable<Router<T, ORPCGlobalContext>>>(target: Record<PropertyKey, any>, propertyKey: string, descriptor: TypedPropertyDescriptor<(...args: any[]) => U>) => void;
27
50
  declare class ImplementInterceptor implements NestInterceptor {
28
51
  private readonly config;
52
+ private readonly codec;
29
53
  constructor(config: ORPCModuleConfig | undefined);
30
54
  intercept(ctx: ExecutionContext, next: CallHandler<any>): Observable<any>;
31
55
  }
@@ -43,9 +67,14 @@ interface PopulateContractRouterPathsOptions {
43
67
  * This utility automatically populates any missing paths
44
68
  * Using the router's keys + `/`.
45
69
  *
46
- * @see {@link https://orpc.unnoq.com/docs/openapi/integrations/implement-contract-in-nest#define-your-contract NestJS Implement Contract Docs}
70
+ * @see {@link https://orpc.dev/docs/openapi/integrations/implement-contract-in-nest#define-your-contract NestJS Implement Contract Docs}
47
71
  */
48
72
  declare function populateContractRouterPaths<T extends AnyContractRouter>(router: T, options?: PopulateContractRouterPathsOptions): PopulatedContractRouterPaths<T>;
49
73
 
50
- export { Implement as Impl, Implement, ImplementInterceptor, ORPCModule, ORPC_MODULE_CONFIG_SYMBOL, populateContractRouterPaths, toNestPattern };
51
- export type { ORPCModuleConfig, PopulateContractRouterPathsOptions, PopulatedContractRouterPaths };
74
+ /**
75
+ * Alias for `implement` from `@orpc/server` with default context set to `ORPCGlobalContext`
76
+ */
77
+ declare function implement<T extends AnyContractRouter, TContext extends Context = ORPCGlobalContext>(contract: T, config?: BuilderConfig): Implementer<T, TContext, TContext>;
78
+
79
+ export { Implement as Impl, Implement, ImplementInterceptor, ORPCModule, ORPC_MODULE_CONFIG_SYMBOL, implement, populateContractRouterPaths, toNestPattern };
80
+ export type { ORPCGlobalContext, ORPCModuleConfig, PopulateContractRouterPathsOptions, PopulatedContractRouterPaths };
package/dist/index.mjs CHANGED
@@ -1,13 +1,13 @@
1
- import { Module, Injectable, Inject, Optional, applyDecorators, Delete, Patch, Put, Post, Get, Head, UseInterceptors } from '@nestjs/common';
2
- import { toORPCError } from '@orpc/client';
1
+ import { getRouter, unlazy, isProcedure, implement as implement$1 } from '@orpc/server';
2
+ export { ORPCError, onError, onFinish, onStart, onSuccess } from '@orpc/server';
3
+ import { Module, Injectable, Inject, Optional, applyDecorators, Delete, Patch, Put, Post, Get, Head, HttpCode, UseInterceptors } from '@nestjs/common';
3
4
  import { isContractProcedure, ContractProcedure, fallbackContractConfig } from '@orpc/contract';
4
5
  import { standardizeHTTPPath, StandardOpenAPISerializer, StandardOpenAPIJsonSerializer, StandardBracketNotationSerializer } from '@orpc/openapi-client/standard';
5
6
  import { StandardOpenAPICodec } from '@orpc/openapi/standard';
6
- import { getRouter, unlazy, isProcedure, createProcedureClient, ORPCError } from '@orpc/server';
7
- export { ORPCError, implement, onError, onFinish, onStart, onSuccess } from '@orpc/server';
8
- import { toArray, get } from '@orpc/shared';
9
- import { flattenHeader } from '@orpc/standard-server';
10
- import { toStandardLazyRequest, sendStandardResponse } from '@orpc/standard-server-node';
7
+ import { StandardHandler } from '@orpc/server/standard';
8
+ import { toArray, get, intercept } from '@orpc/shared';
9
+ import * as StandardServerFastify from '@orpc/standard-server-fastify';
10
+ import * as StandardServerNode from '@orpc/standard-server-node';
11
11
  import { mergeMap } from 'rxjs';
12
12
  import { toHttpPath } from '@orpc/client/standard';
13
13
 
@@ -111,6 +111,7 @@ function Implement(contract) {
111
111
  return (target, propertyKey, descriptor) => {
112
112
  applyDecorators(
113
113
  MethodDecoratorMap[method](toNestPattern(path)),
114
+ HttpCode(fallbackContractConfig("defaultSuccessStatus", contract["~orpc"].route.successStatus)),
114
115
  UseInterceptors(ImplementInterceptor)
115
116
  )(target, propertyKey, descriptor);
116
117
  };
@@ -136,15 +137,18 @@ function Implement(contract) {
136
137
  }
137
138
  };
138
139
  }
139
- const codec = new StandardOpenAPICodec(
140
- new StandardOpenAPISerializer(
141
- new StandardOpenAPIJsonSerializer(),
142
- new StandardBracketNotationSerializer()
143
- )
144
- );
145
140
  let ImplementInterceptor = class {
141
+ config;
142
+ codec;
146
143
  constructor(config) {
147
- this.config = config;
144
+ this.config = config ?? {};
145
+ this.codec = new StandardOpenAPICodec(
146
+ new StandardOpenAPISerializer(
147
+ new StandardOpenAPIJsonSerializer(this.config),
148
+ new StandardBracketNotationSerializer(this.config)
149
+ ),
150
+ this.config
151
+ );
148
152
  }
149
153
  intercept(ctx, next) {
150
154
  return next.handle().pipe(
@@ -157,32 +161,33 @@ let ImplementInterceptor = class {
157
161
  }
158
162
  const req = ctx.switchToHttp().getRequest();
159
163
  const res = ctx.switchToHttp().getResponse();
160
- const nodeReq = "raw" in req ? req.raw : req;
161
- const nodeRes = "raw" in res ? res.raw : res;
162
- const standardRequest = toStandardLazyRequest(nodeReq, nodeRes);
163
- const fallbackStandardBody = standardRequest.body.bind(standardRequest);
164
- standardRequest.body = () => Promise.resolve(req.body ?? fallbackStandardBody());
165
- const standardResponse = await (async () => {
166
- let isDecoding = false;
167
- try {
168
- const client = createProcedureClient(procedure, this.config);
169
- isDecoding = true;
170
- const input = await codec.decode(standardRequest, flattenParams(req.params), procedure);
171
- isDecoding = false;
172
- const output = await client(input, {
173
- signal: standardRequest.signal,
174
- lastEventId: flattenHeader(standardRequest.headers["last-event-id"])
175
- });
176
- return codec.encode(output, procedure);
177
- } catch (e) {
178
- const error = isDecoding && !(e instanceof ORPCError) ? new ORPCError("BAD_REQUEST", {
179
- message: `Malformed request. Ensure the request body is properly formatted and the 'Content-Type' header is set correctly.`,
180
- cause: e
181
- }) : toORPCError(e);
182
- return codec.encodeError(error);
183
- }
184
- })();
185
- await sendStandardResponse(nodeRes, standardResponse, this.config);
164
+ const standardRequest = "raw" in req ? StandardServerFastify.toStandardLazyRequest(req, res) : StandardServerNode.toStandardLazyRequest(req, res);
165
+ const handler = new StandardHandler(procedure, {
166
+ init: () => {
167
+ },
168
+ match: () => Promise.resolve({ path: toArray(this.config.path), procedure, params: flattenParams(req.params) })
169
+ }, this.codec, {
170
+ // Since plugins can modify options directly, so we need to clone to avoid affecting other handlers/requests
171
+ // TODO: improve plugins system to avoid this cloning
172
+ clientInterceptors: [...toArray(this.config.interceptors)],
173
+ plugins: [...toArray(this.config.plugins)]
174
+ });
175
+ const result = await handler.handle(standardRequest, {
176
+ context: this.config.context
177
+ });
178
+ if (result.matched) {
179
+ return intercept(
180
+ toArray(this.config.sendResponseInterceptors),
181
+ { request: req, response: res, standardResponse: result.response },
182
+ async ({ response, standardResponse }) => {
183
+ if ("raw" in response) {
184
+ await StandardServerFastify.sendStandardResponse(response, standardResponse, this.config);
185
+ } else {
186
+ await StandardServerNode.sendStandardResponse(response, standardResponse, this.config);
187
+ }
188
+ }
189
+ );
190
+ }
186
191
  })
187
192
  );
188
193
  }
@@ -204,4 +209,8 @@ function flattenParams(params) {
204
209
  return flatten;
205
210
  }
206
211
 
207
- export { Implement as Impl, Implement, ImplementInterceptor, ORPCModule, ORPC_MODULE_CONFIG_SYMBOL, populateContractRouterPaths, toNestPattern };
212
+ function implement(contract, config = {}) {
213
+ return implement$1(contract, config);
214
+ }
215
+
216
+ export { Implement as Impl, Implement, ImplementInterceptor, ORPCModule, ORPC_MODULE_CONFIG_SYMBOL, implement, populateContractRouterPaths, toNestPattern };
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@orpc/nest",
3
3
  "type": "module",
4
- "version": "0.0.0-next.ee89076",
4
+ "version": "0.0.0-next.f01f7b1",
5
5
  "license": "MIT",
6
- "homepage": "https://orpc.unnoq.com",
6
+ "homepage": "https://orpc.dev",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/unnoq/orpc.git",
@@ -39,28 +39,30 @@
39
39
  }
40
40
  },
41
41
  "dependencies": {
42
- "@orpc/client": "0.0.0-next.ee89076",
43
- "@orpc/contract": "0.0.0-next.ee89076",
44
- "@orpc/openapi-client": "0.0.0-next.ee89076",
45
- "@orpc/server": "0.0.0-next.ee89076",
46
- "@orpc/openapi": "0.0.0-next.ee89076",
47
- "@orpc/shared": "0.0.0-next.ee89076",
48
- "@orpc/standard-server-node": "0.0.0-next.ee89076",
49
- "@orpc/standard-server": "0.0.0-next.ee89076"
42
+ "@orpc/client": "0.0.0-next.f01f7b1",
43
+ "@orpc/contract": "0.0.0-next.f01f7b1",
44
+ "@orpc/openapi-client": "0.0.0-next.f01f7b1",
45
+ "@orpc/openapi": "0.0.0-next.f01f7b1",
46
+ "@orpc/server": "0.0.0-next.f01f7b1",
47
+ "@orpc/shared": "0.0.0-next.f01f7b1",
48
+ "@orpc/standard-server": "0.0.0-next.f01f7b1",
49
+ "@orpc/standard-server-fastify": "0.0.0-next.f01f7b1",
50
+ "@orpc/standard-server-node": "0.0.0-next.f01f7b1"
50
51
  },
51
52
  "devDependencies": {
52
- "@nestjs/common": "^11.1.6",
53
- "@nestjs/core": "^11.1.6",
54
- "@nestjs/platform-express": "^11.1.6",
55
- "@nestjs/platform-fastify": "^11.1.6",
56
- "@nestjs/testing": "^11.1.6",
53
+ "@fastify/cookie": "^11.0.2",
54
+ "@nestjs/common": "^11.1.9",
55
+ "@nestjs/core": "^11.1.9",
56
+ "@nestjs/platform-express": "^11.1.9",
57
+ "@nestjs/platform-fastify": "^11.1.9",
58
+ "@nestjs/testing": "^11.1.9",
57
59
  "@ts-rest/core": "^3.52.1",
58
- "@types/express": "^5.0.3",
59
- "express": "^5.0.0",
60
- "fastify": "^5.5.0",
60
+ "@types/express": "^5.0.6",
61
+ "express": "^5.2.1",
62
+ "fastify": "^5.6.2",
61
63
  "rxjs": "^7.8.1",
62
64
  "supertest": "^7.1.4",
63
- "zod": "^4.1.5"
65
+ "zod": "^4.1.12"
64
66
  },
65
67
  "scripts": {
66
68
  "build": "unbuild",