@likec4/core
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -69,1 +69,2 @@ export declare const ElementColors: { | ||
}; | ||
//# sourceMappingURL=element.d.ts.map |
@@ -133,1 +133,2 @@ import { ElementColors } from './element'; | ||
export { ElementColors, RelationshipColors }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -58,1 +58,2 @@ export declare const RelationshipColors: { | ||
}; | ||
//# sourceMappingURL=relationships.d.ts.map |
@@ -39,1 +39,2 @@ import { CustomError } from 'ts-custom-error'; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -66,3 +66,9 @@ import { CustomError } from 'ts-custom-error'; | ||
const error = new UnknownError(message); | ||
Error.captureStackTrace(error, normalizeError); | ||
try { | ||
// @ts-ignore | ||
Error.captureStackTrace(error, normalizeError); | ||
} | ||
catch { | ||
// Ignore | ||
} | ||
return error; | ||
@@ -69,0 +75,0 @@ } |
@@ -7,1 +7,2 @@ export * from './colors'; | ||
export type * as c4 from './types'; | ||
//# sourceMappingURL=index.d.ts.map |
import type { Opaque } from './opaque'; | ||
export type NonEmptyArray<T> = [T, ...T[]] | [...T[], T]; | ||
export type IconUrl = Opaque<string, 'IconUrl'>; | ||
//# sourceMappingURL=_common.d.ts.map |
@@ -35,1 +35,2 @@ import type { IconUrl, NonEmptyArray } from './_common'; | ||
} | ||
//# sourceMappingURL=element.d.ts.map |
@@ -82,1 +82,2 @@ import type { IconUrl } from './_common'; | ||
export {}; | ||
//# sourceMappingURL=expression.d.ts.map |
@@ -10,1 +10,2 @@ export * from './_common'; | ||
export * as Expr from './expression'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -9,2 +9,3 @@ export * from './_common'; | ||
export * from './view'; | ||
export * as Expr from './expression'; | ||
import * as Expr_1 from './expression'; | ||
export { Expr_1 as Expr }; |
@@ -14,1 +14,2 @@ import type { Element, Fqn } from './element'; | ||
} | ||
//# sourceMappingURL=model.d.ts.map |
@@ -103,1 +103,2 @@ declare const tag: unique symbol; | ||
export {}; | ||
//# sourceMappingURL=opaque.d.ts.map |
@@ -25,1 +25,2 @@ import type { NonEmptyArray } from './_common'; | ||
} | ||
//# sourceMappingURL=relation.d.ts.map |
@@ -27,1 +27,2 @@ export type ThemeColor = 'amber' | 'blue' | 'gray' | 'slate' | 'green' | 'indigo' | 'muted' | 'primary' | 'red' | 'secondary' | 'sky'; | ||
} | ||
//# sourceMappingURL=theme.d.ts.map |
@@ -187,1 +187,2 @@ import type { IconUrl, NonEmptyArray } from './_common'; | ||
} | ||
//# sourceMappingURL=view.d.ts.map |
@@ -34,1 +34,2 @@ import type { Element, Fqn } from '../types'; | ||
}>(a: T, b: T): number; | ||
//# sourceMappingURL=fqn.d.ts.map |
@@ -5,1 +5,2 @@ import type { NonEmptyArray } from '../types'; | ||
export declare function isNonEmptyArray<A>(arr: ArrayLike<A> | undefined): arr is NonEmptyArray<A>; | ||
//# sourceMappingURL=guards.d.ts.map |
@@ -5,1 +5,2 @@ export * from './fqn'; | ||
export * from './relations'; | ||
//# sourceMappingURL=index.d.ts.map |
export declare function delay(ms?: number): Promise<unknown>; | ||
//# sourceMappingURL=promises.d.ts.map |
@@ -30,1 +30,2 @@ import type { Fqn } from '../types'; | ||
export {}; | ||
//# sourceMappingURL=relations.d.ts.map |
{ | ||
"name": "@likec4/core", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"license": "MIT", | ||
@@ -14,5 +14,4 @@ "homepage": "https://likec4.dev", | ||
"scripts": { | ||
"typecheck": "tsc -b", | ||
"build": "tsc", | ||
"prepack": "tsc -p tsconfig.build.json", | ||
"typecheck": "tsc --noEmit", | ||
"prepack": "tsc", | ||
"lint": "run -T eslint src/ --fix", | ||
@@ -24,3 +23,3 @@ "test": "run -T vitest run", | ||
"dist", | ||
"!dist/src/**", | ||
"src", | ||
"!**/*.map" | ||
@@ -76,8 +75,9 @@ ], | ||
"devDependencies": { | ||
"@likec4/tsconfig": "1.2.1", | ||
"@total-typescript/ts-reset": "^0.5.1", | ||
"execa": "^9.1.0", | ||
"typescript": "^5.4.5", | ||
"vitest": "~1.5.2" | ||
"vitest": "~1.5.3" | ||
}, | ||
"packageManager": "yarn@4.3.0" | ||
} |
111057
69
3209
5