Skip to content

Commit ae33558

Browse files
authored
feat: move atem-connection to be a peer-dependency (#19)
1 parent 7a6fdf2 commit ae33558

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"@sofie-automation/code-standard-preset": "^0.2.5",
6363
"@types/jest": "^26.0.23",
6464
"@types/node": "^12.20.12",
65+
"atem-connection": "2.2.2",
6566
"codecov": "^3.8.2",
6667
"jest": "^26.6.3",
6768
"open-cli": "^6",
@@ -77,8 +78,10 @@
7778
"open",
7879
"source"
7980
],
81+
"peerDependencies": {
82+
"atem-connection": "2.2.2"
83+
},
8084
"dependencies": {
81-
"atem-connection": "2.2.2",
8285
"deepmerge": "^4.2.2",
8386
"tslib": "^2.2.0",
8487
"type-fest": "^1.0.2"

src/index.ts

-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,3 @@ export * from './atemState'
22
export * as Defaults from './defaults'
33
export * as Enums from './enums'
44
export * from './state'
5-
6-
// Re-export atem-connection as the version is pinned, and so that users can easily use the same version
7-
import * as AtemConnection from 'atem-connection'
8-
export { AtemConnection }
9-
export { Commands, Enums as AtemEnums } from 'atem-connection'

0 commit comments

Comments
 (0)