kunkun/apps/cli
Huakun 48e2e47f96
Some checks failed
CI / build-test (macos-14) (push) Has been cancelled
CI / build-test (ubuntu-24.04) (push) Has been cancelled
CI / build-test (windows-latest) (push) Has been cancelled
JSR Publish / publish (push) Has been cancelled
NPM Package Publish / publish-npm (push) Has been cancelled
Remove supabase (#263)
* remove supabase package

* upgrade valibot

* removed supabase package

Migration not complete yet

* update submodule

* fixed some supabase errors

* Add new fields to extension models

- Added `id` field to `ExtPublish`
- Expanded `DBExtension` with multiple new properties:
  - `api_version`, `author_id`, `created_at`,
  - `downloads`, `icon`, `identifier`,
  - `long_description`, `name`,
  - `readme`, `short_description`,
  - and `tarball_size`

* Refactor: clean up unused Supabase imports

- Removed commented-out Supabase imports from various files to streamline the codebase.
- Updated `created_at` type in `ExtPublish` model from `date` to `string` for consistency.

* update icon enum to union

* fix type errors after removing supabase

* format

* more types fixed

* feat: enhance command handling and update SDK version
2025-03-26 08:50:55 -04:00
..
__tests__ test: remove build commad and its tests from cli app 2025-02-04 10:06:51 -05:00
src feat(desktop): add localized drag and drop strike separator text (#139) 2025-02-18 03:17:19 -05:00
.gitignore Add extension templates, create-kunkun and cli package (#26) 2024-11-15 18:15:17 -05:00
build.ts Add extension templates, create-kunkun and cli package (#26) 2024-11-15 18:15:17 -05:00
bun.lockb Feature: i18n (#70) 2025-01-19 23:22:15 -05:00
CHANGELOG.md Feature: add extension api (hide and paste) (#210) 2025-02-26 04:47:43 -05:00
cli.ts test: remove build commad and its tests from cli app 2025-02-04 10:06:51 -05:00
mod.ts test: remove build commad and its tests from cli app 2025-02-04 10:06:51 -05:00
package.json Remove supabase (#263) 2025-03-26 08:50:55 -04:00
README.md Add extension templates, create-kunkun and cli package (#26) 2024-11-15 18:15:17 -05:00
tsconfig.json Add extension templates, create-kunkun and cli package (#26) 2024-11-15 18:15:17 -05:00

kksh

This is a CLI tool for developers to develop Kunkun extensions.

Usage

# Create an extension template first
npm init kunkun@latest

# You can verify the extension manifest, this expect `npm run build` is done already and all generated artifacts listed in manifest is present.
npx kksh verify <path to extension>

# Build extension with docker, simulate how Kunkun's CI builds the extension
npx kksh build <path to extension>