Skip to content

Commit

Permalink
add index.js to files so it appears in built binary
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed Nov 8, 2021
1 parent 673b444 commit 8bf95db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/launcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "@packages/launcher",
"version": "0.0.0-development",
"private": true,
"main": "index",
"scripts": {
"build-prod": "tsc --project .",
"clean": "node scripts/clean.js || true",
Expand Down Expand Up @@ -34,6 +33,7 @@
"typescript": "^4.2.3"
},
"files": [
"index.js",
"lib"
],
"types": "index.ts"
Expand Down
3 changes: 2 additions & 1 deletion packages/launcher/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "./../ts/tsconfig.json",
"include": [
"**/*.ts"
"**/*.ts",
"./index.ts"
],
"files": [
"./../ts/index.d.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/socket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "@packages/socket",
"version": "0.0.0-development",
"private": true,
"main": "index",
"browser": "lib/browser.ts",
"scripts": {
"build-prod": "tsc",
Expand All @@ -25,6 +24,7 @@
"resolve-pkg": "2.0.0"
},
"files": [
"index.js",
"lib",
"patches"
],
Expand Down

0 comments on commit 8bf95db

Please sign in to comment.