kunkun/packages/api/package.json
Huakun Shen e4d1441d73
Feature: support npm extension publish (#62)
* feat: npm package registry API

* refactor: move package registry files

* refactor: move jsr and npm api to a new package

* ci: add verify-package-export

* test: implement tests for npm package validation as kunkun extension

* chore: add missing dep for package-registry pkg

* feat: make provenance an optional input for npm validation function

* ci: add verify-package-export as dev dep to 2 packages that uses it

* feat: add rekor log API, and return commit from jsr & npm package in validation function

* feat: return github repo info from validation function of jsr and npm

* feat: extend ExtPublishMetadata to include optional GitHub repository details

* fix: eslint for ui package

* refactor: format desktop

* fix: eslint errors in desktop

* format: all code

* ci: add lint to CI

* feat: add more info to validation function returned from package-registry npm jsr

* pnpm lock

* feat: add 2 more variables to supabase extension metadata model

* format

* feat: add provenance card

* feat: add workflow path to ExtPublishMetadata and jsr/npm validation

* update provenance

* feat: make store extension and provenance more responsive

* chore: add globals to ui package

* fix: remove unnecessary any to fix eslint

* fix: svg sanitize

* chore: add @typescript-eslint/eslint-plugin to ui package to fix eslint

* fix: update eslint dep to fix error

* fix: try fixing eslint

* fix: update eslint configuration for improved compatibility

* chore: add globals package and update README for Discord invite

* fix: update eslint rules and upgrade typescript-eslint dependency

- Disabled additional eslint rules to resolve errors:
  - @typescript-eslint/no-unused-expressions
  - svelte/no-inner-declarations
- Upgraded typescript-eslint from version 8.19.1 to 8.20.0 for improved compatibility.

* update pnpm lock

---------

Co-authored-by: Huakun Shen <huaukun.shen@huakunshen.com>
2025-01-16 06:00:07 -05:00

80 lines
2.3 KiB
JSON

{
"name": "@kksh/api",
"version": "0.0.52",
"type": "module",
"exports": {
".": "./src/index.ts",
"./ui": "./src/ui/index.ts",
"./ui/iframe": "./src/ui/iframe/index.ts",
"./ui/worker": "./src/ui/worker/index.ts",
"./headless": "./src/headless/index.ts",
"./models": "./src/models/index.ts",
"./commands": "./src/commands/index.ts",
"./runtime/deno": "./src/runtime/deno.ts",
"./permissions": "./src/permissions/index.ts",
"./dev": "./src/dev/index.ts",
"./events": "./src/events.ts",
"./supabase": "./src/supabase/index.ts",
"./supabase/types": "./src/supabase/database.types.ts",
"./package.json": "./package.json"
},
"license": "MIT",
"scripts": {
"test": "bun test --coverage",
"postbuild": "verify-package-export verify",
"gen:deno:types": "deno types > deno.d.ts",
"build:docs": "npx typedoc",
"check-types": "tsc --noEmit",
"dev": "bun --watch build.ts",
"build": "bun build.ts",
"prepare": "bun setup.ts",
"format": "prettier --write \"**/*.{ts,tsx,md,vue,json,yaml,yml}\""
},
"devDependencies": {
"@types/bun": "latest",
"@types/lodash": "^4.17.14",
"@types/madge": "^5.0.3",
"@types/node": "^22.10.5",
"@types/semver": "^7.5.8",
"fs-extra": "^11.2.0",
"madge": "^8.0.0",
"typedoc": "^0.27.6",
"typescript": "^5.0.0",
"verify-package-export": "^0.0.2"
},
"dependencies": {
"@huakunshen/jsr-client": "^0.1.5",
"@octokit/rest": "^21.1.0",
"@tauri-apps/api": "^2.2.0",
"@tauri-apps/cli": "^2.2.2",
"@tauri-apps/plugin-deep-link": "^2.2.0",
"@tauri-apps/plugin-dialog": "^2.2.0",
"@tauri-apps/plugin-fs": "^2.2.0",
"@tauri-apps/plugin-global-shortcut": "^2.2.0",
"@tauri-apps/plugin-http": "^2.2.0",
"@tauri-apps/plugin-log": "^2.2.0",
"@tauri-apps/plugin-notification": "^2.2.0",
"@tauri-apps/plugin-os": "^2.2.0",
"@tauri-apps/plugin-process": "2.2.0",
"@tauri-apps/plugin-shell": "^2.2.0",
"@tauri-apps/plugin-store": "^2.2.0",
"@tauri-apps/plugin-updater": "^2.3.0",
"@tauri-apps/plugin-upload": "^2.2.1",
"kkrpc": "^0.0.13",
"lodash": "^4.17.21",
"minimatch": "^10.0.1",
"node-fetch": "^3.3.2",
"semver": "^7.6.3",
"svelte-sonner": "^0.3.28",
"tauri-api-adapter": "^0.3.16",
"tauri-plugin-network-api": "2.0.5",
"tauri-plugin-shellx-api": "^2.0.14",
"tauri-plugin-system-info-api": "2.0.8",
"valibot": "^1.0.0-beta.10"
},
"files": [
"src",
"dist"
]
}