diff --git a/libs/media/package.json b/libs/media/package.json index 5c3d56d7b..fba866592 100644 --- a/libs/media/package.json +++ b/libs/media/package.json @@ -1,7 +1,20 @@ { "name": "@octra/media", + "description": "This library offers classes that describes data related to media (e.g. SampleUnit class that describes one point in time of type sample with conversions to other time units) used by [Octra](https://github.com/IPS-LMU/octra).\nIf you are looking for decoding and playback of audio files see @octra/web-media library.", "version": "0.0.12", - "dependencies": {}, + "license": "MIT", + "private": false, + "author": { + "name": "Julian Poemp" + }, + "bugs": { + "url": "https://github.com/IPS-LMU/octra/issues" + }, + "homepage": "https://github.com/IPS-LMU/octra", + "repository": { + "type": "git", + "url": "https://github.com/IPS-LMU/octra" + }, "type": "commonjs", "main": "./index.cjs", "typings": "./src/index.d.ts" diff --git a/libs/media/project.json b/libs/media/project.json index c10d899a9..de7fe25cb 100644 --- a/libs/media/project.json +++ b/libs/media/project.json @@ -51,7 +51,25 @@ "version": { "executor": "@jscutlery/semver:version", "options": { - "preset": "angular" + "preset": "angular", + "postTargets": ["media:github"], + "baseBranch": "main", + "releaseAs": "patch", + "commitMessageFormat": "build({projectName}): release version ${version}" + } + }, + "github": { + "executor": "@jscutlery/semver:github", + "options": { + "tag": "${tag}", + "notes": "${notes}" + } + }, + "npm": { + "executor": "ngx-deploy-npm:deploy", + "options": { + "access": "public", + "noBuild": true } } }, diff --git a/libs/media/src/README.md b/libs/media/src/README.md index 34bc610a6..90f425d78 100644 --- a/libs/media/src/README.md +++ b/libs/media/src/README.md @@ -1,4 +1,4 @@ -# media +# @octra/media npm This library offers classes that describes data related to media (e.g. SampleUnit class that describes one point in time of type sample with conversions to other time units) used by [Octra](https://github.com/IPS-LMU/octra). If you are looking for decoding and playback of audio files see @octra/web-media library. @@ -55,3 +55,7 @@ const validator = new OctraMedia.SampleUnit(123123, 22100); ### API You can find more information about classes and functions of `@octra/media` [here](https://ips-lmu.github.io/octra/modules/_octra_media.html). + +### Changelog + +[Go to changelog](https://github.com/IPS-LMU/octra/blob/main/libs/media/CHANGELOG.md) diff --git a/package.json b/package.json index 21632826f..8e5d88c4c 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,8 @@ "publish:lib:assets": "nx npm assets", "release:lib:json-sets": "nx bundle json-sets && nx run json-sets:version --push", "publish:lib:json-sets": "nx bundle json-sets && nx npm json-sets", + "release:lib:media": "nx bundle json-sets && nx run media:version --push", + "publish:lib:media": "nx bundle json-sets && nx npm media", "analyze:octra": "nx build --configuration production --stats-json && webpack-bundle-analyzer dist/apps/octra/stats.json", "lint": "nx workspace-lint && ng lint", "affected:apps": "nx affected:apps",