Skip to content

Commit 4257c76

Browse files
committed
Merge branch 'release53' into feat/kairos-connection
2 parents 450c7c5 + dddc23e commit 4257c76

File tree

36 files changed

+3576
-2840
lines changed

36 files changed

+3576
-2840
lines changed

.github/workflows/node.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- quick-tsr
2626

2727
steps:
28-
- uses: actions/checkout@v5
28+
- uses: actions/checkout@v6
2929
with:
3030
persist-credentials: false
3131
- name: Use Node.js
@@ -54,7 +54,7 @@ jobs:
5454
timeout-minutes: 15
5555

5656
steps:
57-
- uses: actions/checkout@v5
57+
- uses: actions/checkout@v6
5858
with:
5959
persist-credentials: false
6060
- name: Use Node.js
@@ -90,7 +90,7 @@ jobs:
9090
# - timeline-state-resolver-api
9191

9292
steps:
93-
- uses: actions/checkout@v5
93+
- uses: actions/checkout@v6
9494
with:
9595
persist-credentials: false
9696
- name: Use Node.js ${{ matrix.node-version }}
@@ -136,7 +136,7 @@ jobs:
136136
# - validate-dependencies
137137

138138
steps:
139-
- uses: actions/checkout@v5
139+
- uses: actions/checkout@v6
140140
with:
141141
fetch-depth: 0
142142
persist-credentials: false
@@ -212,7 +212,7 @@ jobs:
212212
- timeline-state-resolver-api
213213

214214
steps:
215-
- uses: actions/checkout@v5
215+
- uses: actions/checkout@v6
216216
with:
217217
persist-credentials: false
218218
- name: Use Node.js
@@ -252,7 +252,7 @@ jobs:
252252
- timeline-state-resolver-api
253253

254254
steps:
255-
- uses: actions/checkout@v5
255+
- uses: actions/checkout@v6
256256
with:
257257
persist-credentials: false
258258
- name: Use Node.js

.github/workflows/prune-tags.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
timeout-minutes: 15
2222
steps:
2323
- name: Checkout repo with all tags
24-
uses: actions/checkout@v5
24+
uses: actions/checkout@v6
2525
with:
2626
fetch-depth: 0
2727
persist-credentials: false

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
# - timeline-state-resolver-api
6262

6363
steps:
64-
- uses: actions/checkout@v5
64+
- uses: actions/checkout@v6
6565
with:
6666
persist-credentials: false
6767
- name: Use Node.js ${{ matrix.node-version }}
@@ -92,7 +92,7 @@ jobs:
9292
if: ${{ needs.check-publish.outputs.can-publish == '1' }}
9393

9494
steps:
95-
- uses: actions/checkout@v5
95+
- uses: actions/checkout@v6
9696
with:
9797
fetch-depth: 0
9898
persist-credentials: false

.github/workflows/sonar.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
if: ${{ github.repository_owner == 'Sofie-Automation' }}
1616

1717
steps:
18-
- uses: actions/checkout@v5
18+
- uses: actions/checkout@v6
1919
with:
2020
# Disabling shallow clone is recommended for improving relevancy of reporting
2121
fetch-depth: 0

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,18 @@ Contrary to what your editor might say, the typings-only library cannot use depe
4646

4747
Check the main [timeline-state-resolver](/packages/timeline-state-resolver) package for instructions on using the library and more information
4848

49+
If you are using a TSR plugin in your own project, you can easily extend the TSR types to include your own device by adding a file into your project like `tsr-extend.d.ts`:
50+
51+
```ts
52+
import type { FakeDeviceType, TimelineContentFakeAny } from './test-types.js'
53+
54+
declare module 'timeline-state-resolver-types' {
55+
interface TimelineContentMap {
56+
[FakeDeviceType]: TimelineContentFakeAny
57+
}
58+
}
59+
```
60+
4961
## Development
5062

5163
When creating features that span the timeline-state-resolver and timeline-state-resolver-types packages - such as when creating a PR for supporting a new device - you will need to link the two packages together. To do that, after checking out a branch run:

package.json

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,24 +37,21 @@
3737
"devDependencies": {
3838
"@sofie-automation/code-standard-preset": "~2.5.2",
3939
"@types/debug": "^4.1.12",
40-
"@types/jest": "^29.5.12",
41-
"@types/node": "^20.19.10",
42-
"@types/semver": "^7",
40+
"@types/jest": "^30.0.0",
41+
"@types/node": "^20.19.25",
42+
"@types/semver": "^7.7.1",
4343
"@types/sprintf-js": "^1.1.4",
44-
"@types/underscore": "^1.11.15",
45-
"@types/ws": "^8.5.12",
46-
"conventional-changelog-conventionalcommits": "^4.6.3",
47-
"jest": "^29.7.0",
48-
"lerna": "^9.0.0",
49-
"open-cli": "^7.2.0",
50-
"rimraf": "^5.0.10",
44+
"@types/underscore": "^1.13.0",
45+
"@types/ws": "^8.18.1",
46+
"jest": "^30.2.0",
47+
"lerna": "^9.0.1",
48+
"open-cli": "^8.0.0",
49+
"rimraf": "^6.1.2",
5150
"semver": "^7.7.3",
52-
"symlink-dir": "^5.2.1",
53-
"ts-jest": "^29.2.4",
54-
"ts-node": "^8.10.2",
55-
"typedoc": "^0.23.28",
51+
"ts-jest": "^29.4.5",
52+
"typedoc": "^0.26.11",
5653
"typescript": "~5.1"
5754
},
5855
"prettier": "@sofie-automation/code-standard-preset/.prettierrc.json",
59-
"packageManager": "yarn@4.10.3"
56+
"packageManager": "yarn@4.12.0"
6057
}

packages/quick-tsr/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"lint": "run lint:raw .",
3030
"lint-fix": "run lint --fix",
3131
"inspect": "node --inspect dist/index.js",
32-
"start": "run -T ts-node src/index.ts",
32+
"start": "tsx src/index.ts",
3333
"validate:dependencies": "yarn npm audit --environment production && run license-validate",
3434
"validate:dev-dependencies": "yarn npm audit --environment development",
3535
"license-validate": "run -T sofie-licensecheck",
@@ -63,10 +63,13 @@
6363
"dependencies": {
6464
"chokidar": "^3.6.0",
6565
"fast-clone": "^1.5.13",
66-
"threadedclass": "^1.2.2",
66+
"threadedclass": "^1.3.0",
6767
"timeline-state-resolver": "10.0.0-release53",
6868
"timeline-state-resolver-types": "10.0.0-release53",
69-
"tslib": "^2.6.3",
69+
"tslib": "^2.8.1",
7070
"underscore": "^1.13.7"
71+
},
72+
"devDependencies": {
73+
"tsx": "^4.20.6"
7174
}
7275
}

packages/timeline-state-resolver-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"production"
8181
],
8282
"dependencies": {
83-
"tslib": "^2.6.3"
83+
"tslib": "^2.8.1"
8484
},
8585
"peerDependencies": {
8686
"timeline-state-resolver-types": "10.0.0-release53"

packages/timeline-state-resolver-tools/bin/schema-deref.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import * as fs from 'fs/promises'
44
import * as path from 'path'
5-
import $RefParser from 'json-schema-ref-parser'
5+
import $RefParser from '@apidevtools/json-schema-ref-parser'
66
import meow from 'meow'
77

88
/** ********************************************************

packages/timeline-state-resolver-tools/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@
7979
"production"
8080
],
8181
"dependencies": {
82-
"i18next-conv": "^13.1.1",
83-
"i18next-parser": "^6.6.0",
84-
"json-schema-ref-parser": "^9.0.9",
85-
"json-schema-to-typescript": "^10.1.5",
86-
"meow": "^11.0.0",
87-
"vinyl-fs": "^3.0.3"
82+
"@apidevtools/json-schema-ref-parser": "^15.1.2",
83+
"i18next-conv": "^16.0.0",
84+
"i18next-parser": "^9.3.0",
85+
"json-schema-to-typescript": "^15.0.4",
86+
"meow": "^14.0.0",
87+
"vinyl-fs": "^4.0.2"
8888
},
8989
"publishConfig": {
9090
"access": "public"

0 commit comments

Comments
 (0)