Skip to content

Commit

Permalink
fix!: package exports (#16)
Browse files Browse the repository at this point in the history
* fix!: package exports

* docs: add release notes

---------

Co-authored-by: Richard Herman <[email protected]>
  • Loading branch information
GeekyEggo and GeekyEggo authored Nov 5, 2024
1 parent 4ba9f54 commit 9791801
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@

# Change Log

## 0.4.0

### 🐞 Fix

- Fix package exports.

## 0.3.9

### ♻️ Changed
Expand Down
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,20 @@
"name": "@elgato/schemas",
"version": "0.3.9",
"description": "Collection of schemas, and TypeScript declarations, to support the creation and validation of Stream Deck SDK files",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"default": "./dist/index.js",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./streamdeck/plugins": {
"default": "./dist/streamdeck/plugins/index.js",
"import": "./dist/streamdeck/plugins/index.mjs",
"require": "./dist/streamdeck/plugins/index.cjs",
"types": "./dist/streamdeck/plugins/index.d.ts"
},
"./streamdeck/plugins/json": {
"default": "./dist/streamdeck/plugins/json.js",
"import": "./dist/streamdeck/plugins/json.mjs",
"require": "./dist/streamdeck/plugins/json.cjs",
"types": "./dist/streamdeck/plugins/json.d.ts"
},
"./streamdeck/plugins/layout.json": {
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function getConfig(input: string): RollupOptions[] {
input,
output: [
{
file: `${pathWithoutExtension}.js`,
file: `${pathWithoutExtension}.cjs`,
format: "cjs",
banner
},
Expand Down

0 comments on commit 9791801

Please sign in to comment.