diff --git a/apps/cli/CHANGELOG.md b/apps/cli/CHANGELOG.md index e11e2059..4cab5ebc 100644 --- a/apps/cli/CHANGELOG.md +++ b/apps/cli/CHANGELOG.md @@ -1,4 +1,4 @@ -# @kksh/cli +# kksh ## 0.0.22 diff --git a/apps/cli/README.md b/apps/cli/README.md index ef344b92..6006a9ab 100644 --- a/apps/cli/README.md +++ b/apps/cli/README.md @@ -1,4 +1,4 @@ -# @kksh/cli +# kksh This is a CLI tool for developers to develop Kunkun extensions. @@ -9,8 +9,8 @@ This is a CLI tool for developers to develop Kunkun extensions. 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/cli verify +npx kksh verify # Build extension with docker, simulate how Kunkun's CI builds the extension -npx @kksh/cli build +npx kksh build ``` diff --git a/apps/cli/jsr.json b/apps/cli/jsr.json deleted file mode 100644 index 8f653352..00000000 --- a/apps/cli/jsr.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://jsr.io/schema/config-file.v1.json", - "name": "@kksh/cli", - "version": "0.0.2", - "exports": "./mod.ts", - "imports": { - "@/": "./src/" - } -} diff --git a/apps/cli/package.json b/apps/cli/package.json index a9497cdf..66ad8d1f 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -1,10 +1,10 @@ { - "name": "@kksh/cli", + "name": "kksh", "module": "dist/cli.js", - "version": "0.0.22", + "version": "0.0.23", "type": "module", "bin": { - "@kksh/cli": "./dist/cli.js", + "kksh": "./dist/cli.js", "docker-entrypoint.sh": "./dist/docker/entrypoint.sh" }, "author": "Huakun", diff --git a/packages/api/jsr.json b/packages/api/jsr.json index 48d4f02c..57d42326 100644 --- a/packages/api/jsr.json +++ b/packages/api/jsr.json @@ -1,7 +1,7 @@ { "$schema": "https://jsr.io/schema/config-file.v1.json", "name": "@kunkun/api", - "version": "0.0.18", + "version": "0.0.23", "license": "MIT", "exports": { ".": "./src/index.ts", diff --git a/templates/template-ext-next/README.md b/templates/template-ext-next/README.md index c083e8da..1dd850af 100644 --- a/templates/template-ext-next/README.md +++ b/templates/template-ext-next/README.md @@ -38,7 +38,7 @@ The main benefit of using a meta-framework is that it comes with routing, and wi ```bash pnpm build # make sure the build npm script works -npx @kksh/cli@latest verify # Verify some basic settings before publishing +npx kksh@latest verify # Verify some basic settings before publishing ``` It is recommended to build the extension with the same environment our CI uses. @@ -49,7 +49,7 @@ You can use the following command to build the extension with the same environme This requires you to have docker installed, and the shell you are using has access to it via `docker` command. ```bash -npx @kksh/cli@latest build # Build the extension with +npx kksh@latest build # Build the extension with ``` `pnpm` is used to install dependencies and build the extension. diff --git a/templates/template-ext-nuxt/README.md b/templates/template-ext-nuxt/README.md index cfb4e482..ee2ea0a6 100644 --- a/templates/template-ext-nuxt/README.md +++ b/templates/template-ext-nuxt/README.md @@ -38,7 +38,7 @@ The main benefit of using a meta-framework is that it comes with routing, and wi ```bash pnpm build # make sure the build npm script works -npx @kksh/cli@latest verify # Verify some basic settings before publishing +npx kksh@latest verify # Verify some basic settings before publishing ``` It is recommended to build the extension with the same environment our CI uses. @@ -49,7 +49,7 @@ You can use the following command to build the extension with the same environme This requires you to have docker installed, and the shell you are using has access to it via `docker` command. ```bash -npx @kksh/cli@latest build # Build the extension with +npx kksh@latest build # Build the extension with ``` `pnpm` is used to install dependencies and build the extension. diff --git a/templates/template-ext-react/README.md b/templates/template-ext-react/README.md index 3ab6464a..1fdddc2b 100644 --- a/templates/template-ext-react/README.md +++ b/templates/template-ext-react/README.md @@ -36,7 +36,7 @@ Kunkun provides meta-framework templates for Nuxt, Next, SvelteKit. ```bash pnpm build # make sure the build npm script works -npx @kksh/cli@latest verify # Verify some basic settings before publishing +npx kksh@latest verify # Verify some basic settings before publishing ``` It is recommended to build the extension with the same environment our CI uses. @@ -47,7 +47,7 @@ You can use the following command to build the extension with the same environme This requires you to have docker installed, and the shell you are using has access to it via `docker` command. ```bash -npx @kksh/cli@latest build # Build the extension with +npx kksh@latest build # Build the extension with ``` `pnpm` is used to install dependencies and build the extension. diff --git a/templates/template-ext-svelte/README.md b/templates/template-ext-svelte/README.md index cd8a6fcf..17bc5dfb 100644 --- a/templates/template-ext-svelte/README.md +++ b/templates/template-ext-svelte/README.md @@ -36,7 +36,7 @@ Kunkun provides meta-framework templates for Nuxt, Next, SvelteKit. ```bash pnpm build # make sure the build npm script works -npx @kksh/cli@latest verify # Verify some basic settings before publishing +npx kksh@latest verify # Verify some basic settings before publishing ``` It is recommended to build the extension with the same environment our CI uses. @@ -47,7 +47,7 @@ You can use the following command to build the extension with the same environme This requires you to have docker installed, and the shell you are using has access to it via `docker` command. ```bash -npx @kksh/cli@latest build # Build the extension with +npx kksh@latest build # Build the extension with ``` `pnpm` is used to install dependencies and build the extension. diff --git a/templates/template-ext-sveltekit/README.md b/templates/template-ext-sveltekit/README.md index c8340ada..8bc14a0c 100644 --- a/templates/template-ext-sveltekit/README.md +++ b/templates/template-ext-sveltekit/README.md @@ -38,7 +38,7 @@ The main benefit of using a meta-framework is that it comes with routing, and wi ```bash pnpm build # make sure the build npm script works -npx @kksh/cli@latest verify # Verify some basic settings before publishing +npx kksh@latest verify # Verify some basic settings before publishing ``` It is recommended to build the extension with the same environment our CI uses. @@ -49,7 +49,7 @@ You can use the following command to build the extension with the same environme This requires you to have docker installed, and the shell you are using has access to it via `docker` command. ```bash -npx @kksh/cli@latest build # Build the extension with +npx kksh@latest build # Build the extension with ``` `pnpm` is used to install dependencies and build the extension. diff --git a/templates/template-ext-vue/README.md b/templates/template-ext-vue/README.md index 511cde6a..99d55a7c 100644 --- a/templates/template-ext-vue/README.md +++ b/templates/template-ext-vue/README.md @@ -36,7 +36,7 @@ Kunkun provides meta-framework templates for Nuxt, Next, SvelteKit. ```bash pnpm build # make sure the build npm script works -npx @kksh/cli@latest verify # Verify some basic settings before publishing +npx kksh@latest verify # Verify some basic settings before publishing ``` It is recommended to build the extension with the same environment our CI uses. @@ -47,7 +47,7 @@ You can use the following command to build the extension with the same environme This requires you to have docker installed, and the shell you are using has access to it via `docker` command. ```bash -npx @kksh/cli@latest build # Build the extension with +npx kksh@latest build # Build the extension with ``` `pnpm` is used to install dependencies and build the extension. diff --git a/templates/template-ext-worker/README.md b/templates/template-ext-worker/README.md index aa4e1de9..e1c7cc7e 100644 --- a/templates/template-ext-worker/README.md +++ b/templates/template-ext-worker/README.md @@ -78,8 +78,8 @@ Then in `package.json`, register the new command. ```bash pnpm build # make sure the build npm script works -npx @kksh/cli@latest verify # Verify some basic settings -npx @kksh/cli@latest verify --publish # Verify some basic settings before publishing +npx kksh@latest verify # Verify some basic settings +npx kksh@latest verify --publish # Verify some basic settings before publishing ``` It is recommended to build the extension with the same environment our CI uses. @@ -90,7 +90,7 @@ You can use the following command to build the extension with the same environme This requires you to have docker installed, and the shell you are using has access to it via `docker` command. ```bash -npx @kksh/cli@latest build # Build the extension with +npx kksh@latest build # Build the extension with ``` `pnpm` is used to install dependencies and build the extension.