From 2f8549d1e52c22c7e6f5ebb4efe53bc4fcd3d963 Mon Sep 17 00:00:00 2001 From: Murage Date: Fri, 12 May 2023 21:18:36 +0300 Subject: [PATCH 1/4] docs: update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4c3c247e..3c3e8397 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# H5P Standalone Player 3.x [![CircleCI](https://circleci.com/gh/tunapanda/h5p-standalone.svg?style=svg)](https://circleci.com/gh/tunapanda/h5p-standalone) +# H5P Standalone Player ![GitHub release (latest by date)](https://img.shields.io/github/v/release/tunapanda/h5p-standalone?color=00a928&display_name=tag&label=Latest&style=flat-square) ![Release](https://github.com/tunapanda/h5p-standalone/actions/workflows/release.yml/badge.svg) Display H5P content without the need for an H5P server ## Installation From 0b39636e6a8e41fcddcefe7f299beab8e62218cd Mon Sep 17 00:00:00 2001 From: Murage Date: Fri, 12 May 2023 21:20:33 +0300 Subject: [PATCH 2/4] feat: sample jsdocs --- src/h5p.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/h5p.d.ts b/src/h5p.d.ts index ab54b1e6..7d8f3067 100644 --- a/src/h5p.d.ts +++ b/src/h5p.d.ts @@ -47,6 +47,9 @@ export interface H5PIntegration { contents: { [key: `cid-${string}`]: H5PContent } } +/** + * User interface + */ export interface User { name: string; mail: string; //unique user email From f2d2771364ffcf076f20ea209888830e5aa70f4c Mon Sep 17 00:00:00 2001 From: Murage Date: Fri, 12 May 2023 21:22:23 +0300 Subject: [PATCH 3/4] feat: sample jsdocs --- src/h5p.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/h5p.d.ts b/src/h5p.d.ts index 7d8f3067..44132d70 100644 --- a/src/h5p.d.ts +++ b/src/h5p.d.ts @@ -49,6 +49,7 @@ export interface H5PIntegration { /** * User interface + * */ export interface User { name: string; @@ -57,6 +58,9 @@ export interface User { canToggleViewOthersH5PContents?: 0 | 1; } +/** + * H5P content types + */ export interface H5PContent { title: string; //content title url: string; //content URI (absolute + canonical) used to generate xAPI statement.object.id From 4e69712f7f2e861cfd789e8889433ba132ca9d6b Mon Sep 17 00:00:00 2001 From: Murage Date: Fri, 12 May 2023 21:24:08 +0300 Subject: [PATCH 4/4] feat: disable npm release --- .github/workflows/release.yml | 1 - .releaserc.json | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 610444f4..b3ba4e21 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,6 @@ jobs: uses: cycjimmy/semantic-release-action@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} with: extra_plugins: | @semantic-release/changelog diff --git a/.releaserc.json b/.releaserc.json index c5c3b1d6..521bcf36 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -18,7 +18,6 @@ "message": "chore(release): ${nextRelease.version} [skip ci]" } ], - "@semantic-release/npm", [ "@semantic-release/github", {