From 53c9a60ab4b577c751809b37f475d7079dad5278 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Sun, 1 Jan 2023 16:12:57 -0800 Subject: [PATCH] plugins: update tsconfig.json --- plugins/alexa/tsconfig.json | 4 +++- plugins/amcrest/tsconfig.json | 6 ++++-- plugins/arlo/package.json | 3 +-- plugins/arlo/tsconfig.json | 6 ++++-- plugins/bticino/tsconfig.json | 4 +++- plugins/chromecast/tsconfig.json | 6 ++++-- plugins/cloud/tsconfig.json | 4 +++- plugins/core/tsconfig.json | 4 +++- plugins/dummy-switch/tsconfig.json | 6 ++++-- plugins/ffmpeg-camera/tsconfig.json | 4 +++- plugins/google-cloud-tts/tsconfig.json | 6 ++++-- plugins/google-device-access/tsconfig.json | 6 ++++-- plugins/google-home/tsconfig.json | 6 ++++-- plugins/gstreamer-camera/tsconfig.json | 6 ++++-- plugins/hikvision/tsconfig.json | 6 ++++-- plugins/homekit/tsconfig.json | 4 +++- plugins/hue/tsconfig.json | 6 ++++-- plugins/lifx/tsconfig.json | 6 ++++-- plugins/mqtt/tsconfig.json | 8 +++++--- plugins/myq/tsconfig.json | 6 ++++-- plugins/neato/tsconfig.json | 6 ++++-- plugins/notifier-mixin/tsconfig.json | 6 ++++-- plugins/objectdetector/tsconfig.json | 7 ++++--- plugins/onvif/tsconfig.json | 6 ++++-- plugins/opencv/tsconfig.json | 6 ++++-- plugins/owntracks/tsconfig.json | 6 ++++-- plugins/pam-diff/tsconfig.json | 6 ++++-- plugins/prebuffer-mixin/tsconfig.json | 4 +++- plugins/pushover/tsconfig.json | 6 ++++-- plugins/reolink/tsconfig.json | 6 ++++-- plugins/ring/tsconfig.json | 1 + plugins/roborock/tsconfig.json | 6 ++++-- plugins/rtsp/tsconfig.json | 6 ++++-- plugins/sip/tsconfig.json | 4 +++- plugins/smtp/tsconfig.json | 4 +++- plugins/snapshot/tsconfig.json | 4 +++- plugins/synology-ss/tsconfig.json | 6 ++++-- plugins/tensorflow-lite/tsconfig.json | 6 ++++-- plugins/tensorflow/tsconfig.json | 6 ++++-- plugins/thermostat/tsconfig.json | 6 ++++-- plugins/tuya/tsconfig.json | 6 ++++-- plugins/twilio/tsconfig.json | 6 ++++-- plugins/unifi-protect/tsconfig.json | 6 ++++-- plugins/vscode-python/tsconfig.json | 6 ++++-- plugins/vscode-typescript | 2 +- plugins/webhook/tsconfig.json | 6 ++++-- plugins/webrtc/tsconfig.json | 3 ++- plugins/zwave/tsconfig.json | 6 ++++-- sdk/package-lock.json | 4 ++-- sdk/package.json | 2 +- sdk/types/package-lock.json | 4 ++-- sdk/types/package.json | 2 +- 52 files changed, 178 insertions(+), 90 deletions(-) diff --git a/plugins/alexa/tsconfig.json b/plugins/alexa/tsconfig.json index 313395348..34a847ad8 100644 --- a/plugins/alexa/tsconfig.json +++ b/plugins/alexa/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, "moduleResolution": "Node16", - "target": "ES2016", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/amcrest/tsconfig.json b/plugins/amcrest/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/amcrest/tsconfig.json +++ b/plugins/amcrest/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/arlo/package.json b/plugins/arlo/package.json index 63b1905df..93413c83b 100644 --- a/plugins/arlo/package.json +++ b/plugins/arlo/package.json @@ -19,8 +19,7 @@ "scrypted-debug": "scrypted-debug", "scrypted-deploy": "scrypted-deploy", "scrypted-readme": "scrypted-readme", - "scrypted-package-json": "scrypted-package-json", - "scrypted-webpack": "scrypted-webpack" + "scrypted-package-json": "scrypted-package-json" }, "scrypted": { "name": "Arlo Camera Plugin", diff --git a/plugins/arlo/tsconfig.json b/plugins/arlo/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/arlo/tsconfig.json +++ b/plugins/arlo/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/bticino/tsconfig.json b/plugins/bticino/tsconfig.json index 0dca70a7c..34a847ad8 100644 --- a/plugins/bticino/tsconfig.json +++ b/plugins/bticino/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, "moduleResolution": "Node16", - "target": "esnext", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/chromecast/tsconfig.json b/plugins/chromecast/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/chromecast/tsconfig.json +++ b/plugins/chromecast/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/cloud/tsconfig.json b/plugins/cloud/tsconfig.json index 0dca70a7c..34a847ad8 100644 --- a/plugins/cloud/tsconfig.json +++ b/plugins/cloud/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, "moduleResolution": "Node16", - "target": "esnext", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/core/tsconfig.json b/plugins/core/tsconfig.json index 0dca70a7c..34a847ad8 100644 --- a/plugins/core/tsconfig.json +++ b/plugins/core/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, "moduleResolution": "Node16", - "target": "esnext", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/dummy-switch/tsconfig.json b/plugins/dummy-switch/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/dummy-switch/tsconfig.json +++ b/plugins/dummy-switch/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/ffmpeg-camera/tsconfig.json b/plugins/ffmpeg-camera/tsconfig.json index 0dca70a7c..34a847ad8 100644 --- a/plugins/ffmpeg-camera/tsconfig.json +++ b/plugins/ffmpeg-camera/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, "moduleResolution": "Node16", - "target": "esnext", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/google-cloud-tts/tsconfig.json b/plugins/google-cloud-tts/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/google-cloud-tts/tsconfig.json +++ b/plugins/google-cloud-tts/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/google-device-access/tsconfig.json b/plugins/google-device-access/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/google-device-access/tsconfig.json +++ b/plugins/google-device-access/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/google-home/tsconfig.json b/plugins/google-home/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/google-home/tsconfig.json +++ b/plugins/google-home/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/gstreamer-camera/tsconfig.json b/plugins/gstreamer-camera/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/gstreamer-camera/tsconfig.json +++ b/plugins/gstreamer-camera/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/hikvision/tsconfig.json b/plugins/hikvision/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/hikvision/tsconfig.json +++ b/plugins/hikvision/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/homekit/tsconfig.json b/plugins/homekit/tsconfig.json index 0dca70a7c..34a847ad8 100644 --- a/plugins/homekit/tsconfig.json +++ b/plugins/homekit/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, "moduleResolution": "Node16", - "target": "esnext", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/hue/tsconfig.json b/plugins/hue/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/hue/tsconfig.json +++ b/plugins/hue/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/lifx/tsconfig.json b/plugins/lifx/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/lifx/tsconfig.json +++ b/plugins/lifx/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/mqtt/tsconfig.json b/plugins/mqtt/tsconfig.json index 558f7cec0..34a847ad8 100644 --- a/plugins/mqtt/tsconfig.json +++ b/plugins/mqtt/tsconfig.json @@ -1,11 +1,13 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" -, "fs/examples" ] + ] } \ No newline at end of file diff --git a/plugins/myq/tsconfig.json b/plugins/myq/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/myq/tsconfig.json +++ b/plugins/myq/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/neato/tsconfig.json b/plugins/neato/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/neato/tsconfig.json +++ b/plugins/neato/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/notifier-mixin/tsconfig.json b/plugins/notifier-mixin/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/notifier-mixin/tsconfig.json +++ b/plugins/notifier-mixin/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/objectdetector/tsconfig.json b/plugins/objectdetector/tsconfig.json index 95d055a5c..34a847ad8 100644 --- a/plugins/objectdetector/tsconfig.json +++ b/plugins/objectdetector/tsconfig.json @@ -1,10 +1,11 @@ { "compilerOptions": { - "sourceMap": true, + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/onvif/tsconfig.json b/plugins/onvif/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/onvif/tsconfig.json +++ b/plugins/onvif/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/opencv/tsconfig.json b/plugins/opencv/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/opencv/tsconfig.json +++ b/plugins/opencv/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/owntracks/tsconfig.json b/plugins/owntracks/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/owntracks/tsconfig.json +++ b/plugins/owntracks/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/pam-diff/tsconfig.json b/plugins/pam-diff/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/pam-diff/tsconfig.json +++ b/plugins/pam-diff/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/prebuffer-mixin/tsconfig.json b/plugins/prebuffer-mixin/tsconfig.json index 0dca70a7c..34a847ad8 100644 --- a/plugins/prebuffer-mixin/tsconfig.json +++ b/plugins/prebuffer-mixin/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, "moduleResolution": "Node16", - "target": "esnext", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/pushover/tsconfig.json b/plugins/pushover/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/pushover/tsconfig.json +++ b/plugins/pushover/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/reolink/tsconfig.json b/plugins/reolink/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/reolink/tsconfig.json +++ b/plugins/reolink/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/ring/tsconfig.json b/plugins/ring/tsconfig.json index 53cbd0f18..34a847ad8 100644 --- a/plugins/ring/tsconfig.json +++ b/plugins/ring/tsconfig.json @@ -5,6 +5,7 @@ "resolveJsonModule": true, "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/roborock/tsconfig.json b/plugins/roborock/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/roborock/tsconfig.json +++ b/plugins/roborock/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/rtsp/tsconfig.json b/plugins/rtsp/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/rtsp/tsconfig.json +++ b/plugins/rtsp/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/sip/tsconfig.json b/plugins/sip/tsconfig.json index 0dca70a7c..34a847ad8 100644 --- a/plugins/sip/tsconfig.json +++ b/plugins/sip/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, "moduleResolution": "Node16", - "target": "esnext", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/smtp/tsconfig.json b/plugins/smtp/tsconfig.json index 0dca70a7c..34a847ad8 100644 --- a/plugins/smtp/tsconfig.json +++ b/plugins/smtp/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, "moduleResolution": "Node16", - "target": "esnext", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/snapshot/tsconfig.json b/plugins/snapshot/tsconfig.json index 692e63025..34a847ad8 100644 --- a/plugins/snapshot/tsconfig.json +++ b/plugins/snapshot/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, "moduleResolution": "Node16", - "target": "ESNext", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/synology-ss/tsconfig.json b/plugins/synology-ss/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/synology-ss/tsconfig.json +++ b/plugins/synology-ss/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/tensorflow-lite/tsconfig.json b/plugins/tensorflow-lite/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/tensorflow-lite/tsconfig.json +++ b/plugins/tensorflow-lite/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/tensorflow/tsconfig.json b/plugins/tensorflow/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/tensorflow/tsconfig.json +++ b/plugins/tensorflow/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/thermostat/tsconfig.json b/plugins/thermostat/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/thermostat/tsconfig.json +++ b/plugins/thermostat/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/tuya/tsconfig.json b/plugins/tuya/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/tuya/tsconfig.json +++ b/plugins/tuya/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/twilio/tsconfig.json b/plugins/twilio/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/twilio/tsconfig.json +++ b/plugins/twilio/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/unifi-protect/tsconfig.json b/plugins/unifi-protect/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/unifi-protect/tsconfig.json +++ b/plugins/unifi-protect/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/vscode-python/tsconfig.json b/plugins/vscode-python/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/vscode-python/tsconfig.json +++ b/plugins/vscode-python/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/vscode-typescript b/plugins/vscode-typescript index abd317d5f..fffd19236 160000 --- a/plugins/vscode-typescript +++ b/plugins/vscode-typescript @@ -1 +1 @@ -Subproject commit abd317d5fe0b629c044b76ffa408c49c0cb4cd42 +Subproject commit fffd19236d8e4847bf47a75e12f0626196d68377 diff --git a/plugins/webhook/tsconfig.json b/plugins/webhook/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/webhook/tsconfig.json +++ b/plugins/webhook/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/webrtc/tsconfig.json b/plugins/webrtc/tsconfig.json index 1f4dfa4ae..34a847ad8 100644 --- a/plugins/webrtc/tsconfig.json +++ b/plugins/webrtc/tsconfig.json @@ -1,10 +1,11 @@ { "compilerOptions": { "module": "commonjs", - "target": "ESNext", + "target": "ES2021", "resolveJsonModule": true, "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/plugins/zwave/tsconfig.json b/plugins/zwave/tsconfig.json index 22d317309..34a847ad8 100644 --- a/plugins/zwave/tsconfig.json +++ b/plugins/zwave/tsconfig.json @@ -1,9 +1,11 @@ { "compilerOptions": { + "module": "commonjs", + "target": "ES2021", "resolveJsonModule": true, - "moduleResolution": "node", - "target": "esnext", + "moduleResolution": "Node16", "esModuleInterop": true, + "sourceMap": true }, "include": [ "src/**/*" diff --git a/sdk/package-lock.json b/sdk/package-lock.json index a22082ee3..17eb09282 100644 --- a/sdk/package-lock.json +++ b/sdk/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/sdk", - "version": "0.2.48", + "version": "0.2.49", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/sdk", - "version": "0.2.48", + "version": "0.2.49", "license": "ISC", "dependencies": { "@babel/preset-typescript": "^7.18.6", diff --git a/sdk/package.json b/sdk/package.json index 149e6aa0e..d27109041 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/sdk", - "version": "0.2.48", + "version": "0.2.49", "description": "", "main": "dist/src/index.js", "exports": { diff --git a/sdk/types/package-lock.json b/sdk/types/package-lock.json index 1296b78bf..881a7d7ea 100644 --- a/sdk/types/package-lock.json +++ b/sdk/types/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/types", - "version": "0.2.45", + "version": "0.2.46", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/types", - "version": "0.2.45", + "version": "0.2.46", "license": "ISC", "devDependencies": { "@types/rimraf": "^3.0.2", diff --git a/sdk/types/package.json b/sdk/types/package.json index e554af77f..87b284a8f 100644 --- a/sdk/types/package.json +++ b/sdk/types/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/types", - "version": "0.2.45", + "version": "0.2.46", "description": "", "main": "dist/index.js", "author": "",