tsrpc-cli
Advanced tools
Comparing version 2.4.4-dev.0 to 2.4.4
@@ -85,2 +85,16 @@ export declare type ApiTemplate = (apiBaseName: string, apiFileDir: string, ptlFileDir: string) => string; | ||
newApiTemplate?: ApiTemplate; | ||
/** | ||
* 自定义全局 Module 路径的解析方式 | ||
* @experiment 注意:这是实验性特性,可能会在未来版本中被移除 | ||
* @param importPath 例如 import xx from 'abcd/efg' 则 importPath 为 'abcd/efg' | ||
* @example | ||
* ```ts | ||
* resolveModule: (v, dir) => { | ||
* v = v.replace(/^@runtime\//, './common/runtime/); | ||
* return v; | ||
* } | ||
* ``` | ||
* @returns 返回 module 文件的绝对路径(不含扩展名) | ||
*/ | ||
resolveModule?: (importPath: string) => string; | ||
}[]; | ||
@@ -87,0 +101,0 @@ /** |
/*! | ||
* TSRPC Command-line Interface v2.4.4-dev.0 | ||
* TSRPC Command-line Interface v2.4.4 | ||
* ----------------------------------------- | ||
@@ -4,0 +4,0 @@ * MIT LICENSE |
{ | ||
"name": "tsrpc-cli", | ||
"version": "2.4.4-dev.0", | ||
"version": "2.4.4", | ||
"description": "TSRPC CLI Tools", | ||
@@ -40,4 +40,4 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@microsoft/api-documenter": "^7.17.11", | ||
"@microsoft/api-extractor": "^7.23.0", | ||
"@microsoft/api-documenter": "^7.17.17", | ||
"@microsoft/api-extractor": "^7.25.0", | ||
"@rollup/plugin-replace": "^2.4.2", | ||
@@ -53,5 +53,5 @@ "@types/fs-extra": "^9.0.13", | ||
"openapi-types": "^9.3.1", | ||
"rollup": "^2.70.2", | ||
"rollup": "^2.75.6", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"rollup-plugin-typescript2": "^0.31.2" | ||
"rollup-plugin-typescript2": "^0.32.1" | ||
}, | ||
@@ -62,4 +62,4 @@ "dependencies": { | ||
"fs-extra": "^10.1.0", | ||
"glob": "^7.2.0", | ||
"inquirer": "^8.2.3", | ||
"glob": "^7.2.3", | ||
"inquirer": "^8.2.4", | ||
"k8w-extend-native": "^1.4.6", | ||
@@ -69,10 +69,10 @@ "minimist": "^1.2.6", | ||
"os-locale": "^5.0.0", | ||
"ts-node": "^10.7.0", | ||
"tsbuffer": "^2.2.2", | ||
"tsbuffer-proto-generator": "^1.7.1", | ||
"ts-node": "^10.8.1", | ||
"tsbuffer": "^2.2.3", | ||
"tsbuffer-proto-generator": "^1.7.2", | ||
"tsbuffer-schema": "^2.2.0", | ||
"tsrpc-proto": "^1.4.2", | ||
"typescript": "^4.6.3", | ||
"typescript": "^4.7.3", | ||
"typescript-formatter": "^7.2.2" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
148628
2885
0
Updatedglob@^7.2.3
Updatedinquirer@^8.2.4
Updatedts-node@^10.8.1
Updatedtsbuffer@^2.2.3
Updatedtypescript@^4.7.3