mirror of
https://github.com/kunkunsh/kunkun-ext-rag.git
synced 2025-04-04 02:16:41 +00:00
add GitHub Actions workflow for package publishing and update package metadata
This commit is contained in:
parent
9172f92af2
commit
2ea92b752d
25
.github/workflows/jsr-publish.yml
vendored
Normal file
25
.github/workflows/jsr-publish.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
name: Publish
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
id-token: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: oven-sh/setup-bun@v2
|
||||||
|
with:
|
||||||
|
bun-version: latest
|
||||||
|
- name: Publish package
|
||||||
|
run: |
|
||||||
|
bun install
|
||||||
|
bun run build
|
||||||
|
bunx jsr publish --allow-slow-types
|
6
jsr.json
Normal file
6
jsr.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "@kunkun/kunkun-ext-vscode",
|
||||||
|
"version": "0.0.4",
|
||||||
|
"license": "MIT",
|
||||||
|
"exports": "./mod.ts"
|
||||||
|
}
|
168
package.json
168
package.json
@ -1,86 +1,86 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://schema.kunkun.sh",
|
"$schema": "https://schema.kunkun.sh",
|
||||||
"name": "RAG",
|
"name": "kunkun-ext-rag",
|
||||||
"draft": true,
|
"draft": true,
|
||||||
"version": "0.0.3",
|
"version": "0.0.4",
|
||||||
"private": true,
|
"private": true,
|
||||||
"kunkun": {
|
"kunkun": {
|
||||||
"name": "TODO: Change Display Name",
|
"name": "RAG",
|
||||||
"shortDescription": "A Custom UI template for sveltekit",
|
"shortDescription": "Retrieval Augmented Generation",
|
||||||
"longDescription": "A Custom UI template for sveltekit",
|
"longDescription": "A local RAG agent for local files.",
|
||||||
"identifier": "RAG",
|
"identifier": "RAG",
|
||||||
"icon": {
|
"icon": {
|
||||||
"type": "iconify",
|
"type": "iconify",
|
||||||
"value": "logos:svelte-icon"
|
"value": "logos:svelte-icon"
|
||||||
},
|
},
|
||||||
"demoImages": [],
|
"demoImages": [],
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"clipboard:read-text",
|
"clipboard:read-text",
|
||||||
"notification:all"
|
"notification:all"
|
||||||
],
|
],
|
||||||
"customUiCmds": [
|
"customUiCmds": [
|
||||||
{
|
{
|
||||||
"main": "/",
|
"main": "/",
|
||||||
"dist": "build",
|
"dist": "build",
|
||||||
"devMain": "http://localhost:5173",
|
"devMain": "http://localhost:5173",
|
||||||
"name": "Sveltekit Template Home Page",
|
"name": "Sveltekit Template Home Page",
|
||||||
"cmds": []
|
"cmds": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"main": "about",
|
"main": "about",
|
||||||
"dist": "build",
|
"dist": "build",
|
||||||
"devMain": "http://localhost:5173/about",
|
"devMain": "http://localhost:5173/about",
|
||||||
"name": "Sveltekit Template About Page",
|
"name": "Sveltekit Template About Page",
|
||||||
"cmds": []
|
"cmds": []
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"templateUiCmds": []
|
"templateUiCmds": []
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite dev",
|
"dev": "vite dev",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
||||||
"lint": "prettier --check . && eslint .",
|
"lint": "prettier --check . && eslint .",
|
||||||
"format": "prettier --write ."
|
"format": "prettier --write ."
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@kksh/api": "^0.0.48",
|
"@kksh/api": "^0.0.48",
|
||||||
"@kksh/svelte5": "0.1.10",
|
"@kksh/svelte5": "0.1.10",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"lucide-svelte": "^0.460.1",
|
"lucide-svelte": "^0.460.1",
|
||||||
"mode-watcher": "^0.5.0",
|
"mode-watcher": "^0.5.0",
|
||||||
"tailwind-merge": "^2.5.4",
|
"tailwind-merge": "^2.5.4",
|
||||||
"tailwind-variants": "^0.3.0"
|
"tailwind-variants": "^0.3.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@sveltejs/adapter-auto": "^3.3.1",
|
"@sveltejs/adapter-auto": "^3.3.1",
|
||||||
"@sveltejs/kit": "^2.8.1",
|
"@sveltejs/kit": "^2.8.1",
|
||||||
"@sveltejs/vite-plugin-svelte": "^4.0.1",
|
"@sveltejs/vite-plugin-svelte": "^4.0.1",
|
||||||
"svelte": "^5.2.7",
|
"svelte": "^5.2.7",
|
||||||
"svelte-check": "^4.0.9",
|
"svelte-check": "^4.0.9",
|
||||||
"typescript": "^5.6.3",
|
"typescript": "^5.6.3",
|
||||||
"vite": "^5.4.11",
|
"vite": "^5.4.11",
|
||||||
"@sveltejs/adapter-static": "^3.0.6",
|
"@sveltejs/adapter-static": "^3.0.6",
|
||||||
"@tailwindcss/typography": "^0.5.15",
|
"@tailwindcss/typography": "^0.5.15",
|
||||||
"@types/eslint": "^9.6.1",
|
"@types/eslint": "^9.6.1",
|
||||||
"autoprefixer": "^10.4.20",
|
"autoprefixer": "^10.4.20",
|
||||||
"eslint": "^9.15.0",
|
"eslint": "^9.15.0",
|
||||||
"eslint-config-prettier": "^9.1.0",
|
"eslint-config-prettier": "^9.1.0",
|
||||||
"eslint-plugin-svelte": "^2.46.0",
|
"eslint-plugin-svelte": "^2.46.0",
|
||||||
"globals": "^15.12.0",
|
"globals": "^15.12.0",
|
||||||
"postcss": "^8.4.49",
|
"postcss": "^8.4.49",
|
||||||
"prettier": "^3.3.3",
|
"prettier": "^3.3.3",
|
||||||
"prettier-plugin-svelte": "^3.2.8",
|
"prettier-plugin-svelte": "^3.2.8",
|
||||||
"prettier-plugin-tailwindcss": "^0.6.9",
|
"prettier-plugin-tailwindcss": "^0.6.9",
|
||||||
"tailwindcss": "^3.4.15",
|
"tailwindcss": "^3.4.15",
|
||||||
"typescript-eslint": "^8.15.0"
|
"typescript-eslint": "^8.15.0"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"files": [
|
"files": [
|
||||||
"build",
|
"build",
|
||||||
".gitignore"
|
".gitignore"
|
||||||
],
|
],
|
||||||
"packageManager": "pnpm@9.15.3+sha512.1f79bc245a66eb0b07c5d4d83131240774642caaa86ef7d0434ab47c0d16f66b04e21e0c086eb61e62c77efc4d7f7ec071afad3796af64892fae66509173893a"
|
"packageManager": "pnpm@9.15.3+sha512.1f79bc245a66eb0b07c5d4d83131240774642caaa86ef7d0434ab47c0d16f66b04e21e0c086eb61e62c77efc4d7f7ec071afad3796af64892fae66509173893a"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user