Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/angry-regions-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@midival/core": minor
---

- Added sysex support! Now you can pass extra options to connect function
- Added generic `message` event to MIDIValInput to subscribe when you want to process messages raw
- fix: removed console log for unrecognised messages - now you can handle them with `message` event
- Added explicit MIT Licence to the repository
16 changes: 8 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: pnpm/action-setup@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8
version: 10
- uses: actions/setup-node@v4
with:
node-version: 21.x
node-version: 22.x
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- name: Compile
Expand All @@ -32,13 +32,13 @@ jobs:
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
steps:
- uses: actions/checkout@v1
- uses: pnpm/action-setup@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8
version: 10
- uses: actions/setup-node@v4
with:
node-version: 21.x
node-version: 22.x
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- name: Download artifacts
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8
version: 10
- uses: actions/setup-node@v4
with:
node-version: 21.x
node-version: 22.x
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- name: Create Release Pull Request or Publish
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,26 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: pnpm/action-setup@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8
version: 10
- uses: actions/setup-node@v4
with:
node-version: 21.x
node-version: 22.x
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm test
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: pnpm/action-setup@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8
version: 10
- uses: actions/setup-node@v4
with:
node-version: 21.x
node-version: 22.x
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- name: Compile
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2025 Kacper Kula

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
33 changes: 21 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@midival/core",
"version": "0.1.7",
"version": "0.1.8",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.mjs",
Expand All @@ -9,19 +9,28 @@
".": "./dist/index.js",
"./mpe": "./dist/mpe.js"
},
"homepage": "https://midival.github.io",
"repository": {
"type": "git",
"url": "git@github.com:midival/core.git"
},
"author": {
"name": "Kacper Kula",
"url": "https://hypersphere.blog"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.25",
"@types/webmidi": "^2.0.10",
"gh-pages": "^6.1.1",
"@changesets/cli": "^2.29.2",
"@types/jest": "^29.5.14",
"@types/node": "^22.15.3",
"gh-pages": "^6.3.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"tsup": "^8.0.2",
"typedoc": "^0.25.11",
"typescript": "^5.4.2"
"prettier": "^3.5.3",
"ts-jest": "^29.3.2",
"tsup": "^8.4.0",
"typedoc": "^0.28.3",
"typescript": "^5.8.3",
"@types/webmidi": "^2.1.0"
},
"scripts": {
"build": "tsup src/index.ts src/mpe.ts --format cjs,esm --dts",
Expand All @@ -39,4 +48,4 @@
"publishConfig": {
"access": "public"
}
}
}
Loading