@orpc/shared
Advanced tools
Comparing version 0.0.0-next.e9dc36e to 0.0.0-next.ef3ba82
@@ -73,2 +73,1 @@ // src/error.ts | ||
}; | ||
//# sourceMappingURL=error.js.map |
@@ -81,2 +81,1 @@ // src/json.ts | ||
}; | ||
//# sourceMappingURL=index.js.map |
@@ -58,2 +58,1 @@ import { type ZodIssue } from 'zod'; | ||
} | ||
//# sourceMappingURL=error.d.ts.map |
@@ -7,2 +7,1 @@ export * from './json'; | ||
export type * from 'type-fest'; | ||
//# sourceMappingURL=index.d.ts.map |
export declare function parseJSONSafely(text: string): unknown; | ||
//# sourceMappingURL=json.d.ts.map |
@@ -8,2 +8,1 @@ export type Segment = string | number; | ||
}; | ||
//# sourceMappingURL=object.d.ts.map |
import type { Promisable } from 'type-fest'; | ||
export type Value<T> = T | (() => Promisable<T>); | ||
export declare function value<T extends Value<any>>(value: T): Promise<T extends Value<infer U> ? U : never>; | ||
//# sourceMappingURL=value.d.ts.map |
{ | ||
"name": "@orpc/shared", | ||
"type": "module", | ||
"version": "0.0.0-next.e9dc36e", | ||
"author": { | ||
"name": "unnoq", | ||
"email": "contact@unnoq.com", | ||
"url": "https://unnoq.com" | ||
}, | ||
"version": "0.0.0-next.ef3ba82", | ||
"license": "MIT", | ||
"homepage": "https://github.com/unnoq/orpc", | ||
"homepage": "https://orpc.unnoq.com", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/unnoq/orpc.git", | ||
"url": "git+https://github.com/unnoq/orpc.git", | ||
"directory": "packages/shared" | ||
}, | ||
"keywords": [ | ||
"unnoq" | ||
"unnoq", | ||
"orpc" | ||
], | ||
@@ -36,4 +32,4 @@ "exports": { | ||
"files": [ | ||
"dist", | ||
"src" | ||
"!dist/*.tsbuildinfo", | ||
"dist" | ||
], | ||
@@ -47,3 +43,3 @@ "dependencies": { | ||
"scripts": { | ||
"build": "tsup --clean --sourcemap --entry.index=src/index.ts --entry.error=src/error.ts --format=esm --onSuccess='tsc -b --noCheck'", | ||
"build": "tsup --clean --entry.index=src/index.ts --entry.error=src/error.ts --format=esm --onSuccess='tsc -b --noCheck'", | ||
"build:watch": "pnpm run build --watch", | ||
@@ -50,0 +46,0 @@ "type:check": "tsc -b" |
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
229
229
8770
9
224
2