Skip to content

Commit 2cce218

Browse files
committed
fix(TS) Include the type declaration files.
1 parent 7410a9a commit 2cce218

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
export * from './avatar/index.js';
22
export * from './browser-detection/index.js';
33
export * from './jitsi-local-storage/index.js';
4+
export * from './json.ts';

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jitsi/js-utils",
3-
"version": "2.4.0",
3+
"version": "2.4.1",
44
"description": "Utilities for Jitsi JS projects",
55
"repository": {
66
"type": "git",
@@ -28,7 +28,8 @@
2828
},
2929
"scripts": {
3030
"lint": "eslint .",
31-
"build": "tsc --project tsconfig.json"
31+
"build": "tsc --project tsconfig.json",
32+
"prepack": "npm run build"
3233
},
3334
"pre-commit": [
3435
"lint",
@@ -37,7 +38,14 @@
3738
"type": "module",
3839
"main": "./index.js",
3940
"files": [
40-
"dist/index.d.ts"
41+
"index.js",
42+
"avatar/",
43+
"browser-detection/",
44+
"dist/",
45+
"jitsi-local-storage/",
46+
"random/",
47+
"transport/",
48+
"uri/"
4149
],
4250
"license": "Apache-2.0"
4351
}

0 commit comments

Comments
 (0)