From 957ac13ae1a3684741c7c1e5a8591714de304b4b Mon Sep 17 00:00:00 2001 From: JonathanTGold Date: Tue, 23 Jan 2024 13:07:36 +0200 Subject: [PATCH 1/2] fix(FEC-13604): fix TypeScript mapping on IDEA --- analytics-service/package.json | 6 ++++++ bookmark-service/package.json | 6 ++++++ ott-provider/package.json | 6 ++++++ ovp-provider/package.json | 6 ++++++ package.json | 10 +++++----- playkit-analytics-service/package.json | 5 ----- playkit-bookmark-service/package.json | 5 ----- playkit-ott-provider/package.json | 5 ----- playkit-ovp-provider/package.json | 5 ----- playkit-stats-service/package.json | 5 ----- stats-service/package.json | 6 ++++++ 11 files changed, 35 insertions(+), 30 deletions(-) create mode 100644 analytics-service/package.json create mode 100644 bookmark-service/package.json create mode 100644 ott-provider/package.json create mode 100644 ovp-provider/package.json delete mode 100644 playkit-analytics-service/package.json delete mode 100644 playkit-bookmark-service/package.json delete mode 100644 playkit-ott-provider/package.json delete mode 100644 playkit-ovp-provider/package.json delete mode 100644 playkit-stats-service/package.json create mode 100644 stats-service/package.json diff --git a/analytics-service/package.json b/analytics-service/package.json new file mode 100644 index 00000000..47e879d8 --- /dev/null +++ b/analytics-service/package.json @@ -0,0 +1,6 @@ +{ + "name": "@playkit-js/playkit-js-providers/analytics-service", + "main": "../dist/playkit-analytics-service.js", + "types": "../dist/index.d.ts", + "sideEffects": false +} diff --git a/bookmark-service/package.json b/bookmark-service/package.json new file mode 100644 index 00000000..1562aa1a --- /dev/null +++ b/bookmark-service/package.json @@ -0,0 +1,6 @@ +{ + "name": "@playkit-js/playkit-js-providers/bookmark-service", + "main": "../dist/playkit-bookmark-service.js", + "types": "../dist/index.d.ts", + "sideEffects": false +} diff --git a/ott-provider/package.json b/ott-provider/package.json new file mode 100644 index 00000000..fcc8f123 --- /dev/null +++ b/ott-provider/package.json @@ -0,0 +1,6 @@ +{ + "name": "@playkit-js/playkit-js-providers/ott-provider", + "main": "../dist/playkit-ott-provider.js", + "types": "../dist/index.d.ts", + "sideEffects": false +} diff --git a/ovp-provider/package.json b/ovp-provider/package.json new file mode 100644 index 00000000..b6a825c8 --- /dev/null +++ b/ovp-provider/package.json @@ -0,0 +1,6 @@ +{ + "name": "@playkit-js/playkit-js-providers/ovp-provider", + "main": "../dist/playkit-ovp-provider.js", + "types": "../dist/index.d.ts", + "sideEffects": false +} diff --git a/package.json b/package.json index 4f8e5b06..d3fa24f4 100644 --- a/package.json +++ b/package.json @@ -14,11 +14,11 @@ "playkit-stats-service/*" ], "exports": { - "./playkit-ovp-provider": "./dist/playkit-ovp-provider.js", - "./playkit-ott-provider": "./dist/playkit-ott-provider.js", - "./playkit-analytics-service": "./dist/playkit-analytics-service.js", - "./playkit-stats-service": "./dist/playkit-stats-service.js", - "./playkit-bookmark-service": "./dist/playkit-bookmark-service.js" + "./ovp-provider": "./dist/playkit-ovp-provider.js", + "./ott-provider": "./dist/playkit-ott-provider.js", + "./analytics-service": "./dist/playkit-analytics-service.js", + "./stats-service": "./dist/playkit-stats-service.js", + "./bookmark-service": "./dist/playkit-bookmark-service.js" }, "scripts": { "serve": "webpack serve --open --mode=development", diff --git a/playkit-analytics-service/package.json b/playkit-analytics-service/package.json deleted file mode 100644 index 67c2172d..00000000 --- a/playkit-analytics-service/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "@playkit-js/playkit-js-providers/playkit-analytics-service", - "main": "../dist/playkit-analytics-service.js", - "sideEffects": false -} diff --git a/playkit-bookmark-service/package.json b/playkit-bookmark-service/package.json deleted file mode 100644 index 625c99d2..00000000 --- a/playkit-bookmark-service/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "@playkit-js/playkit-js-providers/playkit-bookmark-service", - "main": "../dist/playkit-bookmark-service.js", - "sideEffects": false -} diff --git a/playkit-ott-provider/package.json b/playkit-ott-provider/package.json deleted file mode 100644 index 234134fa..00000000 --- a/playkit-ott-provider/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "@playkit-js/playkit-js-providers/playkit-ott-provider", - "main": "../dist/playkit-ott-provider.js", - "sideEffects": false -} diff --git a/playkit-ovp-provider/package.json b/playkit-ovp-provider/package.json deleted file mode 100644 index d0207ca1..00000000 --- a/playkit-ovp-provider/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "@playkit-js/playkit-js-providers/playkit-ovp-provider", - "main": "../dist/playkit-ovp-provider.js", - "sideEffects": false -} diff --git a/playkit-stats-service/package.json b/playkit-stats-service/package.json deleted file mode 100644 index f48e76e5..00000000 --- a/playkit-stats-service/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "@playkit-js/playkit-js-providers/playkit-stats-service", - "main": "../dist/playkit-stats-service.js", - "sideEffects": false -} diff --git a/stats-service/package.json b/stats-service/package.json new file mode 100644 index 00000000..b3363df2 --- /dev/null +++ b/stats-service/package.json @@ -0,0 +1,6 @@ +{ + "name": "@playkit-js/playkit-js-providers/stats-service", + "main": "../dist/playkit-stats-service.js", + "types": "../dist/index.d.ts", + "sideEffects": false +} From b488e467ca961f3e2f5a12e9037138b4312d98d2 Mon Sep 17 00:00:00 2001 From: JonathanTGold Date: Tue, 23 Jan 2024 13:48:18 +0200 Subject: [PATCH 2/2] fix --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index d3fa24f4..c30a3d57 100644 --- a/package.json +++ b/package.json @@ -7,11 +7,11 @@ "dist/**/*", "src/**/*", "flow-typed/**/*", - "playkit-analytics-service/*", - "playkit-bookmark-service/*", - "playkit-ott-provider/*", - "playkit-ovp-provider/*", - "playkit-stats-service/*" + "analytics-service/*", + "bookmark-service/*", + "ott-provider/*", + "ovp-provider/*", + "stats-service/*" ], "exports": { "./ovp-provider": "./dist/playkit-ovp-provider.js",