chore: Bump version to 0.0.2 and update npm publish workflow

This commit is contained in:
Huakun Shen 2025-01-18 04:56:06 -05:00
parent 274e1f097f
commit 4d1ca12fb2
No known key found for this signature in database
3 changed files with 7 additions and 3 deletions

View File

@ -4,6 +4,8 @@
name: NPM Package Publish name: NPM Package Publish
on: on:
push:
branches: [main]
release: release:
types: [created] types: [created]
workflow_dispatch: workflow_dispatch:
@ -17,6 +19,7 @@ jobs:
- name: Test - name: Test
run: | run: |
bun install bun install
bun run build
bun test --coverage bun test --coverage
publish-npm: publish-npm:

View File

@ -1,6 +1,6 @@
{ {
"name": "@kunkun/ext-ossinsight", "name": "@kunkun/ext-ossinsight",
"version": "0.0.1", "version": "0.0.2",
"license": "MIT", "license": "MIT",
"exports": "./mod.ts", "exports": "./mod.ts",
"publish": { "publish": {

View File

@ -1,7 +1,8 @@
{ {
"license": "MIT",
"$schema": "https://schema.kunkun.sh", "$schema": "https://schema.kunkun.sh",
"name": "kunkun-ext-ossinsight", "name": "kunkun-ext-ossinsight",
"version": "0.0.1", "version": "0.0.2",
"type": "module", "type": "module",
"repository": { "repository": {
"type": "git", "type": "git",
@ -57,7 +58,7 @@
}, },
"files": [ "files": [
"demo-images", "demo-images",
"./dist", "dist",
".gitignore" ".gitignore"
] ]
} }