Skip to content

Commit 87135fc

Browse files
authored
Merge pull request #1432 from nrkno/chore/reformatting-2025
Modernizing Core tech stack
2 parents 6f853de + cf320d0 commit 87135fc

File tree

1,466 files changed

+29008
-29710
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,466 files changed

+29008
-29710
lines changed

.github/PULL-REQUEST-TEMPLATE.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,37 @@ https://nrkno.github.io/sofie-core/docs/for-developers/contribution-guidelines
44
-->
55

66
## About the Contributor
7+
78
<!--
89
Tell us who / which organization you are representing, and how the Sofie team will be able to contact you.
910
Example: "This pull request is posted on behalf of the NRK."
1011
-->
1112

12-
1313
## Type of Contribution
1414

1515
This is a:
16+
1617
<!-- (pick one) -->
17-
Bug fix / Feature / Code improvement / Documentation improvement / Other (please specify)
1818

19+
Bug fix / Feature / Code improvement / Documentation improvement / Other (please specify)
1920

2021
## Current Behavior
22+
2123
<!--
2224
Please describe how things worked before this PR.
2325
If it's a bug fixe: Describe the bug (what was happening?)
2426
-->
2527

26-
2728
## New Behavior
29+
2830
<!--
2931
What is the new behavior?
3032
-->
3133

32-
3334
## Testing
35+
3436
<!--
35-
When you add a feature, you should also provide relevant unit tests, in order to
37+
When you add a feature, you should also provide relevant unit tests, in order to
3638
* ensure that the feature works as expected
3739
* ensure that the feature will continue to work in the future
3840
-->
@@ -50,11 +52,11 @@ Examples:
5052
* This PR affects the playout logic in general.
5153
* This PR affects the timing calculation in the Rundown during playout.
5254
* This PR affects the NRC/MOS integration
53-
*
55+
*
5456
-->
5557

56-
5758
## Time Frame
59+
5860
<!--
5961
Please provide a note about the urgency or development plan for this PR.
6062
Example:
@@ -63,12 +65,12 @@ Example:
6365
* Not urgent, but we would like to get this merged into the in-development release.
6466
-->
6567

66-
6768
## Other Information
68-
<!-- The more information you can provide, the easier the pull request will be to merge -->
6969

70+
<!-- The more information you can provide, the easier the pull request will be to merge -->
7071

7172
## Status
73+
7274
<!--
7375
Before you open the PR, make sure the items below are done.
7476
If they're not, please open the PR as a Draft.

.husky/pre-commit

Lines changed: 0 additions & 4 deletions
This file was deleted.

.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
meteor/.meteor
2+
**/dist/**
3+
4+
**/node_modules/**
5+

.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
"esbenp.prettier-vscode",
55
"sonarsource.sonarlint-vscode"
66
]
7-
}
7+
}

.vscode/launch.json

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5-
"version": "0.2.0",
6-
"configurations": [
7-
{
8-
"type": "pwa-chrome",
9-
"request": "launch",
10-
"name": "Launch Chrome",
11-
"url": "http://localhost:3000/",
12-
"sourceMaps": true,
13-
"webRoot": "${workspaceFolder}/meteor",
14-
"sourceMapPathOverrides": {
15-
"meteor://💻app/*": "${webRoot}/*"
16-
}
17-
},
18-
{
19-
"type": "node",
20-
"request": "attach",
21-
"name": "Attach",
22-
"port": 9229,
23-
"cwd": "${workspaceFolder}/meteor",
24-
"sourceMapPathOverrides": {
25-
"db:///blueprint/*": "${workspaceFolder:Blueprints}/dist/*",
26-
"blueprint:///*": "${workspaceFolder:Blueprints}/*"
27-
},
28-
"outFiles": [
29-
"${workspaceFolder}/**/*.js",
30-
"!**/node_modules/**",
31-
"${workspaceFolder:Blueprints}/dist/*.js",
32-
]
33-
}
34-
]
35-
}
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "pwa-chrome",
9+
"request": "launch",
10+
"name": "Launch Chrome",
11+
"url": "http://localhost:3000/",
12+
"sourceMaps": true,
13+
"webRoot": "${workspaceFolder}/meteor",
14+
"sourceMapPathOverrides": {
15+
"meteor://💻app/*": "${webRoot}/*"
16+
}
17+
},
18+
{
19+
"type": "node",
20+
"request": "attach",
21+
"name": "Attach",
22+
"port": 9229,
23+
"cwd": "${workspaceFolder}/meteor",
24+
"sourceMapPathOverrides": {
25+
"db:///blueprint/*": "${workspaceFolder:Blueprints}/dist/*",
26+
"blueprint:///*": "${workspaceFolder:Blueprints}/*"
27+
},
28+
"outFiles": [
29+
"${workspaceFolder}/**/*.js",
30+
"!**/node_modules/**",
31+
"${workspaceFolder:Blueprints}/dist/*.js"
32+
]
33+
}
34+
]
35+
}

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
* [Changelog for _Sofie Core_](meteor/CHANGELOG.md)
2-
* [_Sofie_ Releases](https://nrkno.github.io/sofie-core/releases)
1+
- [Changelog for _Sofie Core_](meteor/CHANGELOG.md)
2+
- [_Sofie_ Releases](https://nrkno.github.io/sofie-core/releases)

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
Before contributing to this specific repository, please read the [Contribution Guidelines](https://nrkno.github.io/sofie-core/docs/for-developers/contribution-guidelines) for the Sofie project.
44

5-
65
## Branches
6+
77
This repository uses the following branches:
88

9-
* **_master_** is our main branch. We consider it stable and it is used in production.
10-
* The **_releaseXX_** branches are our in-development branches. When a release is ready, we decide to “freeze” that branch and create a new **_releaseXX+1_** branch.
9+
- **_master_** is our main branch. We consider it stable and it is used in production.
10+
- The **_releaseXX_** branches are our in-development branches. When a release is ready, we decide to “freeze” that branch and create a new **_releaseXX+1_** branch.
1111

1212
We require contributions to be based based on the latest **_release\*_** branch.
1313
The [_Sofie Releases_](https://nrkno.github.io/sofie-core/releases) page collects the status and timeline of the releases.

meteor.coverage.json

Lines changed: 42 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,43 @@
11
{
2-
"include": [
3-
],
4-
"exclude": {
5-
"general": [],
6-
"server": [
7-
"**/node_modules/**/*.json",
8-
"**/.!(meteor)*/**",
9-
"**/packages/!(local-test_?*.js)",
10-
"**/+([^:]):+([^:])/**",
11-
"**/@(test|tests|spec|specs)/**",
12-
"**/?(*.)test?(s).?*",
13-
"**/?(*.)spec?(s).?*",
14-
"**/?(*.)app-test?(s).?*",
15-
"**/?(*.)app-spec?(s).?*"
16-
],
17-
"client": [
18-
"**/*.json",
19-
"**/client/stylesheets/**",
20-
"**/.npm/package/node_modules/**",
21-
"**/web.browser/packages/**",
22-
"**/.?*/**",
23-
"**/packages/!(local-test_?*.js)",
24-
"**/+([^:]):+([^:])/**",
25-
"**/@(test|tests|spec|specs)/**",
26-
"**/?(*.)test?(s).?*",
27-
"**/?(*.)spec?(s).?*",
28-
"**/?(*.)app-test?(s).?*",
29-
"**/?(*.)app-spec?(s).?*"
30-
]
31-
},
32-
"remapFormat": ["html", "cobertura", "clover", "json", "json-summary", "lcovonly", "teamcity", "text", "text-summary"],
33-
"output": "./.coverage"
34-
}
2+
"include": [],
3+
"exclude": {
4+
"general": [],
5+
"server": [
6+
"**/node_modules/**/*.json",
7+
"**/.!(meteor)*/**",
8+
"**/packages/!(local-test_?*.js)",
9+
"**/+([^:]):+([^:])/**",
10+
"**/@(test|tests|spec|specs)/**",
11+
"**/?(*.)test?(s).?*",
12+
"**/?(*.)spec?(s).?*",
13+
"**/?(*.)app-test?(s).?*",
14+
"**/?(*.)app-spec?(s).?*"
15+
],
16+
"client": [
17+
"**/*.json",
18+
"**/client/stylesheets/**",
19+
"**/.npm/package/node_modules/**",
20+
"**/web.browser/packages/**",
21+
"**/.?*/**",
22+
"**/packages/!(local-test_?*.js)",
23+
"**/+([^:]):+([^:])/**",
24+
"**/@(test|tests|spec|specs)/**",
25+
"**/?(*.)test?(s).?*",
26+
"**/?(*.)spec?(s).?*",
27+
"**/?(*.)app-test?(s).?*",
28+
"**/?(*.)app-spec?(s).?*"
29+
]
30+
},
31+
"remapFormat": [
32+
"html",
33+
"cobertura",
34+
"clover",
35+
"json",
36+
"json-summary",
37+
"lcovonly",
38+
"teamcity",
39+
"text",
40+
"text-summary"
41+
],
42+
"output": "./.coverage"
43+
}

meteor/.eslintignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

meteor/.eslintrc.js

Lines changed: 0 additions & 107 deletions
This file was deleted.

0 commit comments

Comments
 (0)