mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-08-04 18:48:12 +00:00
format
This commit is contained in:
parent
e413121cd1
commit
67807b229d
2 changed files with 6 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
import { getExtensionsLatestPublishByIdentifier } from "@kksh/sdk"
|
||||
import { IconType } from "@kksh/api/models"
|
||||
import { getExtensionsLatestPublishByIdentifier } from "@kksh/sdk"
|
||||
|
||||
const latestPublish = await getExtensionsLatestPublishByIdentifier({
|
||||
path: {
|
||||
|
@ -10,4 +10,4 @@ console.log(latestPublish)
|
|||
// latestPublish
|
||||
|
||||
// console.log(typeof IconEnum.Iconify)
|
||||
console.log(IconType.options)
|
||||
console.log(IconType.options)
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
import type { ExtPublishMetadata } from "@kunkunapi/src/models"
|
||||
|
||||
export async function getInstallExtras(
|
||||
extMetadata?: {
|
||||
sourceType?: string
|
||||
source?: string
|
||||
}
|
||||
): Promise<{ overwritePackageJson?: string }> {
|
||||
export async function getInstallExtras(extMetadata?: {
|
||||
sourceType?: string
|
||||
source?: string
|
||||
}): Promise<{ overwritePackageJson?: string }> {
|
||||
const extras: { overwritePackageJson?: string } = {}
|
||||
if (extMetadata?.sourceType) {
|
||||
if (extMetadata?.sourceType === "jsr") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue