nrkno / sofie-mos-connection

Sofie MOS Connection: A Part of the Sofie TV Studio Automation System
https://github.com/nrkno/Sofie-TV-automation/
MIT License
22 stars 14 forks source link

Mono repo #62

Closed nytamin closed 1 year ago

nytamin commented 1 year ago

This PR contains no functional changes, but changes the file-structure into a mono-repo and moves different parts of the code into different packages.

The new packages are:

This will a breaking change, due to changing the npm-lib name.

TODO:

Julusian commented 1 year ago

@nytamin as this is already a breaking change, could we do the proper fix for https://github.com/nrkno/sofie-mos-connection/commit/72aa53a35bc36f479c4db76fbdce26efeed30ca0 and make the DOM field be a string?

codecov-commenter commented 1 year ago

Codecov Report

Base: 85.00% // Head: 76.08% // Decreases project coverage by -8.92% :warning:

Coverage data is based on head (8037b58) compared to base (d5d8e8e). Patch coverage: 77.74% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #62 +/- ## ========================================== - Coverage 85.00% 76.08% -8.92% ========================================== Files 57 62 +5 Lines 2955 3191 +236 Branches 657 721 +64 ========================================== - Hits 2512 2428 -84 - Misses 413 680 +267 - Partials 30 83 +53 ``` | [Impacted Files](https://codecov.io/gh/nrkno/sofie-mos-connection/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nrkno) | Coverage Δ | | |---|---|---| | [packages/connector/src/config/connectionConfig.ts](https://codecov.io/gh/nrkno/sofie-mos-connection/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nrkno#diff-cGFja2FnZXMvY29ubmVjdG9yL3NyYy9jb25maWcvY29ubmVjdGlvbkNvbmZpZy50cw==) | `72.46% <ø> (ø)` | | | [...ckages/connector/src/connection/mosSocketServer.ts](https://codecov.io/gh/nrkno/sofie-mos-connection/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nrkno#diff-cGFja2FnZXMvY29ubmVjdG9yL3NyYy9jb25uZWN0aW9uL21vc1NvY2tldFNlcnZlci50cw==) | `76.81% <ø> (ø)` | | | [...kages/connector/src/connection/socketConnection.ts](https://codecov.io/gh/nrkno/sofie-mos-connection/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nrkno#diff-cGFja2FnZXMvY29ubmVjdG9yL3NyYy9jb25uZWN0aW9uL3NvY2tldENvbm5lY3Rpb24udHM=) | `100.00% <ø> (ø)` | | | [packages/helper/src/mosModel/lib.ts](https://codecov.io/gh/nrkno/sofie-mos-connection/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nrkno#diff-cGFja2FnZXMvaGVscGVyL3NyYy9tb3NNb2RlbC9saWIudHM=) | `100.00% <ø> (ø)` | | | [packages/helper/src/mosModel/profile0/index.ts](https://codecov.io/gh/nrkno/sofie-mos-connection/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nrkno#diff-cGFja2FnZXMvaGVscGVyL3NyYy9tb3NNb2RlbC9wcm9maWxlMC9pbmRleC50cw==) | `100.00% <ø> (ø)` | | | [packages/helper/src/mosModel/profile1/index.ts](https://codecov.io/gh/nrkno/sofie-mos-connection/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nrkno#diff-cGFja2FnZXMvaGVscGVyL3NyYy9tb3NNb2RlbC9wcm9maWxlMS9pbmRleC50cw==) | `100.00% <ø> (ø)` | | | [packages/helper/src/mosModel/profile2/ROList.ts](https://codecov.io/gh/nrkno/sofie-mos-connection/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nrkno#diff-cGFja2FnZXMvaGVscGVyL3NyYy9tb3NNb2RlbC9wcm9maWxlMi9ST0xpc3QudHM=) | `28.57% <0.00%> (ø)` | | | [packages/helper/src/mosModel/profile2/ROListAll.ts](https://codecov.io/gh/nrkno/sofie-mos-connection/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nrkno#diff-cGFja2FnZXMvaGVscGVyL3NyYy9tb3NNb2RlbC9wcm9maWxlMi9ST0xpc3RBbGwudHM=) | `28.57% <0.00%> (ø)` | | | [.../helper/src/mosModel/profile2/roMetadataReplace.ts](https://codecov.io/gh/nrkno/sofie-mos-connection/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nrkno#diff-cGFja2FnZXMvaGVscGVyL3NyYy9tb3NNb2RlbC9wcm9maWxlMi9yb01ldGFkYXRhUmVwbGFjZS50cw==) | `40.00% <0.00%> (ø)` | | | [packages/helper/src/mosModel/profile2/roReplace.ts](https://codecov.io/gh/nrkno/sofie-mos-connection/pull/62?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nrkno#diff-cGFja2FnZXMvaGVscGVyL3NyYy9tb3NNb2RlbC9wcm9maWxlMi9yb1JlcGxhY2UudHM=) | `33.33% <0.00%> (ø)` | | | ... and [70 more](https://codecov.io/gh/nrkno/sofie-mos-connection/pull/62?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nrkno) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nrkno). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nrkno)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.