From 393d1df94b814fcbc76ccd951866734b6ce8672d Mon Sep 17 00:00:00 2001 From: xpadev Date: Mon, 2 Oct 2023 12:26:38 +0900 Subject: [PATCH 1/5] fix: workflow --- .github/workflows/publish-package.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index a0369c72..fe71b3ad 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -17,7 +17,11 @@ jobs: registry-url: https://registry.npmjs.org always-auth: true scope: '@xpadev-net' + - name: Install dependencies + run: | + npm -g install pnpm + pnpm install - name: Publish package - run: npm publish + run: pnpm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file From edec5fa1adbcfe2de1c88828537235a9367c9291 Mon Sep 17 00:00:00 2001 From: xpadev Date: Mon, 2 Oct 2023 12:28:18 +0900 Subject: [PATCH 2/5] fix: add workflow_dispatch to publish workflow --- .github/workflows/publish-package.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index fe71b3ad..a60dc6de 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -3,6 +3,7 @@ name: publish package on: release: types: [published] + workflow_dispatch: jobs: release: From 73de5c83c60da65f84bf7cd781f43256c9d21d42 Mon Sep 17 00:00:00 2001 From: xpadev Date: Mon, 2 Oct 2023 12:29:39 +0900 Subject: [PATCH 3/5] fix: workflow --- .github/workflows/publish-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index a60dc6de..7ae4b5dc 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -23,6 +23,6 @@ jobs: npm -g install pnpm pnpm install - name: Publish package - run: pnpm publish + run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file From 0294a0d88dc6a50aaf4b6cab4394195a75a259af Mon Sep 17 00:00:00 2001 From: xpadev Date: Mon, 2 Oct 2023 12:58:13 +0900 Subject: [PATCH 4/5] fix: type definition --- src/@types/types.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/@types/types.d.ts b/src/@types/types.d.ts index 0a9f46e2..9bde3a62 100755 --- a/src/@types/types.d.ts +++ b/src/@types/types.d.ts @@ -28,6 +28,7 @@ export type FormattedCommentWithFont = { flash: boolean; lineCount: number; lineOffset: number; + is_my_post: boolean; button?: ButtonParams; }; export type FormattedCommentWithSize = FormattedCommentWithFont & { From f318902c92bb7b4e4e379d0e0ae0ad75d360cd0f Mon Sep 17 00:00:00 2001 From: xpadev Date: Mon, 2 Oct 2023 12:58:39 +0900 Subject: [PATCH 5/5] release: v0.2.58 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9075d931..f73522ee 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@xpadev-net/niconicomments", - "version": "0.2.57", + "version": "0.2.58", "description": "NiconiComments is a comment drawing library that is somewhat compatible with the official Nico Nico Douga player.", "main": "dist/bundle.js", "types": "dist/bundle.d.ts",