feat(ts) introduce TypeScript

This is the stepping stone for TypeScript support across Jitsi Meet. Currently
it makes it possible for lib-jitsi-meet to use TypeScript without adding any TS
code here yet.
This commit is contained in:
Saúl Ibarra Corretgé 2021-10-07 21:11:02 +02:00 committed by Saúl Ibarra Corretgé
parent bc4553bdc0
commit d5f0e3c062
3 changed files with 31 additions and 10 deletions

View File

@ -62,9 +62,9 @@ deploy-appbundle:
deploy-lib-jitsi-meet: deploy-lib-jitsi-meet:
cp \ cp \
$(LIBJITSIMEET_DIR)/lib-jitsi-meet.min.js \ $(LIBJITSIMEET_DIR)/dist/umd/lib-jitsi-meet.min.js \
$(LIBJITSIMEET_DIR)/lib-jitsi-meet.min.map \ $(LIBJITSIMEET_DIR)/dist/umd/lib-jitsi-meet.min.map \
$(LIBJITSIMEET_DIR)/lib-jitsi-meet.e2ee-worker.js \ $(LIBJITSIMEET_DIR)/dist/umd/lib-jitsi-meet.e2ee-worker.js \
$(LIBJITSIMEET_DIR)/connection_optimization/external_connect.js \ $(LIBJITSIMEET_DIR)/connection_optimization/external_connect.js \
$(LIBJITSIMEET_DIR)/modules/browser/capabilities.json \ $(LIBJITSIMEET_DIR)/modules/browser/capabilities.json \
$(DEPLOY_DIR) $(DEPLOY_DIR)

32
package-lock.json generated
View File

@ -67,7 +67,7 @@
"jquery-i18next": "1.2.1", "jquery-i18next": "1.2.1",
"js-md5": "0.6.1", "js-md5": "0.6.1",
"jwt-decode": "2.2.0", "jwt-decode": "2.2.0",
"lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#4baeb98964c6656b4ddb3fd5d355a9ddfa03fe74", "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#e6779627b712db1be3489aa75695a03f9aa4b0be",
"libflacjs": "github:mmig/libflac.js#93d37e7f811f01cf7d8b6a603e38bd3c3810907d", "libflacjs": "github:mmig/libflac.js#93d37e7f811f01cf7d8b6a603e38bd3c3810907d",
"lodash": "4.17.21", "lodash": "4.17.21",
"moment": "2.29.1", "moment": "2.29.1",
@ -155,6 +155,7 @@
"string-replace-loader": "3.0.3", "string-replace-loader": "3.0.3",
"style-loader": "0.19.0", "style-loader": "0.19.0",
"traverse": "0.6.6", "traverse": "0.6.6",
"typescript": "4.3.5",
"unorm": "1.6.0", "unorm": "1.6.0",
"webpack": "5.57.1", "webpack": "5.57.1",
"webpack-bundle-analyzer": "4.4.2", "webpack-bundle-analyzer": "4.4.2",
@ -12010,8 +12011,8 @@
}, },
"node_modules/lib-jitsi-meet": { "node_modules/lib-jitsi-meet": {
"version": "0.0.0", "version": "0.0.0",
"resolved": "git+ssh://git@github.com/jitsi/lib-jitsi-meet.git#4baeb98964c6656b4ddb3fd5d355a9ddfa03fe74", "resolved": "git+ssh://git@github.com/jitsi/lib-jitsi-meet.git#e6779627b712db1be3489aa75695a03f9aa4b0be",
"integrity": "sha512-iabilMXCe7l32EWEiMzFky2MVLbgQ8a9hUFIdy2EntzHSsTq52dxOWn/CO9UexeWEZfUHgngyjX2JGM0CC1k5g==", "integrity": "sha512-ux4CbEx0ikDtGn8sK0Q4ufUYDzwTGLJ0ak1byVRRsF7X4dQvJHBm56II6ud+2oiIJn3H1wmGks917Q83pxu8sw==",
"hasInstallScript": true, "hasInstallScript": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
@ -18243,6 +18244,19 @@
"node": ">= 0.6" "node": ">= 0.6"
} }
}, },
"node_modules/typescript": {
"version": "4.3.5",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz",
"integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==",
"dev": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=4.2.0"
}
},
"node_modules/ua-parser-js": { "node_modules/ua-parser-js": {
"version": "0.7.31", "version": "0.7.31",
"resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.31.tgz", "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.31.tgz",
@ -29140,9 +29154,9 @@
} }
}, },
"lib-jitsi-meet": { "lib-jitsi-meet": {
"version": "git+ssh://git@github.com/jitsi/lib-jitsi-meet.git#4baeb98964c6656b4ddb3fd5d355a9ddfa03fe74", "version": "git+ssh://git@github.com/jitsi/lib-jitsi-meet.git#e6779627b712db1be3489aa75695a03f9aa4b0be",
"integrity": "sha512-iabilMXCe7l32EWEiMzFky2MVLbgQ8a9hUFIdy2EntzHSsTq52dxOWn/CO9UexeWEZfUHgngyjX2JGM0CC1k5g==", "integrity": "sha512-ux4CbEx0ikDtGn8sK0Q4ufUYDzwTGLJ0ak1byVRRsF7X4dQvJHBm56II6ud+2oiIJn3H1wmGks917Q83pxu8sw==",
"from": "lib-jitsi-meet@github:jitsi/lib-jitsi-meet#4baeb98964c6656b4ddb3fd5d355a9ddfa03fe74", "from": "lib-jitsi-meet@github:jitsi/lib-jitsi-meet#e6779627b712db1be3489aa75695a03f9aa4b0be",
"requires": { "requires": {
"@jitsi/js-utils": "2.0.0", "@jitsi/js-utils": "2.0.0",
"@jitsi/logger": "2.0.0", "@jitsi/logger": "2.0.0",
@ -33895,6 +33909,12 @@
"mime-types": "~2.1.24" "mime-types": "~2.1.24"
} }
}, },
"typescript": {
"version": "4.3.5",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz",
"integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==",
"dev": true
},
"ua-parser-js": { "ua-parser-js": {
"version": "0.7.31", "version": "0.7.31",
"resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.31.tgz", "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.31.tgz",

View File

@ -72,7 +72,7 @@
"jquery-i18next": "1.2.1", "jquery-i18next": "1.2.1",
"js-md5": "0.6.1", "js-md5": "0.6.1",
"jwt-decode": "2.2.0", "jwt-decode": "2.2.0",
"lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#4baeb98964c6656b4ddb3fd5d355a9ddfa03fe74", "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#e6779627b712db1be3489aa75695a03f9aa4b0be",
"libflacjs": "github:mmig/libflac.js#93d37e7f811f01cf7d8b6a603e38bd3c3810907d", "libflacjs": "github:mmig/libflac.js#93d37e7f811f01cf7d8b6a603e38bd3c3810907d",
"lodash": "4.17.21", "lodash": "4.17.21",
"moment": "2.29.1", "moment": "2.29.1",
@ -160,6 +160,7 @@
"string-replace-loader": "3.0.3", "string-replace-loader": "3.0.3",
"style-loader": "0.19.0", "style-loader": "0.19.0",
"traverse": "0.6.6", "traverse": "0.6.6",
"typescript": "4.3.5",
"unorm": "1.6.0", "unorm": "1.6.0",
"webpack": "5.57.1", "webpack": "5.57.1",
"webpack-bundle-analyzer": "4.4.2", "webpack-bundle-analyzer": "4.4.2",