From 65e1c7bb1a0a63ca9b0b5afcf0624cf9a8201fe5 Mon Sep 17 00:00:00 2001 From: Kacper Kula Date: Sat, 20 May 2023 22:54:09 +0100 Subject: [PATCH] feat: Updating exports to allow for @midival/core/mpe path (#19) --- README.md | 4 ++++ package.json | 6 +++++- typedoc.json | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6437591..42c8cbb 100644 --- a/README.md +++ b/README.md @@ -214,3 +214,7 @@ input.disconnect(); For changelog see [CHANGELOG.md](./CHANGELOG.md). For migration guide see [MIGRATION.md](./MIGRATION.md). + +# Community + +[Join our Discord Community](https://discord.com/invite/WGgTCcEV) to ask questions or discuss all MIDI related topics! \ No newline at end of file diff --git a/package.json b/package.json index 4fb7cf7..cbead07 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,13 @@ { "name": "@midival/core", - "version": "0.1.0", + "version": "0.1.1", "main": "dist/index.js", "types": "dist/index.d.ts", "license": "MIT", + "exports": { + ".": "./dist/index.js", + "./mpe": "./dist/mpe.js" + }, "devDependencies": { "@types/jest": "^29.5.1", "@types/node": "^20.2.1", diff --git a/typedoc.json b/typedoc.json index 253534a..b0f7541 100644 --- a/typedoc.json +++ b/typedoc.json @@ -1,5 +1,5 @@ { - "entryPoints": ["src/index.ts"], + "entryPoints": ["src/index.ts", "src/mpe.ts"], "out": "docs", "excludePrivate": true, "compilerOptions": {