Skip to content

Commit 5368e5c

Browse files
committed
fix: add files field to js package for npm publish
dist/ was excluded by .gitignore, causing published package to miss built output. Add "files": ["dist"] to override, matching wasm package.
1 parent 0b67bf7 commit 5368e5c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

js/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@satvisorcom/buttplug",
3-
"version": "4.1.0",
3+
"version": "4.1.1",
44
"description": "Buttplug Client Implementation for Typescript/Javascript",
55
"homepage": "https://github.com/satvisorcom/buttplug-js/",
66
"repository": {
@@ -21,6 +21,7 @@
2121
},
2222
"main": "./dist/main/src/index.js",
2323
"types": "./dist/main/src/index.d.ts",
24+
"files": ["dist"],
2425
"scripts": {
2526
"build": "trash dist dist-bundle && yarn build:all",
2627
"build:all": "yarn build:main && yarn build:web",

wasm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@satvisorcom/buttplug-wasm",
3-
"version": "4.1.0",
3+
"version": "4.1.1",
44
"description": "Buttplug WASM embedded server connector",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)