kunkun/packages/ui/package.json
Huakun Shen e21bef154e
Feature: install extension from JSR (#53)
* chore: upgrade many dependencies

* fix: @kksh/svelte, migrate 5

* refactor: move dialog plugin code out of ui package

* chore: disable check-types in api build.ts

Causing build error in kunkun-services

* feat: add jsr package

* feat: implement jsr package with API and parsers for jsr

* feat: modify API, add function to extract linked github repo from html

* perf: improve jsr package API with @hk/jsr-client

* feat: add jsr package version table for publishing extension

* fix: dependency and type incompatibility in ui package

* feat: add validateJsrPackageAsKunkunExtension function in jsr package

* feat: improve jsr table

* feat: add a ElementAlert component

* feat: update ElementAlert UI

* chore: update deno.lock

* chore: enable submodule support in jsr-publish workflow

* chore: bump version to 0.0.48 in jsr.json

* feat: regenerate supabase types, add author_id

* Move @kksh/jsr package to @kksh/api

* update deno.lock

* chore: change @tauri-plugin/plugin-upload version from git url to version

* feat: add rounded corner for ElementAlert

* chore: update deno.lock

* chore: bump version to 0.0.51 in jsr.json and update import paths for ExtPackageJson

* feat: add publishExtJSR API to SupabaseAPI

* refactor: replace "@hk/jsr-client" from jsr with @huakunshen/jsr-client from npm

* chore: update  deno.lock

* feat: update validateJsrPackageAsKunkunExtension return type

* refactor: improve error message

* feat: add metadata to ext_publish, update database.types.ts

* feat: add models module for Supabase with ExtPublishMetadata and source type enumeration

* feat: support installing JSR package as extension

Since JSR overwrites package.json with its own code to be compatible with npm, causing manifest parsing to be impossible. I add metadata field to ext_publish.
When extension comes from jsr, kunkun app will fetch the original package.json from jsr and overwrite the one modified by jsr.

* fix: add missing dep @tauri-apps/plugin-upload to @kksh/extension

* chore: update version to 0.0.52 in version.ts
2025-01-10 08:23:18 -05:00

70 lines
1.6 KiB
JSON

{
"name": "@kksh/ui",
"version": "0.0.1",
"type": "module",
"module": "index.ts",
"main": "index.ts",
"exports": {
".": {
"types": "./src/index.ts",
"svelte": "./src/index.ts"
},
"./types": {
"types": "./src/types.ts",
"svelte": "./src/types.ts"
},
"./custom": {
"types": "./src/components/custom/index.ts",
"svelte": "./src/components/custom/index.ts"
},
"./utils": {
"types": "./src/utils/index.ts",
"svelte": "./src/utils/index.ts"
},
"./main": {
"types": "./src/components/main/index.ts",
"svelte": "./src/components/main/index.ts"
},
"./extension": {
"types": "./src/components/extension/index.ts",
"svelte": "./src/components/extension/index.ts"
}
},
"scripts": {
"lint": "eslint ."
},
"peerDependencies": {
"svelte": "^5.0.0"
},
"devDependencies": {
"@iconify/svelte": "^4.2.0",
"@kksh/api": "workspace:*",
"@kksh/svelte5": "^0.1.12",
"@types/bun": "latest",
"bits-ui": "1.0.0-next.77",
"clsx": "^2.1.1",
"formsnap": "2.0.0-next.1",
"lucide-svelte": "^0.469.0",
"mode-watcher": "^0.5.0",
"paneforge": "0.0.6",
"shiki": "^1.26.1",
"svelte-radix": "^2.0.1",
"svelte-sonner": "^0.3.28",
"sveltekit-superforms": "^2.22.1",
"tailwind-merge": "^2.6.0",
"tailwind-variants": "^0.3.0",
"tailwindcss": "^3.4.17",
"tailwindcss-animate": "^1.0.7",
"tauri-plugin-shellx-api": "^2.0.14",
"zod": "^3.24.1"
},
"dependencies": {
"@formkit/auto-animate": "^0.8.2",
"@internationalized/date": "^3.6.0",
"@std/semver": "npm:@jsr/std__semver@^1.0.3",
"gsap": "^3.12.5",
"shiki-magic-move": "^0.5.2",
"svelte-markdown": "^0.4.1"
}
}