Skip to content

Commit

Permalink
Merge pull request #59 from xpadev-net/develop
Browse files Browse the repository at this point in the history
release: v0.2.58
  • Loading branch information
xpadev-net authored Oct 2, 2023
2 parents 0f9e2b8 + f318902 commit 7942a51
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: publish package
on:
release:
types: [published]
workflow_dispatch:

jobs:
release:
Expand All @@ -17,6 +18,10 @@ 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
env:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/@types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export type FormattedCommentWithFont = {
flash: boolean;
lineCount: number;
lineOffset: number;
is_my_post: boolean;
button?: ButtonParams;
};
export type FormattedCommentWithSize = FormattedCommentWithFont & {
Expand Down

0 comments on commit 7942a51

Please sign in to comment.