mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-11 17:29:44 +00:00
format
This commit is contained in:
parent
e413121cd1
commit
67807b229d
@ -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…
x
Reference in New Issue
Block a user