@waiting/shared-types-dev
Advanced tools
Comparing version 18.0.3 to 18.0.4
export declare const baseDir: string; | ||
//# sourceMappingURL=base.d.ts.map |
export * from './lib/index.js'; | ||
//# sourceMappingURL=index.d.ts.map |
export * from './types.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -14,2 +14,1 @@ export interface CallerInfo { | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
@@ -6,2 +6,1 @@ export * from './callstack/index.js'; | ||
export * from './transformer/common.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -18,2 +18,1 @@ import ts from 'typescript'; | ||
export declare function genTransformerFactor<T extends VisitNodeOpts>(options: GenTransformerFactorOpts<T>): ts.TransformerFactory<ts.SourceFile>; | ||
//# sourceMappingURL=common.d.ts.map |
export { transTypeKeystoLiteralArray, transTypeKeystoLiteralArrayPlaceholder, } from './keys-to-literal-array.js'; | ||
export * from './type-to-literal-obj.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -18,2 +18,1 @@ import ts from 'typescript'; | ||
export declare function transTypeKeystoLiteralArrayPlaceholder<T extends Record<string, any>>(): (keyof T)[]; | ||
//# sourceMappingURL=keys-to-literal-array.d.ts.map |
@@ -11,2 +11,1 @@ import ts from 'typescript'; | ||
export declare function computeCallExpressionToLiteralObj(funcName?: TransFormOptions['needle'] | undefined): unknown; | ||
//# sourceMappingURL=type-to-literal-obj.d.ts.map |
export type { CallExpressionPosKey, ProcessExpressionOptions, TransFormOptions, } from './tpl-literal.types.js'; | ||
export { transformCallExpressionToLiteralType } from './tpl-literal.js'; | ||
export * from './morph-common.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -36,2 +36,1 @@ import type { SourceFile, Node, CallExpression, TypeNode, ProjectOptions, Type } from 'ts-morph'; | ||
export declare function retrieveVarInfoFromCallExpressionCallerInfo(options: CallerInfo, needle?: string | undefined, sourceFile?: SourceFile | undefined): VariableNameInfo | undefined; | ||
//# sourceMappingURL=morph-common.d.ts.map |
@@ -23,2 +23,1 @@ import type { LiteralObject } from '@waiting/shared-types'; | ||
export declare function genTypeAliasDeclaration(resultObj: object, file: SourceFile, typeAliasDecla: TypeAliasDeclaration, aliasName: string, delimiter?: string): void; | ||
//# sourceMappingURL=tpl-literal.d.ts.map |
@@ -25,2 +25,1 @@ import type { LiteralObject } from '@waiting/shared-types'; | ||
export {}; | ||
//# sourceMappingURL=tpl-literal.types.d.ts.map |
@@ -17,2 +17,1 @@ import type { LiteralObject } from '@waiting/shared-types'; | ||
export declare function isKeysCallExpression(node: Node, typeChecker: TypeChecker, needleName: string, tsPath: string): node is CallExpression; | ||
//# sourceMappingURL=ts-common.d.ts.map |
export declare function deepFind(obj: object, paths: string[]): unknown; | ||
//# sourceMappingURL=util.d.ts.map |
{ | ||
"name": "@waiting/shared-types-dev", | ||
"author": "waiting", | ||
"version": "18.0.3", | ||
"version": "18.0.4", | ||
"description": "shared typescript types develop", | ||
@@ -35,4 +35,4 @@ "private": false, | ||
"dependencies": { | ||
"@waiting/shared-core": "^23.20.2", | ||
"@waiting/shared-types": "^23.20.2", | ||
"@waiting/shared-core": "^23.21.0", | ||
"@waiting/shared-types": "^23.21.0", | ||
"ts-morph": "^23.0.0" | ||
@@ -50,8 +50,7 @@ }, | ||
"asset", | ||
"src/**/*.ts", | ||
"bin", | ||
"database", | ||
"dist", | ||
"!**/*.spec.*", | ||
"!**/*.tsbuildinfo" | ||
"src", | ||
"!**/*.spec.*" | ||
], | ||
@@ -62,4 +61,3 @@ "publishConfig": { | ||
"scripts": { | ||
"build": "npm run tsc && tsc-alias && npm run rp", | ||
"build:prod": "npm run tsc -- --declaration --declarationMap && tsc-alias && npm run rp", | ||
"build": "npm run tsc", | ||
"build:unit": "tsc -p test/tsconfig.json", | ||
@@ -71,5 +69,6 @@ "clean": "npm run clean:lock && npm run clean:dist && npm run clean:log", | ||
"clean:log": "rm -rf ./logs ./run", | ||
"cov": "c8 --all npm run test --", | ||
"lint": "eslint --fix --cache src test ", | ||
"cov": "c8 --all npm run test", | ||
"lint": "eslint --fix --cache src test", | ||
"lint:nofix": "eslint --cache src test", | ||
"postbuild": "tsc-alias && npm run rp", | ||
"pretest": "npm run build:unit", | ||
@@ -81,3 +80,3 @@ "rp": "tsx bin-hashbang.js", | ||
}, | ||
"gitHead": "fd2411098d433852080f1e6ea5c982d6d1f03383" | ||
"gitHead": "b55729234446240829aa5fcaf5e4640462db412f" | ||
} |
@@ -31,3 +31,3 @@ { | ||
"resolveJsonModule": true, | ||
"rootDir": "${configDir}/src", | ||
"rootDir": "src", | ||
"skipLibCheck": true, | ||
@@ -52,2 +52,3 @@ "sourceMap": true, | ||
"${configDir}/fixtures", | ||
"fixtures", | ||
"node_modules*", | ||
@@ -54,0 +55,0 @@ "**/*.d.ts", |
2395
117897
64