Skip to content

pantoken-root / packages/cli/src / resolveRegistryItemNames

函式: resolveRegistryItemNames() ​

resolveRegistryItemNames(items): string[]

Beta(測試)

將傳入 pantoken add 的項目名稱解析為完整的註冊表識別符。 像 button 這樣的裸名稱會變成 @pantoken/button。URL 與帶作用域的名稱會被保留。

參數 ​

items ​

readonly string[]

回傳 ​

string[]