From 4d1ca12fb293735eab0c92f67f61cae49ff3c725 Mon Sep 17 00:00:00 2001 From: Huakun Shen Date: Sat, 18 Jan 2025 04:56:06 -0500 Subject: [PATCH] chore: Bump version to 0.0.2 and update npm publish workflow --- .github/workflows/npm-publish.yml | 3 +++ jsr.json | 2 +- package.json | 5 +++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 048b272..b1dd625 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -4,6 +4,8 @@ name: NPM Package Publish on: + push: + branches: [main] release: types: [created] workflow_dispatch: @@ -17,6 +19,7 @@ jobs: - name: Test run: | bun install + bun run build bun test --coverage publish-npm: diff --git a/jsr.json b/jsr.json index 21f3d28..a087f14 100644 --- a/jsr.json +++ b/jsr.json @@ -1,6 +1,6 @@ { "name": "@kunkun/ext-ossinsight", - "version": "0.0.1", + "version": "0.0.2", "license": "MIT", "exports": "./mod.ts", "publish": { diff --git a/package.json b/package.json index 7db75de..5f040d5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,8 @@ { + "license": "MIT", "$schema": "https://schema.kunkun.sh", "name": "kunkun-ext-ossinsight", - "version": "0.0.1", + "version": "0.0.2", "type": "module", "repository": { "type": "git", @@ -57,7 +58,7 @@ }, "files": [ "demo-images", - "./dist", + "dist", ".gitignore" ] }