bfi-cli 0.1.17 → 0.1.18

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +5 -0
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -233,6 +233,11 @@ function parseSource(input) {
233
233
  type: "well-known",
234
234
  url: input
235
235
  };
236
+ if (!input.includes(":") && !input.includes("/") && !input.startsWith("@") && !input.includes("--")) return {
237
+ type: "skillhub",
238
+ url: `skillhub:${input}`,
239
+ subpath: void 0
240
+ };
236
241
  return {
237
242
  type: "git",
238
243
  url: input,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bfi-cli",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "用友大业财BFI统一命令行工具,支持技能,技能包,元数据,UI元数据等",
5
5
  "type": "module",
6
6
  "bin": {